mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Match class selectors case insensitively in quirks mode
This align our implementation with the CSSWG Selectors Level 4 specification.
This commit is contained in:
parent
e2c9e34050
commit
82ed253477
Notes:
github-actions[bot]
2024-08-03 14:46:10 +00:00
Author: https://github.com/tcl3
Commit: 82ed253477
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/937
3 changed files with 22 additions and 4 deletions
|
@ -0,0 +1,9 @@
|
|||
<!-- Quirks mode -->
|
||||
<script src="include.js"></script>
|
||||
<div class="tEsT"></div>
|
||||
<script>
|
||||
test(() => {
|
||||
let divElement = document.querySelector(".test");
|
||||
println(`ParentNode.querySelector matches class selectors case-insensitively in quirks mode: ${divElement instanceof Element}`);
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue