mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0
This commit is contained in:
parent
d00639c55f
commit
3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue