E59E Bikeshed fixes · w3c/csswg-drafts@e9366a5 · GitHub
Skip to content

Commit e9366a5

Browse files
xfqtabatkins
authored andcommitted
Bikeshed fixes
Address some fatal errors about aliases of the same base reference.
< 10BC0 div class="d-flex flex-items-center flex-wrap fgColor-muted gap-1">
1 parent 4974f5d commit e9366a5

5 files changed

Lines changed: 17 additions & 17 deletions

File tree

css-line-grid/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Background</h3>
170170
Module Interactions</h3>
171171

172172
This module extends the line box model
173-
defined in [[!CSS21]] sections 9.4.2 and 10.8.
173+
defined in [[!CSS2]] sections 9.4.2 and 10.8.
174174

175175
<h3 id='values'>
176176
Values</h3>
@@ -478,7 +478,7 @@ Snapping Block Boxes: the 'box-snap' property</h3>
478478
(a block's own <a>line grid</a> has no effect on box snapping).
479479
If the box is an empty block that could be
480480
<a href="https://www.w3.org/TR/CSS21/box.html">collapsed through</a>,
481-
then this property has no effect. [[!CSS21]]
481+
then this property has no effect. [[!CSS2]]
482482

483483
To snap a block-level element to a grid line,
484484
take the unsnapped result of layout

css-position/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Previous Version: https://www.w3.org/TR/2012/WD-css3-positioning-20120207/
1414
Editor: Rossen Atanassov, Microsoft, ratan@microsoft.com
1515
Editor: Arron Eicholz, Microsoft, arronei@microsoft.com
1616
!Issues list: <a href="http://wiki.csswg.org/spec/css-position/">in Wiki</a>
17-
Abstract:This module contains the features of CSS level&nbsp;3 relating to positioning and stacking of elements. It includes and extends the functionality of CSS level&nbsp;2 ([[!CSS21]]), which builds on CSS level&nbsp;1 [[CSS1]]. The main extensions compared to level&nbsp;2 are the ability to position elements based on CSS Region boxes, the ability to specify different containing blocks for elements and sticky positioning. <p>Other kinds of layout, such as tables, "floating" boxes, ruby annotations, grid layouts, columns and basic handling of normal "flow" content, are described in other modules. Also, the layout of text inside each line is defined elsewhere.
17+
Abstract:This module contains the features of CSS level&nbsp;3 relating to positioning and stacking of elements. It includes and extends the functionality of CSS level&nbsp;2 ([[!CSS2]]), which builds on CSS level&nbsp;1 [[CSS1]]. The main extensions compared to level&nbsp;2 are the ability to position elements based on CSS Region boxes, the ability to specify different containing blocks for elements and sticky positioning. <p>Other kinds of layout, such as tables, "floating" boxes, ruby annotations, grid layouts, columns and basic handling of normal "flow" content, are described in other modules. Also, the layout of text inside each line is defined elsewhere.
1818
Ignored Terms: div, dl, dfn, attachment-type, attachment-top, attachment-right, attachment-bottom, attachment-left, attachment, scrolling box
1919
Link Defaults: css-transforms-1 (property) transform
2020
Warning: not ready
@@ -110,7 +110,7 @@ Introduction</h2>
110110
the tree of elements order.
111111

112112

113-
In [[!CSS21]], the visual formatting model explained how each element in the
113+
In [[!CSS2]], the visual formatting model explained how each element in the
114114
document tree generates zero or more boxes according to the box model. This
115115
module further explains and extends the positioning scheme. The layout of
116116
these boxes is governed by:
@@ -135,7 +135,7 @@ Introduction</h2>
135135
Module Interactions</h3>
136136

137137
This module replaced and extends the positioning scheme features defined in
138-
[[!CSS21]] sections:
138+
[[!CSS2]] sections:
139139

140140
<ul>
141141
<li>
@@ -379,7 +379,7 @@ Definition of <dfn lt="containing block">containing block</dfn></h3>
379379
current line. The most interesting characteristic of a float (or "floated" or
380380
"floating" box) is that inline-level content may flow along its side (or be
381381
prohibited from doing so by the 'clear' property) or around the floated box.
382-
See the CSS 2.1 [[!CSS21]]<!--CSS Floats module [[!CSS3FLOATS]]--> for details
382+
See the CSS 2.1 [[!CSS2]]<!--CSS Floats module [[!CSS3FLOATS]]--> for details
383383
about <a href="https://www.w3.org/TR/CSS2/visuren.html#floats">floating boxes</a>.
384384

385385
<!-- End section: Floats -->

css-shapes/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Introduction</h2>
5959
<h3 id="module-interactions">
6060
Module Interactions</h3>
6161

62-
This module extends the float features defined in [[!CSS21]] chapter 9.
62+
This module extends the float features defined in [[!CSS2]] chapter 9.
6363

6464
<h3 id="values">Values</h3>
6565

@@ -94,7 +94,7 @@ Terminology</h3>
9494
This specification uses the term <a>wrap</a>
9595
to refer to flowing content
9696
around the sides of a <a>float area</a>,
97-
defined in [[!CSS21]] chapter 9.
97+
defined in [[!CSS2]] chapter 9.
9898
Content <a>wraps</a> around the right side
9999
of a left-floated box,
100100
and content <a>wraps</a> around the left side

css-text-decor/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Introduction</h2>
4848
Module Interactions</h3>
4949

5050
<p>This module replaces and extends the text-decorating
51-
features defined in [[!CSS21]] chapter 16.
51+
features defined in [[!CSS2]] chapter 16.
5252

5353
<h3 id="values">
5454
Values</h3>
@@ -69,7 +69,7 @@ Values</h3>
6969
<dfn><a href="https://www.w3.org/TR/css3-text/#content-language">content language</a></dfn>
7070
as used in this specification are defined in [[!CSS3TEXT]].
7171
Other terminology and concepts used in this specification are defined
72-
in [[!CSS21]] and [[!CSS-WRITING-MODES-3]].
72+
in [[!CSS2]] and [[!CSS-WRITING-MODES-3]].
7373

7474
<h2 id="line-decoration">
7575
Line Decoration: Underline, Overline, and Strike-Through</h2>
@@ -423,7 +423,7 @@ Text Underline Position: the 'text-underline-position' property</h3>
423423

424424
<p>UAs <em>must</em> adjust line positions
425425
to match the shifted metrics of <i>decorating boxes</i> shifted
426-
with 'vertical-align' values other than ''vertical-align/baseline'' [[!CSS21]]
426+
with 'vertical-align' values other than ''vertical-align/baseline'' [[!CSS2]]
427427
or subscripted/superscripted via 'font-variant-position' [[!CSS3-FONTS]],
428428
but <em>must not</em> adjust the line position or thickness
429429
in response to descendants of a <i>decorating box</i> that are so styled.
@@ -839,7 +839,7 @@ Text Shadows: the 'text-shadow' property</h2>
839839
Painting Order of Text Decorations</h2>
840840

841841
<p>
842-
As in [[!CSS21]], text decorations are drawn immediately over/under the text they decorate,
842+
As in [[!CSS2]], text decorations are drawn immediately over/under the text they decorate,
843843
in the following order (bottommost first):
844844
<ul>
845845
<li>shadows ('text-shadow')

css-transforms/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ This coordinate space can be modified with the 'transform' property. Using trans
9696
Module Interactions {#module-interactions}
9797
------------------------------------------
9898

99-
This module defines a set of CSS properties that affect the visual rendering of elements to which those properties are applied; these effects are applied after elements have been sized and positioned according to the <a href="https://www.w3.org/TR/CSS2/visuren.html">visual formatting model</a> from [[!CSS21]]. Some values of these properties result in the creation of a <a href="https://www.w3.org/TR/CSS2/visuren.html#containing-block">containing block</a>, and/or the creation of a <a spec="css21">stacking context</a>.
99+
This module defines a set of CSS properties that affect the visual rendering of elements to which those properties are applied; these effects are applied after elements have been sized and positioned according to the <a href="https://www.w3.org/TR/CSS2/visuren.html">visual formatting model</a> from [[!CSS2]]. Some values of these properties result in the creation of a <a href="https://www.w3.org/TR/CSS2/visuren.html#containing-block">containing block</a>, and/or the creation of a <a spec="css21">stacking context</a>.
100100

101101
Transforms affect the rendering of backgrounds on elements with a value of ''fixed'' for the 'background-attachment' property, which is specified in [[!CSS3BG]].
102102

@@ -121,7 +121,7 @@ When used in this specification, terms have the meanings assigned in this sectio
121121

122122
: <dfn>transformable element</dfn>
123123
:: A transformable element is an element in one of these categories:
124-
* an element whose layout is governed by the CSS box model which is either a <a href="https://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a> or <a href="https://www.w3.org/TR/CSS2/visuren.html#x13">atomic inline-level element</a>, or whose 'display' property computes to ''table-row'', ''table-row-group'', ''table-header-group'', ''table-footer-group'', ''table-cell'', or ''table-caption'' [[!CSS21]]
124+
* an element whose layout is governed by the CSS box model which is either a <a href="https://www.w3.org/TR/CSS2/visuren.html#block-level">block-level</a> or <a href="https://www.w3.org/TR/CSS2/visuren.html#x13">atomic inline-level element</a>, or whose 'display' property computes to ''table-row'', ''table-row-group'', ''table-header-group'', ''table-footer-group'', ''table-cell'', or ''table-caption'' [[!CSS2]]
125125
* an element in the SVG namespace and not governed by the CSS box model which has the attributes 'transform', <{pattern/patternTransform}> or <{linearGradient/gradientTransform}> [[!SVG11]].
126126

127127
: <dfn>transformed element</dfn>
@@ -225,7 +225,7 @@ Note that an identical rendering can be obtained by nesting elements with the eq
225225

226226
For elements whose layout is governed by the CSS box model, the transform property does not affect the flow of the content surrounding the transformed element. However, the extent of the overflow area takes into account transformed elements. This behavior is similar to what happens when elements are offset via relative positioning. Therefore, if the value of the 'overflow' property is ''overflow/scroll'' or ''overflow/auto'', scrollbars will appear as needed to see content that is transformed outside the visible area.
227227

228-
For elements whose layout is governed by the CSS box model, any value other than ''transform/none'' for the transform results in the creation of a stacking context. Implementations must paint the layer it creates, within its parent stacking context, at the same stacking order that would be used if it were a positioned element with ‘z-index: 0’. If an element with a transform is positioned, the ‘z-index’ property applies as described in [[!CSS21]], except that ‘auto’ is treated as ‘0’ since a new stacking context is always created
228+
For elements whose layout is governed by the CSS box model, any value other than ''transform/none'' for the transform results in the creation of a stacking context. Implementations must paint the layer it creates, within its parent stacking context, at the same stacking order that would be used if it were a positioned element with ‘z-index: 0’. If an element with a transform is positioned, the ‘z-index’ property applies as described in [[!CSS2]], except that ‘auto’ is treated as ‘0’ since a new stacking context is always created
229229

230230
For elements whose layout is governed by the CSS box model, any value other than ''transform/none'' for the transform also causes the element to become a containing block, and the object acts as a containing block for fixed positioned descendants.
231231

@@ -406,7 +406,7 @@ Because of the participation to the CSS cascade, the 'transform' style property
406406
Syntax of the SVG 'transform' attribute {#svg-syntax}
407407
---------------------------------------
408408

409-
To provide backwards compatibility, the syntax of the 'transform' presentation attribute differs from the syntax of the 'transform' style property as shown in the example above. However, the syntax used for the 'transform' style property can be used for a 'transform' presentation attribute value. Authors are advised to follow the rules of CSS Values and Units Module [[!CSS3VAL]]. Therefore an author should write ''transform="translate(200px, 200px)"'' instead of ''transform="translate (200 200)"'' because the second example with the spaces before the ''('', the missing comma between the arguments and the values without the explicit unit notation would be valid for the attribute only.
409+
To provide backwards compatibility, the syntax of the 'transform' presentation attribute differs from the syntax of the 'transform' style property as shown in the example above. However, the syntax used for the 'transform' style property can be used for a 'transform' presentation attribute value. Authors are advised to follow the rules of CSS Values and Units Module [[!CSS-VALUES-3]]. Therefore an author should write ''transform="translate(200px, 200px)"'' instead of ''transform="translate (200 200)"'' because the second example with the spaces before the ''('', the missing comma between the arguments and the values without the explicit unit notation would be valid for the attribute only.
410410

411411
### Transform List ### {#svg-transform-list}
412412

@@ -420,7 +420,7 @@ Note: Unlike SVG 1.1, this specification does not allow optional whitespace betw
420420

421421
### SVG Data Types ### {#svg-data-types}
422422

423-
Arguments on all new introduced presentation attributes consist of data types in the sense of CSS Values and Units Module [[!CSS3VAL]]. The definitions of data types in CSS Values and Units Module are enhanced as follows:
423+
Arguments on all new introduced presentation attributes consist of data types in the sense of CSS Values and Units Module [[!CSS-VALUES-3]]. The definitions of data types in CSS Values and Units Module are enhanced as follows:
424424

425425
#### The <<length>> type #### {#svg-transform-value}
426426

0 commit comments

Comments
 (0)