Apply style quirk also in limited-quirks mode #12097
Apply style quirk also in limited-quirks mode
#12097TimvdLippe wants to merge 1 commit intowhatwg:mainfrom
Conversation
Browsers apply this quirk in both quirks [1] and limited-quirks mode [2]. [1]: https://wpt.fyi/results/html/semantics/document-metadata/the-link-element/link-style-error-quirks.html?label=experimental&label=master&aligned [2]: https://wpt.fyi/results/html/semantics/document-metadata/the-link-element/link-style-error-limited-quirks.html?label=experimental&label=master&aligned
|
The test has
|
|
Sorry I don't understand what you mean. Do you mean this PR is wrong or is it a confirmation of the finding? At least when I implement it in Servo and I don't check for both, a lot more tests fail. What am I missing? |
|
I thought it meant that this PR is wrong. But it's possible I'm missing something... |
|
The test also uses The test should have a non-empty system identifier to properly test limited-quirks mode. |
|
Hm will debug more to figure why these tests are failing. Unfortunately since the spec is unclear how to handle stylesheet fetch status (#1142) it's been a battle trying to figure what's what. |
|
After a bit more debugging figured out what was wrong with my implementation. Turns out I first needed to check the relevant parts of the link fetch loading and only then check if the status was Ok. For reference, this is my Servo PR: servo/servo#42037 The limited-quirks test is updated in web-platform-tests/wpt#57295 |
Browsers apply this quirk in both quirks 1 and
limited-quirks mode 2.
(See WHATWG Working Mode: Changes for more details.)
/links.html ( diff )