mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement getComputedStyle
This commit is contained in:
parent
416931f4be
commit
e484d6b5e3
24 changed files with 886 additions and 152 deletions
|
@ -90,6 +90,13 @@ partial interface Window {
|
|||
/*[Replaceable]*/ readonly attribute Performance performance;
|
||||
};
|
||||
|
||||
// https://drafts.csswg.org/cssom/#extensions-to-the-window-interface
|
||||
partial interface Window {
|
||||
//CSSStyleDeclaration getComputedStyle(Element elt, optional DOMString? pseudoElt);
|
||||
[NewObject]
|
||||
CSSStyleDeclaration getComputedStyle(HTMLElement elt, optional DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
|
||||
partial interface Window {
|
||||
//MediaQueryList matchMedia(DOMString query);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue