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

Side by Side Diff: LayoutTests/fast/dom/offset-position-writing-modes.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <script src="../../fast/js/resources/js-test-pre.js"></script> 1 <script src="../../fast/js/resources/js-test-pre.js"></script>
2 <div style="position:relative"> 2 <div style="position:relative">
3 <div style="-webkit-writing-mode: vertical-rl; background-color: green; width: 1 00px; height: 100px;"> 3 <div style="-webkit-writing-mode: vertical-rl; background-color: green; width: 1 00px; height: 100px;">
4 <div style="width: 5px"></div> 4 <div style="width: 5px"></div>
5 <div id=vertical style="background-color: yellow; width: 10px; position: rel ative; left: -20px;"></div> 5 <div id=vertical style="background-color: yellow; width: 10px; position: rel ative; left: -20px;"></div>
6 </div> 6 </div>
7 </div> 7 </div>
8 8
9 <div style="position:relative"> 9 <div style="position:relative">
10 <div style="-webkit-writing-mode: horizontal-bt; background-color: red; width: 1 00px; height: 100px;"> 10 <div style="-webkit-writing-mode: horizontal-bt; background-color: red; width: 1 00px; height: 100px;">
11 <div style="height: 5px"></div> 11 <div style="height: 5px"></div>
12 <div id=horizontal style="background-color: orange; height: 10px; position: relative; top: -20px;"></div> 12 <div id=horizontal style="background-color: orange; height: 10px; position: relative; top: -20px;"></div>
13 </div> 13 </div>
14 </div> 14 </div>
15 15
16 <pre id=console></pre> 16 <pre id=console></pre>
17 17
18 <script> 18 <script>
19 shouldBe('document.getElementById("vertical").offsetLeft', '65'); 19 shouldBe('document.getElementById("vertical").offsetLeft', '65');
20 shouldBe('document.getElementById("horizontal").offsetTop', '65'); 20 shouldBe('document.getElementById("horizontal").offsetTop', '65');
21 </script> 21 </script>
22 <script src="../../fast/js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698