1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

LibWeb: Support the :root pseudo class

This commit is contained in:
Linus Groh 2020-05-13 22:38:12 +01:00 committed by Andreas Kling
parent 2f29e61203
commit 7bfd24ca76
5 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>:root test</title>
<style>
:root {
background-color: red;
}
</style>
</head>
<body>
Background will be red.
</body>
</html>

View file

@ -50,6 +50,7 @@ span#ua {
<li><a href="last-child.html">:last-child</a></li>
<li><a href="only-child.html">:only-child</a></li>
<li><a href="empty.html">:empty</a></li>
<li><a href="root.html">:root</a></li>
<li><a href="form.html">form</a></li>
<li><a href="borders.html">borders</a></li>
<li><a href="css.html">css</a></li>