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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-at-boundaries-nested.html

Issue 2345583004: Add PageBoundaryRule parameter to fragmentainerGroupAtFlowThreadOffset(). (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/offset-top-and-left-at-boundaries-nested.html » ('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; writing-mode:vertical-lr; columns:3; column-fill: auto; column-gap:10px; width:100px; height:350px;">
5 <div style="columns:2; column-gap:10px;">
6 <div id="first" style="width:100px;"></div>
7 <div id="second" style="width:100px;"></div>
8 <div id="third" style="width:100px;"></div>
9 <div id="fourth" style="width:100px;"></div>
10 </div>
11 <div style="columns:2; column-gap:10px;">
12 <div id="fifth" style="width:100px;"></div>
13 <div id="sixth" style="width:100px;"></div>
14 </div>
15 </div>
16
17 <script>
18 test(function() {
19 assert_equals(document.getElementById('first').offsetLeft, 0);
20 assert_equals(document.getElementById('first').offsetTop, 0);
21 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, fir st element");
22
23 test(function() {
24 assert_equals(document.getElementById('second').offsetLeft, 0);
25 assert_equals(document.getElementById('second').offsetTop, 60);
26 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, sec ond element");
27
28 test(function() {
29 assert_equals(document.getElementById('third').offsetLeft, 0);
30 assert_equals(document.getElementById('third').offsetTop, 120);
31 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, thi rd element");
32
33 test(function() {
34 assert_equals(document.getElementById('fourth').offsetLeft, 0);
35 assert_equals(document.getElementById('fourth').offsetTop, 180);
36 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, fou rth element");
37
38 test(function() {
39 assert_equals(document.getElementById('fifth').offsetLeft, 0);
40 assert_equals(document.getElementById('fifth').offsetTop, 240);
41 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, fif th element");
42
43 test(function() {
44 assert_equals(document.getElementById('sixth').offsetLeft, 0);
45 assert_equals(document.getElementById('sixth').offsetTop, 300);
46 }, "offsetLeft and offsetTop in vertical-rl at nested column boundaries, six th element");
47 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/offset-top-and-left-at-boundaries-nested.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698