Skip to content

Commit b41865e

Browse files
committed
[css-content-3] Add 'auto' value to 'quotes'. w3c#4074
1 parent 3e4cc54 commit b41865e

File tree

1 file changed

+21
-32
lines changed

1 file changed

+21
-32
lines changed

css-content-3/Overview.bs

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -381,23 +381,17 @@ Specifying quotes with the 'quotes' property</h4>
381381

382382
<pre class='propdef'>
383383
Name: quotes
384-
Value: none | [ <<string>> <<string>> ]+
384+
Value: auto | none | [ <<string>> <<string>> ]+
385385
Initial: depends on user agent
386386
Applies To: all elements
387387
Inherited: yes
388388
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
390390
Animation type: discrete
391391
</pre>
392392

393393
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
394394

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-
401395
This property specifies quotation marks for any number of embedded quotations. Values have the following meanings:
402396

403397
<dl dfn-type=value dfn-for=quotes>
@@ -407,11 +401,19 @@ Specifying quotes with the 'quotes' property</h4>
407401
produce no quotations marks,
408402
as if they were ''no-open-quote'' and ''no-close-quote'' respectively.
409403

410-
<!--
411404
<dt><dfn>auto</dfn>
412405
<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.
415417

416418
<dt>[ <<string>> <<string>> ]+
417419
<dd>
@@ -1309,30 +1311,17 @@ bookmark-state</h3>
13091311
* what ::outside::before matches in this case
13101312
-->
13111313

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 ''&lt;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>
13291315

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:
13311318

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>
13331323

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>.
13361325

13371326
<h2 class="no-num" id="acknowledgements">Acknowledgements</h2>
13381327

0 commit comments

Comments
 (0)