LibWeb: Use default fetch processing for any applicable rel keyword

Previously, the `preload`, `preconnect` and `dns-prefetch` keywords
took precedence over the others. When these keywords were present
the default fetch processing steps would not occur even when a relevant
keyword such as `stylesheet` or `icon` was present.
This commit is contained in:
Tim Ledbetter
2025-12-12 22:33:55 +00:00
committed by Tim Flynn
parent 65c0be66e4
commit ac2334453b
Notes: github-actions[bot] 2025-12-13 15:53:30 +00:00
4 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<link rel="match" href="../../expected/HTML/HTMLLLinkElement-multiple-rel-keywords-ref.html" />
<style>
div {
width: 100px;
height: 100px;
background-color: red;
}
</style>
<link rel="preload stylesheet" href="../../data/HTMLLLinkElement-multiple-rel-keywords.css" as="style">
<div></div>