Skip to content

Commit c5fdfb3

Browse files
committed
[css-pseudo] Add ::marker { font-variant: tabular-nums; } to UA style sheet.
1 parent 3e51e86 commit c5fdfb3

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

css-pseudo/Overview.bs

+7-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ Editor: fantasai, Invited Expert, http://fantasai.inkedblade.net/contact
1414
Editor: Alan Stearns, Adobe Systems Inc., stearns@adobe.com
1515
Abstract: This CSS module defines pseudo-elements, abstract elements that represent portions of the CSS render tree that can be selected and styled.
1616
Ignored Terms: initial-letter
17-
Link Defaults: css-color-3 (property) color
17+
</pre>
18+
<pre class="link-defaults">
19+
spec:css-color-3; type:value; text:currentcolor
20+
spec:css-color-3; type:property; text:color
1821
</pre>
1922

2023
<h2 id="intro">Introduction</h2>
@@ -674,6 +677,9 @@ List Markers: the ''::marker'' pseudo-element</h3>
674677
however at the moment marker box layout is not fully defined,
675678
so only these properties are allowed.
676679

680+
UAs must add the following rule to their default style sheet:
681+
<pre>::marker { font-variant-numeric: tabular-nums; }</pre>
682+
677683
<h3 id="placeholder-pseudo">
678684
Placeholder Input: the ''::placeholder'' pseudo-element</h3>
679685

css-pseudo/Overview.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="contents"><span class="cont
230230

231231

232232

233+
233234
<h2 class="heading settled" data-level="1" id="intro"><span class="secno">1. </span><span class="content">Introduction</span><a class="self-link" href="#intro"></a></h2>
234235

235236

@@ -824,7 +825,7 @@ <h3 class="heading settled" data-level="3.2" id="highlight-styling"><span class=
824825
<p>If <a class="property" data-link-type="propdesc" href="http://www.w3.org/TR/css3-color/#color0">color</a> is not specified, the text (and text decoration)'s
825826
unselected color must be used for the highlight.
826827
(As usual, the initial <a class="property" data-link-type="propdesc" href="http://www.w3.org/TR/css3-background/#background-color">background-color</a> is <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-color-4/#valdef-color-transparent">transparent</a>.)
827-
Issue: Can we reuse <a class="css" data-link-type="maybe" href="http://dev.w3.org/csswg/css-color-4/#valdef-color-currentcolor">currentColor</a> for this, now that it computes to itself?</p>
828+
Issue: Can we reuse <span class="css">currentColor</span> for this, now that it computes to itself?</p>
828829

829830

830831
<p>The UA should use the OS-default highlight colors
@@ -1083,6 +1084,11 @@ <h3 class="heading settled" data-level="4.2" id="marker-pseudo"><span class="sec
10831084
so only these properties are allowed.
10841085

10851086
</p>
1087+
<p>UAs must add the following rule to their default style sheet:</p>
1088+
1089+
<pre>::marker { font-variant-numeric: tabular-nums; }</pre>
1090+
1091+
10861092
<h3 class="heading settled" data-level="4.3" id="placeholder-pseudo"><span class="secno">4.3. </span><span class="content">
10871093
Placeholder Input: the <a class="css" data-link-type="maybe" href="#selectordef-placeholder">::placeholder</a> pseudo-element</span><a class="self-link" href="#placeholder-pseudo"></a></h3>
10881094

0 commit comments

Comments
 (0)