Skip to content

Commit b5f3871

Browse files
committed
[css-values-4] Switch vi/vb to use writing mode of element itself. w3c#6873
1 parent e30e59c commit b5f3871

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

css-values-4/Overview.bs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ The Various Viewport-relative Units</h5>
21142114
[=small viewport size=],
21152115
and [=dynamic viewport size=]
21162116
(respectively)
2117-
in the direction of the root element's inline axis.
2117+
in the box’s [=inline axis=].
21182118

21192119
<dt><dfn lt=vb>vb unit</dfn>
21202120
<dt><dfn lt=svb>svb unit</dfn>
@@ -2127,7 +2127,7 @@ The Various Viewport-relative Units</h5>
21272127
[=large viewport size=],
21282128
and [=dynamic viewport size=]
21292129
(respectively)
2130-
in the direction of the root element's block axis.
2130+
in the box’s [=block axis=].
21312131

21322132
<dt><dfn lt="vmin">vmin unit</dfn>
21332133
<dt><dfn lt="svmin">svmin unit</dfn>
@@ -2171,7 +2171,7 @@ The Various Viewport-relative Units</h5>
21712171
but can also block critical content (such as toolbars, headers, and footers) in others.
21722172
It's therefore not entirely clear whether this is the best mapping.
21732173

2174-
In situations where there is no root element
2174+
In situations where there is no element
21752175
or it hasn't yet been styled
21762176
(such as when evaluating <a>media queries</a>),
21772177
the ''*vi'' and ''*vb'' units use the initial value of the 'writing-mode' property
@@ -5191,9 +5191,11 @@ Recent Changes</h3>
51915191

51925192
(This is a subset of [[#additions-L3]].)
51935193

5194-
Substantial since <a href="https://www.w3.org/TR/2021/WD-css-values-4-20211016/">16 October 2021 WD</a>:
5194+
Substantial changes since <a href="https://www.w3.org/TR/2021/WD-css-values-4-20211016/">16 October 2021 WD</a>:
51955195

51965196
<ul>
5197+
<li>Switched ''*vi'' and ''*vb'' units to resolve against the computed [=writing mode=] of the element itself.
5198+
(<a href="https://github.com/w3c/csswg-drafts/issues/6873">Issue 6873</a>)
51975199
<li>Added [[#url-process]] to define integration with CORS, etc.
51985200
(<a href="https://github.com/w3c/csswg-drafts/issues/562">Issue 562</a>)
51995201
<li>Fixed the inverted assignment of [=viewport-percentage length=] behaviors

0 commit comments

Comments
 (0)