mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
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.
This commit is contained in:
parent
3f7d97f098
commit
60e35f2a97
18 changed files with 266 additions and 3 deletions
8
Userland/Libraries/LibWeb/CSS/CSSNamespaceRule.idl
Normal file
8
Userland/Libraries/LibWeb/CSS/CSSNamespaceRule.idl
Normal file
|
@ -0,0 +1,8 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
|
||||
// https://www.w3.org/TR/cssom/#the-cssnamespacerule-interface
|
||||
[Exposed=Window]
|
||||
interface CSSNamespaceRule : CSSRule {
|
||||
readonly attribute CSSOMString namespaceURI;
|
||||
readonly attribute CSSOMString prefix;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue