You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-content-3/Overview.bs
+21-32Lines changed: 21 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -381,23 +381,17 @@ Specifying quotes with the 'quotes' property</h4>
381
381
382
382
<pre class='propdef'>
383
383
Name: quotes
384
-
Value: none | [ <<string>> <<string>> ]+
384
+
Value: auto | none | [ <<string>> <<string>> ]+
385
385
Initial: depends on user agent
386
386
Applies To: all elements
387
387
Inherited: yes
388
388
Percentages: n/a
389
-
Computed Value: the keyword ''quotes/none'' or a list, each item a pair of string values
389
+
Computed Value: the keyword ''quotes/none'', the keyword ''quotes/auto'', or a list, each item a pair of string values
390
390
Animation type: discrete
391
391
</pre>
392
392
393
393
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
394
394
395
-
Issue: The previous ED had an initial value of ''text'',
396
-
which was an error.
397
-
[[CSS21]] has initial value of "depends on user agent".
398
-
Do we use <css>auto</css> for things like this,
399
-
or is it just a UA stylesheet issue?
400
-
401
395
This property specifies quotation marks for any number of embedded quotations. Values have the following meanings:
402
396
403
397
<dl dfn-type=value dfn-for=quotes>
@@ -407,11 +401,19 @@ Specifying quotes with the 'quotes' property</h4>
407
401
produce no quotations marks,
408
402
as if they were ''no-open-quote'' and ''no-close-quote'' respectively.
409
403
410
-
<!--
411
404
<dt><dfn>auto</dfn>
412
405
<dd>
413
-
TK
414
-
-->
406
+
A typographically appropriate [=used value=] for 'quotes'
407
+
is automatically chosen by the UA
408
+
based on the [=content language=]
409
+
of the element and/or its parent.
410
+
411
+
Note: The Unicode Common Locale Data Repository [[CLDR]]
412
+
maintains information on typographically apropriate quotation marks.
413
+
UAs can use other sources of information as well,
414
+
particularly as typographic preferences can vary;
415
+
however it is encouraged to submit any improvements to Unicode
416
+
so that the entire software ecosystem can benefit.
415
417
416
418
<dt>[ <<string>> <<string>> ]+
417
419
<dd>
@@ -1309,30 +1311,17 @@ bookmark-state</h3>
1309
1311
* what ::outside::before matches in this case
1310
1312
-->
1311
1313
1312
-
<h2 id="changes">Changes since the 14 May 2003 Working Draft</h2>
1313
-
1314
-
* Terminology section deleted, as that information is now in [[CSS-PSEUDO-4]]
1315
-
1316
-
* Pseudo-elements section replaced by [[CSS-PSEUDO-4]]
1317
-
1318
-
* Automatic counters and numbering section replaced by [[CSS3LIST]]
1319
-
1320
-
* Section on Named strings replaced by content moved from [[CSS3GCPM]]
1321
-
1322
-
* Removed ''icon'' value of content property.
1323
-
1324
-
* Removed ''<glyph>'' values of content property.
1325
-
1326
-
* Bookmarks, Cross References, and Leaders section moved from [[CSS3GCPM]] to this specification
1327
-
1328
-
* Removed mechanisms for moving document content around, including the <code>::alternate</code> pseudo-element and the <code>pending</code> value of the 'content' property.
1314
+
<h2 id="changes">Changes since the 2 June 2016 Working Draft</h2>
1329
1315
1330
-
* Examples of Norwegian and French quotation marks no longer use plus signs and semicolons as delimiters.
1316
+
Significant changes since the <a href="https://www.w3.org/TR/2016/WD-css-content-3-20160602/2 June 2016 Working Draft</a>
1317
+
consist primarily of:
1331
1318
1332
-
* Dave Cramer added as co-editor. Ian Hickson and Håkon Wium Lie are now former editors.
1319
+
<ul>
1320
+
<li>Adding ''quotes/auto'' as the initial value of 'quotes'.
1321
+
<li>Lots of miscellaneous spec clean up: errors, cross-references, overly-loose or sloppy definitions, etc.
1322
+
</ul>
1333
1323
1334
-
* Moved effects of style containement on properties of this specification from the css-contain specification to this one,
1335
-
due to their respective maturity.
1324
+
See also <a href="https://www.w3.org/TR/2016/WD-css-content-3-20160602/#changes">previous changes</a>.
0 commit comments