mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision c2e5b9fbaa17424f05ca2bb04609790a3b61d5c2
This commit is contained in:
parent
db7bb2a510
commit
f2c1b70e4a
138 changed files with 2799 additions and 851 deletions
|
@ -4,24 +4,11 @@
|
|||
// Source: CSS Pseudo-Elements Module Level 4 (https://drafts.csswg.org/css-pseudo-4/)
|
||||
|
||||
[Exposed=Window]
|
||||
interface CSSPseudoElement {
|
||||
interface CSSPseudoElement : EventTarget {
|
||||
readonly attribute CSSOMString type;
|
||||
readonly attribute Element element;
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
||||
CSSPseudoElement implements EventTarget;
|
||||
|
||||
[Exposed=Window]
|
||||
interface CSSPseudoElementList {
|
||||
readonly attribute unsigned long length;
|
||||
CSSPseudoElement item(unsigned long index);
|
||||
CSSPseudoElement getByType(CSSOMString type);
|
||||
// replies null if no pseudo-element exists for
|
||||
// the requested type
|
||||
};
|
||||
|
||||
partial interface Window {
|
||||
CSSPseudoElementList getPseudoElements(Element elt,
|
||||
CSSOMString type);
|
||||
partial interface Element {
|
||||
CSSPseudoElement? pseudo(CSSOMString type);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue