Skip to content

Commit

Permalink
Import wpt@ee42c2ebaba97d3bb6b4676de3712f62a6eea1d9
Browse files Browse the repository at this point in the history
Using wpt-import in Chromium 2a89e8b.

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
TBR=smcgruer

No-Export: true
Change-Id: I914fa38c6e51c607872619bf072148a1b3ac8ccc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220587
Reviewed-by: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#773160}
  • Loading branch information
Chromium WPT Sync authored and Commit Bot committed May 29, 2020
1 parent 993145d commit aaa2b01
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 32 deletions.
44 changes: 28 additions & 16 deletions third_party/blink/web_tests/external/WPT_BASE_MANIFEST_8.json
Original file line number Diff line number Diff line change
Expand Up @@ -122690,8 +122690,8 @@
]
},
"cssom": {
"HTMLLinkElement-disabled-alternate.tentative.html": [
"5b020a172b175ac21d76052cfd44139d376f6605",
"HTMLLinkElement-disabled-alternate.html": [
"f1457c0dcf04d27a52a29fc860e94e81d432e5af",
[
null,
[
Expand Down Expand Up @@ -187557,14 +187557,26 @@
"2f84a0d554569cea4c707b04371f3f14058e96fe",
[]
],
"HTMLLinkElement-disabled-001-expected.txt": [
"b078ddb22ee2fcb6815eeac6a5146a2ddef104c8",
[]
],
"HTMLLinkElement-disabled-001.tentative-expected.txt": [
"b078ddb22ee2fcb6815eeac6a5146a2ddef104c8",
[]
],
"HTMLLinkElement-disabled-002-expected.txt": [
"176385c5078ade77d21160f0987f07c07433b485",
[]
],
"HTMLLinkElement-disabled-002.tentative-expected.txt": [
"176385c5078ade77d21160f0987f07c07433b485",
[]
],
"HTMLLinkElement-disabled-007-expected.txt": [
"4fac01798a1627557110ff1df67ab2fa0f96b6b6",
[]
],
"HTMLLinkElement-disabled-007.tentative-expected.txt": [
"4fac01798a1627557110ff1df67ab2fa0f96b6b6",
[]
Expand Down Expand Up @@ -281121,50 +281133,50 @@
{}
]
],
"HTMLLinkElement-disabled-001.tentative.html": [
"877356f924de995aca09579739c6120af2caab1e",
"HTMLLinkElement-disabled-001.html": [
"f2c5d0a545939b78e5833c19e83de660dd845ea2",
[
null,
{}
]
],
"HTMLLinkElement-disabled-002.tentative.html": [
"9c46f60a6214538168b48cd06b16fda0ce52ec63",
"HTMLLinkElement-disabled-002.html": [
"34bd8182fef40b0b596661437f7840735f83c517",
[
null,
{}
]
],
"HTMLLinkElement-disabled-003.tentative.html": [
"fc86e6ba1f052231c4de47cbcece07c85a6f68b9",
"HTMLLinkElement-disabled-003.html": [
"3d391bbaff064e094c5a4c1d7c2748257b900a93",
[
null,
{}
]
],
"HTMLLinkElement-disabled-004.tentative.html": [
"7e6c34ee40d97319e4b2ac39262bba9935fd7d3b",
"HTMLLinkElement-disabled-004.html": [
"f163f1d68e066ad89241b43ffd6f29d161b1b3c1",
[
null,
{}
]
],
"HTMLLinkElement-disabled-005.tentative.html": [
"0233f8c746ed83c1b912df3c0e8ba489d9bd4325",
"HTMLLinkElement-disabled-005.html": [
"76de20632726b753e21c15d4a5a18472edd5753d",
[
null,
{}
]
],
"HTMLLinkElement-disabled-006.tentative.html": [
"5828e1ce14217384fd9445297ddffbfcfc4e4c7e",
"HTMLLinkElement-disabled-006.html": [
"02749a2e11d41ca7556b65ecd42ee3a004fa7fe2",
[
null,
{}
]
],
"HTMLLinkElement-disabled-007.tentative.html": [
"451fc3d591f2c8e12964282eb1314d4962429923",
"HTMLLinkElement-disabled-007.html": [
"9a695a964cb5916af69db3ba8a3ff44e00bb1a87",
[
null,
{}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This is a testharness.js-based test.
PASS <link disabled> prevents the stylesheet from being in document.styleSheets (from parser)
FAIL HTMLLinkElement.disabled reflects the <link disabled> attribute, and behaves consistently assert_equals: expected null but got Element node <link title="alt" rel="stylesheet" href="data:text/css,ht...
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;, HTMLLinkElement.disabled and CSSStyleSheet.disabled interactions</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link title="alt" rel="stylesheet" disabled href="data:text/css,html { background: green }">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This is a testharness.js-based test.
FAIL HTMLLinkElement.disabled reflects the <link disabled> attribute, and behaves consistently, when the sheet is an alternate assert_equals: expected null but got Element node <link title="alt" rel="alternate stylesheet" href="data:t...
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;, HTMLLinkElement.disabled and CSSStyleSheet.disabled interactions (alternate)</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link title="alt" rel="alternate stylesheet" disabled href="data:text/css,html { background: green }">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;'s "explicitly enabled" state persists after getting disconnected from the tree</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link title="alt" rel="alternate stylesheet" disabled href="data:text/css,html { background: green }">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;'s "explicitly enabled" state doesn't persist for clones</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link title="alt" rel="alternate stylesheet" disabled href="data:text/css,html { background: green }">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;'s "explicitly enabled" persists across rel changes</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link title="alt" rel="yadayada" disabled href="data:text/css,html { background: green }">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;'s "explicitly enabled" state isn't magically set from the setter</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This is a testharness.js-based test.
FAIL HTMLLinkElement.disabled setter sets the explicitly enabled state if toggled back and forth. assert_equals: expected "rgb(0, 128, 0)" but got "rgba(0, 0, 0, 0)"
Harness: the test ran to completion.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<title>&lt;link disabled&gt;'s "explicitly enabled" state works when set explicitly back and forth</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<title>CSS Test: alternate stylesheets can be disabled by HTMLLinkElement.disabled if they have the disabled attribute already</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1281135">
<link rel="help" href="https://github.com/whatwg/html/issues/3840">
<link rel="help" href="https://html.spec.whatwg.org/#attr-link-disabled">
<link rel="match" href="HTMLLinkElement-disabled-alternate-ref.html">
<link title="alt" rel="alternate stylesheet" href="data:text/css,html { background: green }" disabled onload="document.documentElement.className = ''">
<script>
Expand Down

0 comments on commit aaa2b01

Please sign in to comment.