Skip to content

Commit 08ad55e

Browse files
Add IDL for CSS Pseudo-Elements
1 parent f51fc8e commit 08ad55e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Exposed=Window]
2+
interface CSSPseudoElement : EventTarget {
3+
readonly attribute CSSOMString type;
4+
readonly attribute Element element;
5+
};
6+
7+
partial interface Element {
8+
CSSPseudoElement? pseudo(CSSOMString type);
9+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@
108108
"url": "https://www.w3.org/TR/css-overscroll-1/",
109109
"title": "CSS Overscroll Behavior"
110110
},
111+
{
112+
"url": "https://www.w3.org/TR/css-pseudo-4/",
113+
"title": "CSS Pseudo-Elements"
114+
},
111115
{
112116
"url": "https://www.w3.org/TR/css-ruby-1/",
113117
"title": "CSS Ruby Layout"

0 commit comments

Comments
 (0)