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

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

Issue 253313005: 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, 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 <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 line.</p>
18 <div id="container">
19 <strong></strong>
20 <p></p>
21 <dd id="floater"></dd>
22 <br>
23 </div>
24 <script>
25 document.body.offsetTop;
26 document.getElementById('floater').style.float = 'right';
27 </script>
28 </body>
29
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698