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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/float/relayout-nested-float-after-line.html

Issue 2686913002: Stay within the containing block when looking for a line to dirty. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/LineBoxList.cpp » ('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 <p>The word "BONZER" should be adjacent to the hotpink square.</p>
3 <div style="position:relative; overflow:hidden;">
4 &nbsp;
5 <div style="float:left; width:100%; height:1px;"></div>
6 <div style="float:left; width:100%;">
7 <div id="innerFloat" style="float:left; width:666px; height:20px; backgr ound:hotpink;"></div>
8 <span id="targetSpan">BONZER<br></span>
9 </div>
10 </div>
11 <script src="../../../resources/testharness.js"></script>
12 <script src="../../../resources/testharnessreport.js"></script>
13 <script>
14 test(() => {
15 document.body.offsetTop;
16 innerFloat.style.width = "20px";
17 assert_equals(targetSpan.offsetLeft, 20);
18 }, "Resize inner float next to line");
19 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/LineBoxList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698