Skip to content

Commit 2df4fb1

Browse files
authored
[css-conditional-4][editorial] Fixed examples (w3c#12693)
1 parent 85d598d commit 2df4fb1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

css-conditional-4/Overview.bs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Abstract: This module contains the features of CSS
2121
the style sheet is being applied in.
2222
It includes and extends the functionality of CSS Conditional 3 [[!css-conditional-3]],
2323
adding the ability to query support for particular selectors [[SELECTORS-4]]
24-
through the new
24+
through the new
2525
<a href="#typedef-supports-selector-fn">''selector()''</a> notation for [=supports queries=].
2626
Default Highlight: css
2727
WPT Path Prefix: css/css-conditional/
@@ -99,27 +99,25 @@ This includes namespace prefixes inside the selector function.
9999

100100
<div class="invalid example" id="ex-ns-selector-invalid">
101101
This example tries to check that attribute selectors
102-
with [=CSS qualified name=]s are supported,
102+
with [=CSS qualified name|CSS qualified names=] are supported,
103103
but is invalid,
104104
because the namespace prefix has not been declared.
105105

106106
<pre class="lang-css">
107107
@supports selector(a[xlink|href]) {
108108
// do something, but fail
109-
}
110109
}
111110
</pre>
112111
</div>
113112

114113
<div class="example" id="ex-ns-selector">
115114
This example checks that attribute selectors
116-
with [=CSS qualified name=]s are supported.
115+
with [=CSS qualified name|CSS qualified names=] are supported.
117116

118117
<pre class="lang-css">
119118
@namespace x url(http://www.w3.org/1999/xlink);
120119
@supports selector(a[x|href]) {
121120
// do something
122-
}
123121
}
124122
</pre>
125123
</div>

0 commit comments

Comments
 (0)