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

Side by Side Diff: LayoutTests/fast/runin/run-in-parent-add-child.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' green box, followed by 'B' orange box, followed by 'C' purple box in th e same line. -->
5 <style>
6 .runin { display: run-in; color: green; }
7 </style>
8 </head>
9 <body>
10 <div>
11 <div class="runin">A</div>
12 <div id="test" style="color: purple">C</div>
13 </div>
14 </body>
15 <script>
16 document.body.offsetTop;
17 test = document.getElementById('test');
18 span = document.createElement('span');
19 span.appendChild(document.createTextNode('B'));
20 span.style.color = 'orange';
21 test.insertBefore(span, test.firstChild);
22 </script>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698