Skip to content

Commit e56ff0b

Browse files
committed
[css-sizing-4] Add changes section.
1 parent ace6ada commit e56ff0b

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

css-sizing-4/Overview.bs

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,61 @@ Percentage Sizing</h3>
798798
<h2 class=no-num id="changes">
799799
Changes</h2>
800800

801+
<h3 class=no-num id="changes-2020-05">
802+
Recent Changes</h3>
803+
Significant changes since the <a href="https://www.w3.org/TR/2020/WD-css-sizing-4-20200526/">26 May 2020 First Public Working Draft</a> include:
804+
805+
* Define [=ratio-determining axis=] as a term.
806+
807+
* Define that min/max sizing constraints are transferred across an aspect-ratio,
808+
(<a href="https://github.com/w3c/csswg-drafts/issues/5257">Issue 5257</a>)
809+
<blockquote>
810+
<p>Additionally, sizing constraints in either axis
811+
(the <var>origin</var> axis)
812+
are transferred through the [=preferred aspect ratio=]
813+
to the other axis (the <var>destination</var> axis)
814+
as follows:
815+
816+
* First, any [=definite=] [=minimum size=] is converted and transferred
817+
from the <var>origin</var> to <var>destination</var> axis.
818+
This transferred minimum is capped
819+
by any [=definite=] [=preferred size|preferred=] or [=maximum size=]
820+
in the <var>destination</var> axis.
821+
* Then, any [=definite=] [=maximum size=] is converted and transferred
822+
from the <var>origin</var> to <var>destination</var>.
823+
This transferred maximum is floored
824+
by any [=definite=] [=preferred size|preferred=] or [=minimum size=]
825+
in the <var>destination</var> axis
826+
as well as by the transferred minimum, if any.
827+
828+
Note: The basic principle is that sizing constraints
829+
transfer through the aspect-ratio to the other side
830+
to preserve the aspect ratio to the extent that they can
831+
without violating any sizes specified explictly on that affected axis.
832+
<!-- This is the principle that drove the contents of the table in CSS2 Section 10.4. -->
833+
</blockquote>
834+
835+
* Clarify that 'aspect-ratio' on a replaced element with only one intrinsic dimension determines the other dimension.
836+
(<a href="https://github.com/w3c/csswg-drafts/issues/5306">Issue 5306</a>)
837+
<blockquote>
838+
<p>If a replaced element's only [=intrinsic dimension=]
839+
is an intrinsic width or an intrinsic height,
840+
giving it a [=preferred aspect ratio=]
841+
also gives it an intrinsic height or width,
842+
whichever was missing,
843+
by transferring the existing size
844+
through the [=preferred aspect ratio=].
845+
</blockquote>
846+
847+
* Define that 'aspect-ratio' inhibits margin self-collapsing
848+
(<a href="https://github.com/w3c/csswg-drafts/issues/5328">Issue 5328</a>)
849+
<blockquote>
850+
<p>For the purpose of margin collapsing ([[css2/box#collapsing-margins]]),
851+
if the [=block axis=] is the [=ratio-dependent axis=],
852+
it is not considered to have a [=computed value|computed=] 'block-size' of ''height/auto''.
853+
</blockquote>
854+
855+
801856
<h3 class=no-num id="additions-L3">
802857
Additions Since Level 3</h3>
803858

0 commit comments

Comments
 (0)