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

Side by Side Diff: LayoutTests/fast/block/float/float-on-clean-line.html

Issue 1306733003: Don't add floats on clean lines to new lineboxes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-on-clean-line-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 img { padding-right: 100%; height: 20px; }
4 source { padding-right: 1px; }
5 img:nth-child(odd) { width: 5px; }
6 #area { float: right; width: 10px; }
7 </style>
8 <script src="../../../resources/check-layout.js"></script>
9 <script>
10 function boom() {
11 firstdiv = document.createElement('div');
12 document.body.appendChild(firstdiv);
13 firstdiv.setAttribute("id", "first");
14 firstdiv.setAttribute("data-expected-height", "0");
15
16 seconddiv = document.createElement('div');
17 document.body.appendChild(seconddiv);
18
19 img = document.createElement('img');
20 document.body.appendChild(img);
21
22 div = document.createElement('div');
23 div.setAttribute('id', 'area');
24 document.body.appendChild(div);
25
26 source = document.createElement('source');
27 document.body.appendChild(source);
28
29 document.body.offsetTop;
30 document.body.removeChild(seconddiv);
31 checkLayout('#first')
32 }
33 window.onload = boom;
34 </script>
35 <!-- crbug.com/492918 : Floats on clean lines should stay with them. -->
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-on-clean-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698