Skip to content

Commit 930a89b

Browse files
committed
Replace Media:all in propdef tables with prose
Closes #2413
1 parent 951fc34 commit 930a89b

File tree

8 files changed

+26
-23
lines changed

8 files changed

+26
-23
lines changed

css-contain-1/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,12 @@ Strong Containment: the 'contain' property</h2>
6161
Initial: none
6262
Inherited: no
6363
Applies to: all elements
64-
Media: all
6564
Computed value: specified value
6665
Animation type: not animatable
6766
</pre>
6867

68+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
69+
6970
The 'contain' property allows an author to indicate that an element and its contents are,
7071
as much as possible,
7172
<em>independent</em> of the rest of the document tree.

css-content-3/Overview.bs

+5-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ Inserting and replacing content with the 'content' property</h2>
9292
Inherited: no
9393
Percentages: n/a
9494
Computed Value: As specified below
95-
Media: all
9695
</pre>
9796

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

9999
The 'content' property dictates what is rendered inside an element or pseudo-element.
100100

@@ -384,9 +384,10 @@ Specifying quotes with the 'quotes' property</h4>
384384
Inherited: yes
385385
Percentages: n/a
386386
Computed Value: specified value
387-
Media: all
388387
</pre>
389388

389+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
390+
390391
Issue: The previous ED had an initial value of ''text'',
391392
which was an error.
392393
[[CSS21]] has initial value of "depends on user agent".
@@ -944,10 +945,11 @@ The string-set property</h4>
944945
Applies to: all elements, but not pseudo-elements
945946
Inherited: no
946947
Percentages: N/A
947-
Media: all
948948
Computed value: specified value
949949
</pre>
950950

951+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
952+
951953
The 'string-set' property copies the text content of an element into a ''named string'',
952954
which functions as a variable.
953955
The text content of this named string can be retrieved using the ''string()'' function.

css-display-3/Overview.bs

+4-2
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,10 @@ Box Layout Modes: the 'display' property</h2>
166166
Inherited: no
167167
Computed value: see prose in a variety of specs
168168
Animatable: no
169-
Media: all
170169
</pre>
171170

171+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
172+
172173
The 'display' property defines an element's <dfn export>display type</dfn>,
173174
which consists of the two basic qualities of how an element generates boxes:
174175

@@ -707,9 +708,10 @@ Toggling Box Generation: the 'display-or-not' property</h2>
707708
Inherited: no
708709
Percentages: n/a
709710
Computed value: as specified
710-
Media: all
711711
</pre>
712712

713+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
714+
713715
The ''display: none'' value was historically used as a "toggle"
714716
to switch between showing and hiding an element.
715717
Making this reversible requires either setting up the CSS <a>cascade</a> carefully,

css-gcpm-3/Overview.bs

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Initial: none
5151
Applies to: all elements, but not pseudo-elements
5252
Inherited: no
5353
Percentages: N/A
54-
Media: all
5554
Computed value: specified value
5655
</pre>
5756

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

5959
The 'string-set' property contains one or more pairs, each consisting of an custom identifier (the name of the named string) followed by a ''content-list'' describing how to construct the value of the named string.
6060

@@ -335,10 +335,11 @@ Initial: none
335335
Applies to: elements
336336
Inherited: no
337337
Percentages: N/A
338-
Media: all
339338
Computed value: specified value
340339
</pre>
341340

341+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
342+
342343
</div>
343344

344345
<h4 id="element-syntax">

css-lists-3/Overview.bs

+6-3
Original file line numberDiff line numberDiff line change
@@ -780,10 +780,11 @@ Manipulating Counters: the 'counter-increment', 'counter-set' and 'counter-reset
780780
Applies to: all elements
781781
Inherited: no
782782
Percentages: n/a
783-
Media: all
784783
Computed value: specified value
785784
</pre>
786785

786+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
787+
787788
The 'counter-reset' property <a lt="create a new counter">creates new counters</a> on an element.
788789
Its values are defined as follows:
789790

@@ -815,21 +816,23 @@ Manipulating Counters: the 'counter-increment', 'counter-set' and 'counter-reset
815816
Applies to: all elements
816817
Inherited: no
817818
Percentages: n/a
818-
Media: all
819819
Computed value: specified value
820820
</pre>
821821

822+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
823+
822824
<pre class='propdef'>
823825
Name: counter-increment
824826
Value: [ <<custom-ident>> <<integer>>? ]+ | none
825827
Initial: none
826828
Applies to: all elements
827829
Inherited: no
828830
Percentages: n/a
829-
Media: all
830831
Computed value: specified value
831832
</pre>
832833

834+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
835+
833836
The 'counter-set' and 'counter-increment' properties
834837
manipulate the value of existing counters.
835838
They only create new counters if there is no counter of the given name on the element yet.

css-preslev-1/Overview.html

+2-6
Original file line numberDiff line numberDiff line change
@@ -273,12 +273,6 @@ <h2 id="presentation-level-property"><span class="secno">2. </span>The
273273
<td>N/A</td>
274274
</tr>
275275

276-
<tr>
277-
<td><em>Media:</em></td>
278-
279-
<td>all</td>
280-
</tr>
281-
282276
<tr>
283277
<td><em>Computed value:</em></td>
284278

@@ -287,6 +281,8 @@ <h2 id="presentation-level-property"><span class="secno">2. </span>The
287281
</tbody>
288282
</table>
289283

284+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
285+
290286
<p>This property sets the element's presentation level (EPL). The values
291287
have the following meanings:</p>
292288

css-preslev-1/Overview.src.html

+2-5
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,14 @@ <h2 id="presentation-level-property">The 'presentation-level' property</h2>
181181
<td>N/A</td>
182182
</tr>
183183

184-
<tr>
185-
<td><em>Media:</em></td>
186-
<td>all</td>
187-
</tr>
188-
189184
<tr>
190185
<td><em>Computed&nbsp;value:</em></td>
191186
<td>integer</td>
192187
</tr>
193188
</table>
194189

190+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
191+
195192
<p>This property sets the element's presentation level (EPL). The
196193
values have the following meanings:</p>
197194

css-variables-1/Overview.bs

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,11 @@ Defining Custom Properties: the '--*' family of properties</h2>
6363
Applies to: all elements
6464
Inherited: yes
6565
Computed value: specified value with variables substituted (but see prose for "invalid variables")
66-
Media: all
6766
Animatable: no
6867
</pre>
6968

69+
<p class=all-media>User Agents are expected to support this property on all media, including non-visual ones.</p>
70+
7071
A <dfn export>custom property</dfn> is any property
7172
whose name starts with two dashes (U+002D HYPHEN-MINUS),
7273
like '--foo'.

0 commit comments

Comments
 (0)