Skip to content

Commit c7d12fc

Browse files
committed
[css-content] tweaking markup to make bikeshed happier
1 parent b251249 commit c7d12fc

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

css-content/Overview.bs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ This module introduces several pseudo-elements and allows them to nest in certai
131131

132132
<pre class='propdef'>
133133
Name: content
134-
Value: [ [ <<uri>> ] ',' ]* [ normal | none | inhibit | &lt;content-list&gt; ]
134+
Value: [ [ <<uri>> ] ',' ]* [ normal | none | inhibit | <<content-list>> ]
135135
Initial: normal
136136
Applies To: elements, pseudo-elements, and page margin boxes.
137137
Inherited: no
@@ -144,8 +144,9 @@ This module introduces several pseudo-elements and allows them to nest in certai
144144

145145
The 'content' property dictates what is rendered inside the element or pseudo-element. It takes a comma separated list of URIs, followed by a space separated list of tokens. If there are multiple URIs provided, then each is tried in turn until a value which is both available and supported is found. The last value is used as a fallback if the others fail.
146146

147-
: <<uri>>
148-
:: For URIs other than URIs in the last comma separated section of the value, if the URI is available and the format is supported, then the element or pseudo-element becomes a replaced element, otherwise, the next item in the comma separated list is used, if any.
147+
<dl dfn-type=value dfn-for=content>
148+
<dt><<uri>></dt>
149+
<dd>For URIs other than URIs in the last comma separated section of the value, if the URI is available and the format is supported, then the element or pseudo-element becomes a replaced element, otherwise, the next item in the comma separated list is used, if any.
149150

150151
<div class="example">
151152
<pre>
@@ -177,7 +178,7 @@ The 'content' property dictates what is rendered inside the element or pseudo-el
177178

178179
When a URI is used as replaced content, it <a href="#replacedContent">affects the generation</a> of ''::before'' and ''::after'' pseudo-elements.
179180

180-
<dl dfn-type=value dfn-for=content>
181+
181182
<dt><dfn>normal</dfn>
182183
<dd>For an element, this computes to ''content/contents''.
183184

@@ -199,7 +200,7 @@ The 'content' property dictates what is rendered inside the element or pseudo-el
199200

200201
<p class="issue">Is ''inhibit'' still necessary, in the absence of multiple pseudo-elements?
201202

202-
<dt><dfn type>&lt;content-list&gt;</dfn>
203+
<dt><dfn type><<content-list>></dfn>
203204
<dd>
204205
[ <<string>> | contents | <<uri>> | open-quote | close-quote | no-open-quote | no-close-quote | document-url | leader() ]+
205206

0 commit comments

Comments
 (0)