Chromium Code Reviews

Unified Diff: LayoutTests/fast/table/table-display-inline.html

Issue 23628004: Tables with display:inline rendered in wrong position. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/table/table-display-inline.html
diff --git a/LayoutTests/fast/table/table-display-inline.html b/LayoutTests/fast/table/table-display-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..c8208d33590b76ea4eafa30b01c69b324c4d3e56
--- /dev/null
+++ b/LayoutTests/fast/table/table-display-inline.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+<h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=53693">53693</a>. Tables with display:inline rendered in wrong position.</h3>
+<h4>Table was created as Inline renderer and another table renderer is created for table's content. So It was displayed as block element and all it's style properties also associated with inline renderer and was not applied to table.</h4>
+The two blocks below should present in same row, first block with green background color and second block with blue background color.
+<br/><br/>
+
+<table style="display:inline; background: green; width: 100px;">
+<tr><td>inline table 1</td></tr>
+</table>
+
+<table style="display:inline; background: blue; width: 100px;">
+<tr><td>inline table 2</td></tr>
+</table>
+
+</body>
+</html>

Powered by Google App Engine