Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: LayoutTests/fast/runin/insert-before-run-in.html

Issue 53373003: Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;">
3 <!-- WebKit bug 86387 - Move run-in handling to addChild, instead of in layout. -->
4 <!-- 'A' should be on its own line, followed by run-in 'B' and 'C' in the next l ine -->
5 <style>
6 .runin { display: run-in; }
7 </style>
8 </head>
9 <body>
10 <div>
11 <div id="div3" style="color: purple">C</div>
12 </div>
13 </body>
14 <script>
15 document.body.offsetTop;
16 div1 = document.createElement('div');
17 div1.setAttribute('class', 'runin');
18 div1.style.color = 'green';
19 div1.appendChild(document.createTextNode('A'));
20 div2 = document.createElement('div');
21 div2.setAttribute('class', 'runin');
22 div2.style.color = 'orange';
23 div2.appendChild(document.createTextNode('B'));
24 div3 = document.getElementById('div3');
25 document.body.offsetTop;
26 div3.parentNode.insertBefore(div2, div3);
27 document.body.offsetTop;
28 div3.parentNode.insertBefore(div1, div2);
29 </script>
30 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/runin/input-text-runin-expected.txt ('k') | LayoutTests/fast/runin/insert-before-run-in-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698