mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +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
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<link rel="match" href="reference/text-div.html" />
|
||||
<style>
|
||||
* {
|
||||
visibility: visible;
|
||||
}
|
||||
.d-none,
|
||||
.oops::-webkit-jkl() {
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
<div class="d-none">Well, hello friends!</div>
|
Loading…
Add table
Add a link
Reference in a new issue