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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/tabular-data/historical.html

Issue 2342603002: Import focus-manual.html from W3C. (Closed)
Patch Set: Modify the result of an imported test. Created 4 years, 3 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/wpt/html/semantics/tabular-data/historical.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/tabular-data/historical.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/tabular-data/historical.html
new file mode 100644
index 0000000000000000000000000000000000000000..a6be56e13dcf7bef6dbf8ba4402e6e569d6408cc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/tabular-data/historical.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<title>Historical table features should not be supported</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<div id=log></div>
+<script>
+function t(property, tagNames) {
+ if (typeof tagNames === "string") {
+ tagNames = [tagNames];
+ }
+ tagNames.forEach(function(tagName) {
+ test(function() {
+ assert_false(property in document.createElement(tagName));
+ }, tagName + '.' + property + ' should not be supported');
+ });
+}
+
+// added in https://github.com/whatwg/html/commit/6db0d8d4e3456140de958c963afe9bb9ec7b6a25
+// removed in https://github.com/whatwg/html/commit/59b7e2466c2b7c5c408a4963b05b13fd808aa07a
+t('onsort', 'table');
+t('sortable', 'table');
+t('stopSorting', 'table');
+t('sorted', 'th');
+t('sort', 'th');
+</script>

Powered by Google App Engine
This is Rietveld 408576698