Skip to content

Commit a4ad1c5

Browse files
committed
[css-pseudo-4][editorial] Bikeshed fixes
1 parent 1b232dd commit a4ad1c5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

css-pseudo-4/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ Additions to the CSS Object Model</h2>
13381338
{{CSSPseudoElement/parent}} will return a {{CSSPseudoElement}}
13391339
while {{CSSPseudoElement/element}} returns an {{Element}}.
13401340

1341-
The <dfn attribute for=CSSPseudoElement>pseudo()</dfn> method
1341+
The <dfn attribute for=CSSPseudoElement>pseudo(type)</dfn> method
13421342
returns the {{CSSPseudoElement}} interface
13431343
representing the [=sub-pseudo-element=] referenced in its argument,
13441344
if such a [=sub-pseudo-element=] could exist and would be valid,
@@ -1366,12 +1366,12 @@ Additions to the CSS Object Model</h2>
13661366
<div algorithm>
13671367
The <dfn method for=Element title="pseudo(type)" id="dom-element-pseudo">pseudo(CSSOMString type)</dfn> method
13681368
is used to retrieve the {{CSSPseudoElement}} instance
1369-
of the type matching {{type!!argument}}
1369+
of the type matching {{Element/pseudo(type)/type!!argument}}
13701370
associated with the element.
13711371
When it is called,
13721372
execute the following steps:
13731373

1374-
1. [=CSS/Parse=] the {{type!!argument}} argument as a <<pseudo-element-selector>>,
1374+
1. [=CSS/Parse=] the {{Element/pseudo(type)/type!!argument}} argument as a <<pseudo-element-selector>>,
13751375
and let |type| be the result.
13761376

13771377
2. If |type| is failure,
@@ -1399,7 +1399,7 @@ Additions to the CSS Object Model</h2>
13991399
<h3 id="getComputedStyle">
14001400
{{Window/getComputedStyle()}}</h3>
14011401

1402-
When the second parameter <var>pseudoElt</var>
1402+
When the second parameter <var ignore>pseudoElt</var>
14031403
refers to a [=highlight pseudo-element=],
14041404
{{Window/getComputedStyle()}} returns styles
14051405
as if that highlight is active

0 commit comments

Comments
 (0)