mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Support obsolete but required -webkit- CSS parsing quirk
As outlined in: https://www.w3.org/TR/selectors-4/#compat We now do not treat unknown webkit pseudo-elements as invalid at parse time, and also support serializing these elements. Fixes: #21959
This commit is contained in:
parent
83758d4cdd
commit
ed97946975
9 changed files with 76 additions and 6 deletions
12
Tests/LibWeb/Ref/css-unknown-webkit-pseudo-element.html
Normal file
12
Tests/LibWeb/Ref/css-unknown-webkit-pseudo-element.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/text-div.html" />
|
||||
<style>
|
||||
* {
|
||||
visibility: hidden;
|
||||
}
|
||||
.d-none,
|
||||
.oops::-webkit-asdf {
|
||||
visibility: visible;
|
||||
}
|
||||
</style>
|
||||
<div class="d-none">Well, hello friends!</div>
|
Loading…
Add table
Add a link
Reference in a new issue