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

Side by Side Diff: LayoutTests/fast/table/table-parts-in-inline.html

Issue 927653002: Revert of Insert an anonymous inline-table when inserting a table part under an inline. (patchset #… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <p>Test that a table part child of an inline is wrapped inside an inline-table.< /p>
4 <div id="cell" class="test">
5 <span class="first">This</span> text
6 <span>
7 should be
8 <div style="display:table-cell;">on</div>
9 one
10 </span>
11 <span class="last">line.</span>
12 </div>
13 <div id="row" class="test">
14 <span class="first">This</span> text
15 <span>
16 should be
17 <div style="display:table-row;">on</div>
18 one
19 </span>
20 <span class="last">line.</span>
21 </div>
22 <div id="row-group" class="test">
23 <span class="first">This</span> text
24 <span>
25 should be
26 <div style="display:table-row-group;">on</div>
27 one
28 </span>
29 <span class="last">line.</span>
30 </div>
31 <div id="console"></div>
32 <script>
33 var tests = document.querySelectorAll(".test");
34 for (var i = 0; i < tests.length; i++) {
35 debug("Testing " + tests[i].id + ":");
36 var id = "#" + tests[i].id;
37 var firstTop = document.querySelector(id + ' > .first').getClientRects() [0].top;
38 var lastTop = document.querySelector(id + ' > .last').getClientRects()[0 ].top;
39 shouldBe("firstTop", "lastTop");
40 }
41 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/row-in-inline-block-expected.txt ('k') | LayoutTests/fast/table/table-parts-in-inline-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698