Skip to content

Commit 54e8d5a

Browse files
committed
[selectors] markup tweak
1 parent 17bd74a commit 54e8d5a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

selectors/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,21 +1569,21 @@ Substring matching attribute selectors</h3>
15691569
substrings in the value of an attribute:
15701570

15711571
<dl>
1572-
<dt>''[att^=val]''
1572+
<dt><css>[att^=val]</css>
15731573
<dd>
15741574
Represents an element with the <code>att</code> attribute
15751575
whose value begins with the prefix "val".
15761576
If "val" is the empty string
15771577
then the selector does not represent anything.
15781578

1579-
<dt>''[att$=val]''
1579+
<dt><css>[att$=val]</css>
15801580
<dd>
15811581
Represents an element with the <code>att</code> attribute
15821582
whose value ends with the suffix "val".
15831583
If "val" is the empty string
15841584
then the selector does not represent anything.
15851585

1586-
<dt>''[att*=val]''
1586+
<dt><css>[att*=val]</css>
15871587
<dd>
15881588
Represents an element with the <code>att</code> attribute
15891589
whose value contains at least one instance of the substring "val".

selectors/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,21 +1805,21 @@ <h3 class="heading settled" data-level=6.2 id=attribute-substrings><span class=s
18051805
substrings in the value of an attribute:</p>
18061806

18071807
<dl>
1808-
<dt>''[att^=val]''
1808+
<dt><span class=css>[att^=val]</span>
18091809
<dd>
18101810
Represents an element with the <code>att</code> attribute
18111811
whose value begins with the prefix "val".
18121812
If "val" is the empty string
18131813
then the selector does not represent anything.
18141814

1815-
<dt>''[att$=val]''
1815+
<dt><span class=css>[att$=val]</span>
18161816
<dd>
18171817
Represents an element with the <code>att</code> attribute
18181818
whose value ends with the suffix "val".
18191819
If "val" is the empty string
18201820
then the selector does not represent anything.
18211821

1822-
<dt>''[att*=val]''
1822+
<dt><span class=css>[att*=val]</span>
18231823
<dd>
18241824
Represents an element with the <code>att</code> attribute
18251825
whose value contains at least one instance of the substring "val".

0 commit comments

Comments
 (0)