mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
60e35f2a97
This provides a rough implementation of the CSS @namespace rule. Currently we just support default namespaces, namespace prefixes are still to come.
19 lines
293 B
HTML
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>
|