mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Add CSS.supports()
This commit is contained in:
parent
56731dc6b5
commit
62bea28031
3 changed files with 34 additions and 4 deletions
|
@ -11,3 +11,9 @@ interface CSS {
|
|||
[Throws]
|
||||
static DOMString escape(DOMString ident);
|
||||
};
|
||||
|
||||
// https://drafts.csswg.org/css-conditional-3/#the-css-interface
|
||||
partial interface CSS {
|
||||
static boolean supports(DOMString property, DOMString value);
|
||||
static boolean supports(DOMString conditionText);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue