Skip to content

Commit 98fb9ea

Browse files
author
dauwhe
committed
[css-content] placated bikeshed (for now)
1 parent e5f9959 commit 98fb9ea

4 files changed

Lines changed: 374 additions & 324 deletions

File tree

css-content/Overview.bs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Former Editor: Håkon Wium Lie, Opera Software, howcome@opera.com
1313
Former Editor: Ian Hickson, Google, ian@hixie.ch
1414
Ignored Terms:
1515
Abstract: This CSS3 Module describes how to insert content in a document.
16-
Link Defaults: css21 (type) <uri>
16+
Link Defaults: css21 (type) <uri>, css-display-3 (value) inline
17+
Warning: Not Ready
1718
</pre>
1819

1920

@@ -154,9 +155,9 @@ h1 { content: url(header/mng), url(header/png), none; }
154155
</div>
155156

156157

157-
:: In the example above, if <code>header/mng</code> wasn't in a supported format, then <code>header/png</code> would have been used instead. In the example above, if <code>header/png</code> wasn't available either, then the <code>&lt;h1&gt;</code> element would be empty, as the last alternative is ''none''.</p>
158+
:: In the example above, if <code>header/mng</code> wasn't in a supported format, then <code>header/png</code> would have been used instead. In the example above, if <code>header/png</code> wasn't available either, then the <code>&lt;h1&gt;</code> element would be empty, as the last alternative is ''content/none''.</p>
158159

159-
:: To make an element fallback on its contents, you have to explicitly give ''contents'' as a fallback:
160+
:: To make an element fallback on its contents, you have to explicitly give ''content/contents'' as a fallback:
160161

161162
:: <div class="example">
162163
<pre>content: url(1), url(2), url(3), contents;</pre>
@@ -165,7 +166,7 @@ h1 { content: url(header/mng), url(header/png), none; }
165166

166167
:: <p class="issue">What happens when no formats are supported, and the author does not explicitly indicate a fallback?</p>
167168

168-
:: <p class="issue">Why doesn't an element fallback to ''contents'' unless an author explicitly says so?</p>
169+
:: <p class="issue">Why doesn't an element fallback to ''content/contents'' unless an author explicitly says so?</p>
169170

170171

171172

@@ -185,7 +186,7 @@ h1 { content: url(header/mng), url(header/png), none; }
185186

186187
: <dfn title="'content-property'!!'normal'">normal</dfn>
187188

188-
:: For an element, this computes to ''contents''.</p>
189+
:: For an element, this computes to ''content/contents''.</p>
189190

190191
:: For ''::before'' and ''::after'', this computes to ''inhibit''.
191192

@@ -204,7 +205,7 @@ h1 { content: url(header/mng), url(header/png), none; }
204205

205206
:: On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty.
206207

207-
:: On pseudo-elements, this inhibits the creation of the pseudo-element, as if 'display' computed to ''none''.
208+
:: On pseudo-elements, this inhibits the creation of the pseudo-element, as if 'display' computed to ''display/none''.
208209

209210
:: In both cases, this further inhibits the creation of any pseudo-elements which have this pseudo-element as a superior.
210211

@@ -224,7 +225,7 @@ h1 { content: url(header/mng), url(header/png), none; }
224225

225226
:: :: If the value is the empty string, and the element or pseudo-element's 'display' property computes to anything but ''inline'', then the element or pseude-element contains an empty anonymous inline box, otherwise the element contains an empty string.
226227

227-
:: :: (This is a formal way of saying that an empty string is different from ''none'' in that it forces the creation of a line box, even if the line box would be empty.)
228+
:: :: (This is a formal way of saying that an empty string is different from ''content/none'' in that it forces the creation of a line box, even if the line box would be empty.)
228229

229230

230231

@@ -237,7 +238,7 @@ h1 { content: url(header/mng), url(header/png), none; }
237238

238239
:: :: : If set on the element:
239240

240-
:: :: :: Always honoured. Note that this is the default, since the initial value of 'content' is ''normal'' and ''normal'' computes to ''contents'' on an element.
241+
:: :: :: Always honoured. Note that this is the default, since the initial value of 'content' is ''content/normal'' and ''content/normal'' computes to ''content/contents'' on an element.
241242

242243
:: :: : If set on one of the element's other pseudo-elements:
243244

