зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1481981 [wpt PR 12364] - Move inert tests to top level directory and rename with .tentative, a=testonly
Automatic update from web-platform-testsMove inert tests to top level directory and rename with .tentative Remove duplicate test which ended up in editing/focus/inert. Bug: 692360 Change-Id: I25571a7e731cd8ce5f1fce85e9d246939b78690b Reviewed-on: https://chromium-review.googlesource.com/1168267 Commit-Queue: Alice Boxhall <aboxhall@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#587399} -- wpt-commits: 12c5fcbd23df121c4d3d540c7af16dd51c6d5cda wpt-pr: 12364 --HG-- rename : testing/web-platform/tests/dom/inert/inert-does-not-match-disabled-selector.html => testing/web-platform/tests/inert/inert-does-not-match-disabled-selector.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-in-shadow-dom.html => testing/web-platform/tests/inert/inert-in-shadow-dom.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-inlines.html => testing/web-platform/tests/inert/inert-inlines.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-label-focus.html => testing/web-platform/tests/inert/inert-label-focus.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-node-is-uneditable.html => testing/web-platform/tests/inert/inert-node-is-uneditable.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-node-is-unfocusable.html => testing/web-platform/tests/inert/inert-node-is-unfocusable.tentative.html rename : testing/web-platform/tests/html/editing/focus/inert/inert-node-is-unselectable.html => testing/web-platform/tests/inert/inert-node-is-unselectable.tentative.html
This commit is contained in:
Родитель
fc4c221649
Коммит
452495ca62
|
@ -340761,12 +340761,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"dom/inert/inert-does-not-match-disabled-selector.html": [
|
||||
[
|
||||
"/dom/inert/inert-does-not-match-disabled-selector.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"dom/interface-objects.html": [
|
||||
[
|
||||
"/dom/interface-objects.html",
|
||||
|
@ -356671,52 +356665,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-does-not-match-disabled-selector.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-does-not-match-disabled-selector.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-in-shadow-dom.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-in-shadow-dom.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-inlines.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-inlines.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-label-focus.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-label-focus.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-uneditable.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-node-is-uneditable.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-unfocusable.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-node-is-unfocusable.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-unselectable.html": [
|
||||
[
|
||||
"/html/editing/focus/inert/inert-node-is-unselectable.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/focus/processing-model/focus-fixup-rule-one-no-dialogs.html": [
|
||||
[
|
||||
"/html/editing/focus/processing-model/focus-fixup-rule-one-no-dialogs.html",
|
||||
|
@ -367127,6 +367075,52 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"inert/inert-does-not-match-disabled-selector.tentative.html": [
|
||||
[
|
||||
"/inert/inert-does-not-match-disabled-selector.tentative.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"inert/inert-in-shadow-dom.tentative.html": [
|
||||
[
|
||||
"/inert/inert-in-shadow-dom.tentative.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"inert/inert-inlines.tentative.html": [
|
||||
[
|
||||
"/inert/inert-inlines.tentative.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"inert/inert-label-focus.tentative.html": [
|
||||
[
|
||||
"/inert/inert-label-focus.tentative.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"inert/inert-node-is-uneditable.tentative.html": [
|
||||
[
|
||||
"/inert/inert-node-is-uneditable.tentative.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"inert/inert-node-is-unfocusable.tentative.html": [
|
||||
[
|
||||
"/inert/inert-node-is-unfocusable.tentative.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"inert/inert-node-is-unselectable.tentative.html": [
|
||||
[
|
||||
"/inert/inert-node-is-unselectable.tentative.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"infrastructure/assumptions/html-elements.html": [
|
||||
[
|
||||
"/infrastructure/assumptions/html-elements.html",
|
||||
|
@ -584182,10 +584176,6 @@
|
|||
"921fa07b3f6de0f9a579b75b14d6509039765205",
|
||||
"testharness"
|
||||
],
|
||||
"dom/inert/inert-does-not-match-disabled-selector.html": [
|
||||
"74b8ac3f7dd5c3447bf47fd732fade9220497c93",
|
||||
"testharness"
|
||||
],
|
||||
"dom/interface-objects.html": [
|
||||
"936d63517eada5521f814fabdbd785a57b9640b2",
|
||||
"testharness"
|
||||
|
@ -599370,34 +599360,6 @@
|
|||
"d63362aaa1828f35de410b56c1ccc2d7869a111e",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-does-not-match-disabled-selector.html": [
|
||||
"defc7cd6c49da58e49bff8e59a79f4a7dd4ff2c6",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-in-shadow-dom.html": [
|
||||
"36c962b1fc7d50cb6cb46e7d79d9435323e64ad9",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-inlines.html": [
|
||||
"b056c6495d2c54733bee6ab796332ba89f01b379",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-label-focus.html": [
|
||||
"8bbe1eca15c7d8f2f9fd5ea48c33cd0a5d5098e0",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-uneditable.html": [
|
||||
"b18d9912eb2d06cd072b79aa6f94002a3c209d1a",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-unfocusable.html": [
|
||||
"8b5de37fdcadedb9d98ec44c9c3c20aea52a0400",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/inert/inert-node-is-unselectable.html": [
|
||||
"7d5e90821bb0bd0d83711685853c78ff9fee6c4f",
|
||||
"testharness"
|
||||
],
|
||||
"html/editing/focus/processing-model/focus-fixup-rule-one-no-dialogs.html": [
|
||||
"d8171abc715990a9e752c2d974acdfd7ecd34fc2",
|
||||
"testharness"
|
||||
|
@ -610090,6 +610052,34 @@
|
|||
"2bb82c9834790bfeb1a65cf2ef202dc63d2ebac4",
|
||||
"support"
|
||||
],
|
||||
"inert/inert-does-not-match-disabled-selector.tentative.html": [
|
||||
"74b8ac3f7dd5c3447bf47fd732fade9220497c93",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-in-shadow-dom.tentative.html": [
|
||||
"36c962b1fc7d50cb6cb46e7d79d9435323e64ad9",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-inlines.tentative.html": [
|
||||
"b056c6495d2c54733bee6ab796332ba89f01b379",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-label-focus.tentative.html": [
|
||||
"8bbe1eca15c7d8f2f9fd5ea48c33cd0a5d5098e0",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-node-is-uneditable.tentative.html": [
|
||||
"b18d9912eb2d06cd072b79aa6f94002a3c209d1a",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-node-is-unfocusable.tentative.html": [
|
||||
"8b5de37fdcadedb9d98ec44c9c3c20aea52a0400",
|
||||
"testharness"
|
||||
],
|
||||
"inert/inert-node-is-unselectable.tentative.html": [
|
||||
"7d5e90821bb0bd0d83711685853c78ff9fee6c4f",
|
||||
"testharness"
|
||||
],
|
||||
"infrastructure/META.yml": [
|
||||
"59b44af3351e0610586709c033b15f15e1c46857",
|
||||
"support"
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>inert does not match :disabled selector</title>
|
||||
<link rel="author" title="Alice Boxhall" href="aboxhall@chromium.org">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<style>
|
||||
button {
|
||||
color: green;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<button inert>The test passes if this is in green.</button>
|
||||
<script>
|
||||
test(function() {
|
||||
button = document.querySelector('button');
|
||||
var color = document.defaultView.getComputedStyle(button).getPropertyValue('color');
|
||||
assert_equals(color, 'rgb(0, 128, 0)');
|
||||
}, 'Tests that inert elements do not match the :disabled selector.');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче