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

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

Issue 895953003: Insert an anonymous inline-table when inserting a table part under an inline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review - lump similar tests together in one file. 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-row child of an inline is wrapped inside an inline-table (a nd table-row-group).</p>
4 <span style="display:inline-block;">
5 <div id="first" style="display:table-row; color:blue; background:blue;"><div style="width:1em; height:1em;"></div></div>
6 There should be one blue box above and one below this line.
7 <div id="last" style="display:table-row; color:blue; background:blue;"><div style="width:1em; height:1em;"></div></div>
8 </span>
9 <div id="console"></div>
10 <script>
11 var firstBottom = document.getElementById('first').getClientRects()[0].botto m;
12 var lastTop = document.getElementById('last').getClientRects()[0].top;
13 shouldBeGreaterThan("lastTop", "firstBottom");
14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/display-as-inline-expected.txt ('k') | LayoutTests/fast/table/row-in-inline-block-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698