1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00
ladybird/Libraries/LibWeb/CSS/CSSMarginRule.idl
Sam Atkins 870f24f181 LibWeb/CSS: Add basic implementation of CSSMarginRule
This is a bit under-specced, specifically there's no definition of
CSSMarginDescriptors so I've gone with CSSStyleProperties for now. Gets
us 17 WPT subtests.
2025-05-16 11:01:39 +01:00

10 lines
415 B
Text

#import <CSS/CSSRule.idl>
#import <CSS/CSSStyleProperties.idl>
// https://drafts.csswg.org/cssom/#cssmarginrule
[Exposed=Window]
interface CSSMarginRule : CSSRule {
readonly attribute CSSOMString name;
// FIXME: This should be CSSMarginDescriptors, but that has no spec. https://github.com/w3c/csswg-drafts/issues/10106
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
};