1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibWeb: Add namespaces to Universal and TagName selectors

This commit is contained in:
Sam Atkins 2023-08-08 15:11:48 +01:00 committed by Sam Atkins
parent 6c2ed0f51b
commit 1858f06881
13 changed files with 245 additions and 49 deletions

View file

@ -0,0 +1,21 @@
<style>
@namespace s "http://www.w3.org/2000/svg";
body * {
display: block;
width: 100px;
border: 1px solid black;
}
body |* {
width: 200px !important;
}
body *|* {
height: 100px;
}
body s|* {
border-width: 10px;
}
</style>
<svg></svg>
<math></math>
<div></div>