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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/span/offset-properties-empty-content.html

Issue 2274683002: Don't skip column set interval tree search for flow thread offset == 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/LayoutMultiColumnFlowThread.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 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <div style="position:relative; border:10px solid; columns:3; column-gap:0; colum n-fill:auto; width:300px;">
5 <div></div>
6 <!-- In front of the spanner there's only a zero-height DIV. This does still count as column
7 content, and we'll therefore establish a zero-height column set in fron t of the spanner, as
8 well as one after it (which happens to have non-zero-height content). N o flow thread offset
9 should map to the first column set, since it's completely empty. -->
10 <div style="column-span:all; height:50px;"></div>
11 <div id="elm1" style="height:100px;"></div>
12 <div id="elm2" style="height:100px;"></div>
13 <div id="elm3" style="height:100px;"></div>
14 </div>
15 <script>
16 test(function() {
17 assert_equals(document.getElementById('elm1').offsetTop, 50);
18 assert_equals(document.getElementById('elm2').offsetTop, 50);
19 assert_equals(document.getElementById('elm3').offsetTop, 50);
20 }, "columns following a spanner following empty content");
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698