@@ -248,7 +249,7 @@ h1 { content: url(header/mng), url(header/png), none; }
248249
3. ::after
249250

250251

251-
:: :: :: If it is already used, then it evaluates to nothing (like ''none''). Only pseudo-elements that are actually generated are checked.
252+
:: :: :: If it is already used, then it evaluates to nothing (like ''content/none''). Only pseudo-elements that are actually generated are checked.
252253

253254
:: :: :: In the following case:
254255
:: :: :: <div class="example">
@@ -257,7 +258,7 @@ foo::after { content: contents; }
257258
</pre>
258259
</div>
259260

260-
:: :: :: ...the element's 'content' property would compute to ''contents'' and the after pseudo element would have no contents (equivalent to ''none'') and thus would not appear.
261+
:: :: :: ...the element's 'content' property would compute to ''content/contents'' and the after pseudo element would have no contents (equivalent to ''content/none'') and thus would not appear.
261262

262263
:: :: :: <div class="example">
263264
<pre>foo { content: none; }
@@ -271,7 +272,7 @@ foo::after { content: contents; }
271272
:: :: :: <p class="issue">Use cases for suppressing the content on the element and using it in a pseudo-element would be welcome.</p>
272273

273274

274-
:: :: :: Note that while it is useless to include ''contents'' twice in a single 'content' property, that is not a parse error. The second occurrence simply has no effect, as it has already been used. It is also not a parse error to use it on a marker pseudo-element, it is only during the rendering stage that it gets treated like ''none''.
275+
:: :: :: Note that while it is useless to include ''content/contents'' twice in a single 'content' property, that is not a parse error. The second occurrence simply has no effect, as it has already been used. It is also not a parse error to use it on a marker pseudo-element, it is only during the rendering stage that it gets treated like ''content/none''.
275276

276277

277278
:: : 'counter()' and 'counters()'
@@ -290,7 +291,7 @@ foo::after { content: contents; }
290291

291292
:: : ''no-open-quote'' and ''no-close-quote''
292293

293-
:: :: Inserts nothing (as in ''none''), but increments (decrements) the level of nesting for quotes. See the section on <a href="#specifying-quotes">quotes</a> for more information.
294+
:: :: Inserts nothing (as in ''content/none''), but increments (decrements) the level of nesting for quotes. See the section on <a href="#specifying-quotes">quotes</a> for more information.
294295

295296

296297
:: : &lt;datetime&gt;
@@ -390,7 +391,7 @@ HTML has long had the <code>q</code> element, used to delimit quotations. The ''
390391
Media: all
391392
</pre>
392393

393-
<p class="issue">The previous ED had an initial value of ''text'', which was an error. [[CSS21]] has initial value of "depends on user agent". Do we use ''auto'' for things like this, or is it just a UA stylesheet issue?</p>
394+
<p class="issue">The previous ED had an initial value of ''text'', which was an error. [[CSS21]] has initial value of "depends on user agent". Do we use <code>auto</code> for things like this, or is it just a UA stylesheet issue?</p>
394395

395396

396397
<p>This property specifies quotation marks for any number of embedded quotations. Values have the following meanings:</p>
@@ -1057,7 +1058,7 @@ A bookmark references a point in the document, which we define to the be the in
10571058
bookmark-level
10581059
</h3>
10591060

1060-
The 'bookmark-level' property determines if a bookmark is created, and at what level. If this property is absent, or has value ''none'', no bookmark should be generated, regardless of the values of 'bookmark-label' or 'bookmark-state'.
1061+
The 'bookmark-level' property determines if a bookmark is created, and at what level. If this property is absent, or has value ''bookmark-level/none'', no bookmark should be generated, regardless of the values of 'bookmark-label' or 'bookmark-state'.
10611062

10621063
<pre class="propdef">
10631064
Name: <dfn>bookmark-level</dfn>
@@ -1161,7 +1162,7 @@ Computed value: specified value
11611162

11621163
<h2 id="changes">Changes since the 14 May 2003 Working Draft</h2>
11631164

1164-
* Terminology section deleted, as that information is now in [[css-pseudo-4]]
1165+
* Terminology section deleted, as that information is now in [[CSS-PSEUDO-4]]
11651166

11661167
* Pseudo-elements section replaced by [[CSS-PSEUDO-4]]
11671168

0 commit comments

Comments
 (0)