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

Side by Side Diff: LayoutTests/fast/dom/rtl-in-right-aligned-div.html

Issue 766223004: Blocks should be aligned by style of parents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <div align="right">
4 <table dir="rtl" border="1" id="rtl_table">
5 <tr><td></td><td></td><td></td></tr>
6 </table>
7 <table border="1" id="ltr_table">
8 <tr><td></td><td></td><td></td></tr>
9 </table>
10 <div dir="rtl" style="border:1px black solid;width:50px;height:50px" id="rtl_d iv"></div>
11 <div style="border:1px black solid;width:50px;height:50px" id="ltr_div"></div>
12 </div>
13 <script>
14 rtl_table_in_right_aligned_div = document.getElementById("rtl_table");
mstensho (USE GERRIT) 2014/12/04 12:18:29 Might as well use the short name in the variable n
Kyungtae Kim 2014/12/08 07:00:13 Done.
15 ltr_table_in_right_aligned_div = document.getElementById("ltr_table");
16 rtl_div_in_right_aligned_div = document.getElementById("rtl_div");
17 ltr_div_in_right_aligned_div = document.getElementById("ltr_div");
18 shouldBe("rtl_table_in_right_aligned_div.getBoundingClientRect().right","792") ;
19 shouldBe("ltr_table_in_right_aligned_div.getBoundingClientRect().right","792") ;
20 shouldBe("rtl_div_in_right_aligned_div.getBoundingClientRect().right","792");
21 shouldBe("ltr_div_in_right_aligned_div.getBoundingClientRect().right","792");
22 </script>
23
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/rtl-in-right-aligned-div-expected.txt » ('j') | Source/core/rendering/RenderBox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698