html/semantics/document-metadata/the-link-element/
144 / 148 WPT subtests passing
- Failed
- 4
- Timed out
- 0
- Not run
- 0
- Test files
- 29
- Blocking files
- 0
Chrome 120 / 148 WPT subtests passing on the same files, 4 blocking, 3 without a result
Tests
29 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
attr-link-fetchpriority.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- fetchpriority attribute on <link> elements should reflect valid IDL values
- default fetchpriority attribute on <link> elements should be 'auto'
document-without-browsing-context.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Create a document, adopt the node
- Create a stylesheet in innerHTML document
link-error-fired-before-scripting-unblocked.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Check if the stylesheet's error event is fired before the pending parsing-blocking script is unblocked
link-error-handler-triggers-abort-crash.html none reportedChrome —0 failedClean
/html/semantics/document-metadata/the-link-element/link-error-handler-triggers-abort-crash.html PASS none reported
No subtests were reported.
link-href-attribute-crash.html none reportedChrome —0 failedClean
/html/semantics/document-metadata/the-link-element/link-href-attribute-crash.html PASS none reported
No subtests were reported.
link-load-error-events.html 17 / 17 passingChrome 13 / 170 failedClean
17 passing subtests
- Basic load of stylesheet
- Attempted load of nonexistent stylesheet
- Import of stylesheet
- Import of nonexistent stylesheet
- Import of import of stylesheet
- Import of import of nonexistent stylesheet
- Load of non-CSS stylesheet
- Import of non-CSS stylesheet
- Import of import of non-CSS stylesheet
- Load of http:// stylesheet
- Import of http:// stylesheet
- Import of import of http:// stylesheet
- Load of https:// stylesheet
- Import of https:// stylesheet
- Import of import of https:// stylesheet
- Slow successful import, fast failing import
- Fast successful import, slow failing import
link-load-error-events.https.html 17 / 17 passingChrome 12 / 170 failedClean
17 passing subtests
- Basic load of stylesheet
- Attempted load of nonexistent stylesheet
- Import of stylesheet
- Import of nonexistent stylesheet
- Import of import of stylesheet
- Import of import of nonexistent stylesheet
- Load of non-CSS stylesheet
- Import of non-CSS stylesheet
- Import of import of non-CSS stylesheet
- Load of http:// stylesheet
- Import of http:// stylesheet
- Import of import of http:// stylesheet
- Load of https:// stylesheet
- Import of https:// stylesheet
- Import of import of https:// stylesheet
- Slow successful import, fast failing import
- Fast successful import, slow failing import
link-load-event-alt-001.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- link-load-event-alt-001
link-load-event-alt-002.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- link-load-event-alt-002
link-load-event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check if the stylesheet's load event blocks the document load event
link-load-fired-before-scripting-unblocked.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- Check if the stylesheet's load event is fired before the pending parsing-blocking script is unblocked
link-multiple-load-events.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- <link> cannot request the same resource twice by touching the 'rel' attribute, if its value never changes
- <link> cannot request the same resource twice by touching the 'href' attribute, if its value never changes
- <link> cannot request the same resource twice by touching the 'type' attribute, if its value never changes
- <link> cannot request the same resource twice by touching the 'media' attribute, if its value never changes
- <link> load event can fire twice for the same href resource, based on 'rel' attribute mutations
- <link> load event fires for each DIFFERENT stylesheet it loads
link-rel-attribute-tokenization.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The rel attribute needs to handle ASCII whitespace correctly
link-rel-attribute.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILRemoving stylesheet from link rel attribute should remove the stylesheet for shadow DOM
assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)"
1 passing subtest
- Removing stylesheet from link rel attribute should remove the stylesheet for light DOM
link-rellist.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- link.relList: non-string contains
link-style-data-url-quirks.html 2 / 3 passingChrome 1 / 31 failedWith failures
- ¶
FAILdata: URL stylesheet with text/plain is blocked in quirks mode
assert_equals: expected "error" but got "load"
2 passing subtests
- data: URL stylesheet with text/css loads in quirks mode
- data: URL stylesheet with text/plain is blocked in standards mode
link-style-error-01.html 26 / 26 passingChrome 22 / 260 failedClean
26 passing subtests
- Should get an error event for a 404 error.
- Should get an error event for an unsupported URL.
- Stylesheet loading using <link> with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and nosniff
link-style-error-limited-quirks.html 24 / 24 passingChrome 20 / 240 failedClean
24 passing subtests
- Stylesheet loading using <link> with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and nosniff
link-style-error-quirks.html 24 / 24 passingChrome 22 / 240 failedClean
24 passing subtests
- Stylesheet loading using <link> with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using <link> with broken Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, same-origin, and nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with no Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with wrong Content-Type, cross-origin, and nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and no nosniff
- Stylesheet loading using @import with broken Content-Type, cross-origin, and nosniff
link-style-quirks-crossorigin.html 4 / 6 passingChrome 4 / 62 failedWith failures
- ¶
FAILCross-origin stylesheet with wrong MIME type, with CORS
assert_equals: cross-origin with wrong MIME type should fire error expected "error" but got "load"
- ¶
FAILSame-origin redirect to cross-origin stylesheet with wrong MIME type, with CORS
assert_equals: redirect to cross-origin with wrong MIME type should fire error expected "error" but got "load"
4 passing subtests
- Same-origin stylesheet with wrong MIME type, no CORS
- Same-origin stylesheet with wrong MIME type, with CORS
- Cross-origin stylesheet with text/css, with CORS
- Cross-origin redirect to same-origin stylesheet with wrong MIME type, with CORS
link-stylesheet-error-status-fires-error.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- link stylesheet should fire error event for 404 response and not apply styles
- link stylesheet should fire error event for 503 response and not apply styles
link-type-attribute-crash.html none reportedChrome —0 failedClean
/html/semantics/document-metadata/the-link-element/link-type-attribute-crash.html PASS none reported
No subtests were reported.
no-browsing-context.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- no load or error events
stylesheet-appropriate-time-to-obtain.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- adding a href attribute before inserting the link into the document causes the stylesheet to load and apply
- adding a href attribute after inserting the link into the document causes the stylesheet to load and apply
- changing the href attribute after inserting the link into the document causes the stylesheet to load again
stylesheet-bad-mime-type.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- 'load' event does not fire at link@rel=stylesheet having non-empty resource with bad MIME type
- 'load' event does not fire at link@rel=stylesheet having empty resource with bad MIME type
stylesheet-encoding-parse.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- link element stylesheet should use document encoding (windows-1252)
stylesheet-media-change-no-fetch.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- stylesheet should not re-fetch when media changes. The media change should apply immediately
stylesheet-non-OK-status.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- 'load' event does not fire at link@rel=stylesheet having resource with non-OK response status
stylesheet-not-removed-until-next-stylesheet-loads.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that a style sheet loaded by a <link> is available until its successor is loaded