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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js

Issue 1954153002: Revert of Import web-platform-tests@88b9a65ce806b5f67e0a535bf2f1602c2df6af58 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/imported/web-platform-tests/html/dom/elements-tabular.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js
index ac38b335c3796b23567300f55749a9a97caec102..9feff99f105fc30dd7254d36fd29967776c69ab2 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/elements-tabular.js
@@ -74,8 +74,6 @@
colSpan: {type: "unsigned long", defaultVal: 1},
rowSpan: {type: "unsigned long", defaultVal: 1},
headers: "settable tokenlist",
- scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
- abbr: "string",
// HTMLTableCellElement (Obsolete)
align: "string",
@@ -87,14 +85,15 @@
noWrap: "boolean",
vAlign: "string",
bgColor: {type: "string", treatNullAsEmptyString: true},
+
+ // HTMLTableDataCellElement (Obsolete)
+ abbr: "string",
},
th: {
// HTMLTableCellElement (Conforming)
colSpan: {type: "unsigned long", defaultVal: 1},
rowSpan: {type: "unsigned long", defaultVal: 1},
headers: "settable tokenlist",
- scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
- abbr: "string",
// HTMLTableCellElement (Obsolete)
align: "string",
@@ -106,6 +105,15 @@
noWrap: "boolean",
vAlign: "string",
bgColor: {type: "string", treatNullAsEmptyString: true},
+
+ // HTMLTableHeaderCellElement (Conforming)
+ // TODO: double-check that the way we're treating missing value
+ // defaults is consistent here. scope has an auto state with no
+ // associated keyword, which is the missing value default -- is this
+ // the right syntax for that?
+ scope: {type: "enum", keywords: ["row", "col", "rowgroup", "colgroup"]},
+ abbr: "string",
+ sorted: "string",
},
};

Powered by Google App Engine
This is Rietveld 408576698