mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +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
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/Epigenetic
Commit: 60e35f2a97
Pull-request: https://github.com/SerenityOS/serenity/pull/20257
Reviewed-by: https://github.com/AtkinsSJ ✅
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