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

Side by Side Diff: LayoutTests/fast/multicol/vertical-rl/client-rect-after-spanner.html

Issue 1190153002: Make mapLocalToContainer() work properly for content that follows a column spanner. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description("Test that getBoundingClientRect works as expected on content af ter a spanner, writing-mode is vertical-rl");
5 </script>
6 <div style="-webkit-column-count:3; -webkit-column-gap:16px; -webkit-writing-mod e:vertical-rl; position:absolute; top:100px; left:100px; line-height:50px; heigh t:332px;">
7 <br><br><br><br><br>
8 <div style="-webkit-column-span:all; height:20px;"></div>
9 <div id="elm1"><br></div>
10 <div id="elm2"><br></div>
11 <div id="elm3"><br></div>
12 <div id="elm4"><br></div>
13 <div id="elm5"><br></div>
14 </div>
15 <script>
16 shouldBe("document.getElementById('elm1').getBoundingClientRect().left", "15 0");
17 shouldBe("document.getElementById('elm1').getBoundingClientRect().top", "100 ");
18 shouldBe("document.getElementById('elm2').getBoundingClientRect().left", "10 0");
19 shouldBe("document.getElementById('elm2').getBoundingClientRect().top", "100 ");
20 shouldBe("document.getElementById('elm3').getBoundingClientRect().left", "15 0");
21 shouldBe("document.getElementById('elm3').getBoundingClientRect().top", "216 ");
22 shouldBe("document.getElementById('elm4').getBoundingClientRect().left", "10 0");
23 shouldBe("document.getElementById('elm4').getBoundingClientRect().top", "216 ");
24 shouldBe("document.getElementById('elm5').getBoundingClientRect().left", "15 0");
25 shouldBe("document.getElementById('elm5').getBoundingClientRect().top", "332 ");
26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698