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

Side by Side Diff: LayoutTests/fast/block/do-not-strip-anonymous-blocks-when-block-child-becomes-float-and-continuation-on-line.html

Issue 349103002: Revert of Strip anonymous blocks when change in style removes need for them (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 6 months 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 <style>
3 body {
4 margin: 0;
5 padding: 0;
6 }
7 #container {
8 position: relative;
9 background: #ccc;
10 font: 20px Ahem;
11 }
12 #floater {
13 float: none;
14 }
15 </style>
16 <body>
17 <p> When a block element becomes a float we should not strip anonymous block s wrapping its inline siblings if there are other blocks on the
18 line. In this test case, the block is wrapped in an anonymous block as p art of a continuation.</p>
19 <div id="container">
20 <span>
21 <p>Text</p>
22 </span>
23 <dd id="floater"></dd>
24 </div>
25 <script>
26 document.body.offsetTop;
27 document.getElementById('floater').style.float = 'right';
28 </script>
29 </body>
30
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698