Skip to content

Commit 53fe142

Browse files
committed
[cssom] Remove Element#pseudo() and PseudoElement
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29466.
1 parent 87f3670 commit 53fe142

1 file changed

Lines changed: 6 additions & 49 deletions

File tree

cssom/Overview.bs

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,7 @@ the DOM a <a>CSS declaration block</a> is a
20962096
<dd>The <a for=/>CSS rule</a> that the <a>CSS declaration block</a> is associated with, if any, or null otherwise.
20972097

20982098
<dt><dfn>owner node</dfn>
2099-
<dd>The {{Element}} or {{PseudoElement}} that the <a>CSS declaration block</a> is associated with, if any, or
2099+
<dd>The {{Element}} that the <a>CSS declaration block</a> is associated with, if any, or
21002100
null otherwise.
21012101
</dl>
21022102

@@ -2934,51 +2934,6 @@ a separate interface, <code>ViewCSS</code>.
29342934
sheets</a> with the <a>origin-clean flag</a> unset.
29352935

29362936

2937-
Extensions to the {{Element}} Interface {#extensions-to-the-element-interface}
2938-
------------------------------------------------------------------------------
2939-
2940-
<pre class=idl>
2941-
partial interface Element {
2942-
PseudoElement? pseudo(DOMString pseudoElt);
2943-
};
2944-
</pre>
2945-
2946-
<p class=atrisk>The <dfn method for=Element>pseudo(<var>pseudoElt</var>)</dfn> method, when invoked, must run the following steps:
2947-
<ol>
2948-
<li>If <var>pseudoElt</var> is as an <a>ASCII case-insensitive</a> match for either ':before' or
2949-
'::before' return the {{PseudoElement}} representing the ''::before'' pseudo-element of the
2950-
<a>context object</a>.
2951-
<li>If <var>pseudoElt</var> is as an <a>ASCII case-insensitive</a> match for either ':after' or
2952-
'::after' return the {{PseudoElement}} representing the ''::after'' pseudo-element of the
2953-
<a>context object</a>.
2954-
<li>Return null.
2955-
</ol>
2956-
When invoked with an argument that returns a {{PseudoElement}} object representing a particular pseudo-element, the same object must be
2957-
returned as returned by an earlier call that represent the same pseudo-element.
2958-
2959-
2960-
2961-
The {{PseudoElement}} Interface {#the-pseudoelement-interface}
2962-
--------------------------------------------------------------
2963-
2964-
<p class=atrisk>The {{PseudoElement}} interface is used for representing CSS pseudo-elements. A {{PseudoElement}} object is associated with an
2965-
<code>Element</code> object.
2966-
2967-
Issue: This should be merged with the {{CSSPseudoElement}} proposal.
2968-
2969-
<pre class=idl>
2970-
interface PseudoElement {
2971-
<!-- XXX
2972-
// type
2973-
// style
2974-
// ownerElement
2975-
// querySelector should return PseudoElements
2976-
// Extend Event to expose PseudoElement?
2977-
-->
2978-
};
2979-
</pre>
2980-
2981-
29822937
Utility APIs {#utility-apis}
29832938
============================
29842939

@@ -3124,6 +3079,8 @@ generally not listed.
31243079

31253080
CSSCharsetRule is re-dropped.
31263081
GetStyleUtils is dropped.
3082+
Element#pseudo() is dropped.
3083+
PseudoElement is dropped.
31273084

31283085
-->
31293086

@@ -3151,12 +3108,12 @@ Changes From 12 July 2011 To 5 December 2013 {#changes-from-12-july-2011-to-5-de
31513108
<li>The <code>style</code> and <code>media</code> attributes of various interfaces are annotated with the <code>[PutForwards]</code> WebIDL
31523109
extended attribute.
31533110

3154-
<li>The {{Element/pseudo()}} method on <code>Element</code> is introduced.
3111+
<li>The <code lt>pseudo()</code> method on <code>Element</code> is introduced.
31553112

3156-
<li>The {{PseudoElement}} interface is introduced.
3113+
<li>The <code lt>PseudoElement</code> interface is introduced.
31573114

31583115
<li>The <code lt>cascadedStyle</code>, <code lt>rawComputedStyle</code> and
3159-
<code lt>usedStyle</code> attributes on <code>Element</code> and {{PseudoElement}} are introduced.
3116+
<code lt>usedStyle</code> attributes on <code>Element</code> and <code lt>PseudoElement</code> are introduced.
31603117

31613118
<li>The <code method for=CSS>CSS.escape()</code> static method is introduced.
31623119
</ul>

0 commit comments

Comments
 (0)