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:
Jonah 2023-07-29 11:51:15 -05:00 committed by Sam Atkins
commit 60e35f2a97
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00
18 changed files with 266 additions and 3 deletions

View 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;
};