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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html

Issue 1612273002: Don't force display:table-cell and float:none on table cell elements when in quirks mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html b/third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html
index 0750ad93295021108e83b719fdd6f9b1318419c7..1496546767cefcd347958ea56e150b3768473aa9 100644
--- a/third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html
+++ b/third_party/WebKit/LayoutTests/fast/table/quirks-mode-ignore-display-inline-table.html
@@ -4,7 +4,7 @@
<table id="table" style="display:inline">
<thead id="thead" style="display:inline-table">
<tr id="tr1" style="display:inline-block">
- <td id="td1"></td>
+ <td id="td1" style="display:block; float:left"></td>
</tr>
</thead>
<tbody id="tbody" style="display:block">
@@ -18,7 +18,8 @@ test(function() {
assert_equals(getComputedStyle(table).display, "inline");
assert_equals(getComputedStyle(thead).display, "inline-table");
assert_equals(getComputedStyle(tr1).display, "inline-block");
- assert_equals(getComputedStyle(td1).display, "table-cell");
+ assert_equals(getComputedStyle(td1).display, "block");
+ assert_equals(getComputedStyle(td1).float, "left");
assert_equals(getComputedStyle(tbody).display, "block");
assert_equals(getComputedStyle(tr2).display, "table");
assert_equals(getComputedStyle(tr3).display, "table-row-group");

Powered by Google App Engine
This is Rietveld 408576698