mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix #7268 - getComputedStyle should take Element
, not HTMLElement
This commit is contained in:
parent
70b9922eb0
commit
b7d25159d3
7 changed files with 40 additions and 13 deletions
|
@ -95,9 +95,8 @@ partial interface Window {
|
|||
|
||||
// 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);
|
||||
CSSStyleDeclaration getComputedStyle(Element elt, optional DOMString pseudoElt);
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-window-interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue