aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlselectelement.rs
diff options
context:
space:
mode:
authorsaku <sakupi1101@outlook.jp>2025-04-06 09:28:35 +0900
committerGitHub <noreply@github.com>2025-04-06 00:28:35 +0000
commitb4fd9ebb0e1d18fc9cc307990f347d4d4b5d5abb (patch)
tree2e0aa26b3f0735b361c1544a7ecfaa17bc7136bf /components/script/dom/htmlselectelement.rs
parent6031a12fd1fa4aee8368e0b3dc0cb792caac56bc (diff)
downloadservo-b4fd9ebb0e1d18fc9cc307990f347d4d4b5d5abb.tar.gz
servo-b4fd9ebb0e1d18fc9cc307990f347d4d4b5d5abb.zip
Fix: Add support for stylesheet MIME type quirk in quirks mode (#36338)
This PR implements the HTML spec quirk for stylesheets: https://html.spec.whatwg.org/multipage/#link-type-stylesheet The implementation adds a check in `stylesheet_loader.rs` to handle this quirk condition correctly, and adds a new WPT test to verify that same-origin non-CSS MIME type resources are properly treated as CSS in quirks mode. Testing: Added a new WPT test (`quirk-origin-check-positive.html`) that verifies the positive case for this quirk. Fixes: https://github.com/servo/servo/issues/36324 --------- Signed-off-by: saku-1101 <sakupi1101@outlook.jp>
Diffstat (limited to 'components/script/dom/htmlselectelement.rs')
0 files changed, 0 insertions, 0 deletions