@@ -390,12 +390,12 @@ Specifying quotes with the 'quotes' property</h4>
390
390
391
391
<pre class='propdef'>
392
392
Name : quotes
393
- Value : auto | none | [ <<string>> <<string>> ]+
393
+ Value : auto | none | match-parent | [ <<string>> <<string>> ]+
394
394
Initial : auto
395
395
Applies To : all elements
396
396
Inherited : yes
397
397
Percentages : n/a
398
- Computed Value : the keyword ''quotes/none'', the keyword ''quotes/auto'', or a list, each item a pair of string values
398
+ Computed Value : the keyword ''quotes/none'', the keyword ''quotes/auto'' or ''quotes/match-parent'' , or a list, each item a pair of string values
399
399
Animation type : discrete
400
400
</pre>
401
401
@@ -428,6 +428,18 @@ Specifying quotes with the 'quotes' property</h4>
428
428
however it is encouraged to submit any improvements to Unicode
429
429
so that the entire software ecosystem can benefit.
430
430
431
+ <dt> <dfn>match-parent</dfn>
432
+ <dd>
433
+ Specifies the same [=quotation mark system=] as the the parent.
434
+ In general this is equivalent to inheriting the parent's [=computed value=] ,
435
+ except that ''quotes/auto'' it resolves
436
+ using the same [=content language=] that the parent used.
437
+
438
+ Issue: Two possible approaches here, currently speccing the latter:
439
+ a) this computes to the relevant string values, and inherits as such.
440
+ b) this value effectively inherits as a keyword + a language code,
441
+ meaning ''quotes/auto'' , but with this language.
442
+
431
443
<dt> [ <<string>> <<string>> ] +
432
444
<dd>
433
445
The [=quotation mark system=] is defined as
@@ -1335,6 +1347,8 @@ bookmark-state</h3>
1335
1347
<li> Updated ''quotes/auto'' to reference the <em> parent</em> [=content language=]
1336
1348
rather than the [=content language=] of the element itself.
1337
1349
(<a href="https://github.com/w3c/csswg-drafts/issues/5478">Issue 5478</a> )
1350
+ <li> Added ''quotes/match-parent'' value to 'quotes' .
1351
+ (<a href="https://github.com/w3c/csswg-drafts/issues/5478">Issue 5478</a> )
1338
1352
<li> Miscellaneous editorial spec clean up.
1339
1353
</ul>
1340
1354
0 commit comments