@@ -836,13 +836,13 @@ Additions to the CSS Object Model</h2>
836836<h3 id="CSSPseudoElement-interface">
837837Interface CSSPseudoElement</h3>
838838
839- The <code> CSSPseudoElement</code> interface
839+ The {{ CSSPseudoElement}} interface
840840 allows pseudo-elements to be event targets.
841841
842842 <pre class="idl">
843843 [Exposed=Window]
844844 interface CSSPseudoElement : EventTarget {
845- readonly attribute CSSOMString <a href="#dom-csspseudochild- type">type</a> ;
845+ readonly attribute CSSOMString type;
846846 readonly attribute Element element;
847847 };
848848 </pre>
@@ -864,33 +864,33 @@ Interface CSSPseudoElement</h3>
864864 Note: This interface may be extended in the future
865865 to other pseudo-element types
866866 and/or to allow setting style information
867- through a <code> CSSStyleDeclaration</code> <code> style</code> attribute.
867+ through a {{ CSSStyleDeclaration}} <code> style</code> attribute.
868868 The current functionality is limited
869869 to that which is needed to support [[web-animations-1]] .
870870
871871<h3 id="window-interface">
872- Addition to the <code> Element</code> interface</h3>
872+ Addition to the {{ Element}} interface</h3>
873873
874- A new method is added to the <code> Element</code> interface to retrieve
874+ A new method is added to the {{ Element}} interface to retrieve
875875 pseudo-elements created by a given element for a given type:
876876 <pre class="idl">
877877 partial interface Element {
878- CSSPseudoElement? <a href="#dom-element- pseudo">pseudo</a> (CSSOMString type);
878+ CSSPseudoElement? pseudo(CSSOMString type);
879879 };
880880 </pre>
881881
882- The <dfn id="dom-element-pseudo"><code> pseudo()</code> </dfn> method
883- is used to retrieve the <code> CSSPseudoElement</code> instance
884- created by the element of the type matching <code> type</code> .
885- Its return value is a <code> CSSPseudoElement</code> ,
882+ The <dfn method for=Element title="pseudo(type)" id="dom-element-pseudo">pseudo(CSSOMString type) </dfn> method
883+ is used to retrieve the {{ CSSPseudoElement}} instance
884+ created by the element of the type matching {{ type!!argument}} .
885+ Its return value is a {{ CSSPseudoElement}} ,
886886 potentially null if no such pseudo-element exists.
887887
888888 Pseudo-elements of unsupported types are considered to simply not exist;
889- unrecognized <code> type</code> values are not an error.
889+ unrecognized {{ type!!argument}} values are not an error.
890890
891891 ISSUE: The identity, lifetime, and nullness of the return value
892892 (and potential error cases)
893- of the <code> pseudo()</code> method is still under discussion.
893+ of the {{ pseudo()}} method is still under discussion.
894894 See <a href="https://github.com/w3c/csswg-drafts/issues/3607">Issue 3607</a>
895895 and <a href="https://github.com/w3c/csswg-drafts/issues/3603">Issue 3603</a> .
896896
0 commit comments