serenity/Tests/LibWeb/Layout/input/css-namespace-rule-matches.html
Jonah 60e35f2a97 LibWeb: Rough implementation of CSS namespace rule
This provides a rough implementation of the CSS @namespace rule.
Currently we just support default namespaces, namespace prefixes
are still to come.
2023-07-30 20:27:19 +01:00

19 lines
293 B
HTML

<style>
* {
font: 20px SerenitySans;
}
a {
padding: 5px;
color: red;
}
</style>
<style>
@namespace url('http://www.w3.org/1999/xhtml');
a {
padding: 10px;
color: green;
}
</style>
<p>
<a href="#">Should be green</a>
</p>