Add the <syntax> Production by andruud · Pull Request #2 · andruud/csswg-drafts · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the <syntax> Production #2

Closed
wants to merge 89 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
de3cd9b
[css-anchor-position] Mention anchor-scope explicitly in the definiti…
tabatkins May 23, 2024
a1e53bb
[css-anchor-position] Move/rephrase the explanatory note a little to …
tabatkins May 23, 2024
1839d5c
Disambiguate line breaks around atomic inlines at element boundaries
frivoal May 27, 2024
6b3a79f
[css-text] Update test coverage
frivoal May 27, 2024
bc815b4
[css-values-5] Specify calc-size() simplification. #10220
tabatkins May 28, 2024
32dee03
[css-text-4] Clamp then balance
frivoal May 29, 2024
41d5bbf
[css-text] Test coverage
frivoal May 29, 2024
1276b4c
[css-text-4] Add test info
frivoal May 29, 2024
3a594c5
[css-text-4] Update changelog
frivoal May 29, 2024
8929227
[css-text-4] Add math-auto value
frivoal May 29, 2024
78ae39c
[css-text-4] Use single | for math-auto
frivoal May 29, 2024
377fe27
[css-text-4] Test coverage
frivoal May 29, 2024
8d71830
[css-text-4] Update changelog
frivoal May 29, 2024
9b51281
[css-text-4] Changelog update
frivoal May 29, 2024
14a2b31
[css-text-4] Post publication update
frivoal May 29, 2024
3856796
[css-anchor-position] Make anchor()/anchor-size() keywords in the fir…
tabatkins May 29, 2024
4d318a3
[css-anchor-position] Make anchor-size()'s axis keyword optional. #10318
tabatkins May 29, 2024
95984f6
[css-anchor-position] Remove the inset-area() wrapper around the posi…
tabatkins May 29, 2024
e0a3329
[css-align][css-position][css-anchor-position] Define the new 'shift …
tabatkins May 29, 2024
14ad5fa
[css-text-4] Fix typo
frivoal May 30, 2024
f0e58f6
[css-contain-1] Test Coverage update
frivoal May 30, 2024
ec5145d
[css-contain] Test coverage update
frivoal May 30, 2024
d7bc038
[css-contain] Fix bikeshed warning
frivoal May 30, 2024
7ae0583
[css-contain-2] Test coverage
frivoal May 30, 2024
b642005
[css-contain-2] Test coverage
frivoal May 30, 2024
bbe1557
[css-contain-2] Update terminology
frivoal May 30, 2024
eddb190
[css-contain-2] Fix bikeshed warning
frivoal May 30, 2024
1340485
[css-contain-2] contain:style only applies if there is a principal box
frivoal May 30, 2024
42213b0
Fix typo
ranma42 May 4, 2024
0f41712
Define "part-like pseudo-element", from #10083. (#10199)
tabatkins May 30, 2024
3715f00
Add ::details-content pseudo-element. (#10379)
dbaron May 30, 2024
8e5024c
[css-contain-1] status/metadata update
frivoal May 31, 2024
a533ab9
[css-align-3] Rearrange the auto-safety text, and add in the resoluti…
tabatkins May 31, 2024
5814df6
[css-viewport] Add clarification that path() contents are zoomed (#10…
chrishtr Jun 3, 2024
3a7db3e
[css-pseudo-4] Fix formatting and error in example.
dbaron Jun 3, 2024
ce0c83b
Change `shadowRoots` from rest parameter to a dictionary with an arra…
siliu1 May 21, 2024
16c20b5
[css-anchor-position][editorial] markup typo
tabatkins Jun 5, 2024
ff353bd
[css-values-5] Simplify example in calc-size() explainer.
dbaron Jun 5, 2024
ec53218
[css-overflow-5] Start css-overflow-5 spec (#10417)
flackr Jun 10, 2024
a660292
[css-box-4] Allowed combination of block and inline keywords in margi…
SebastianZ Jun 11, 2024
278efac
[css-overflow-5] Define scroll-markers (#10243)
flackr Jun 13, 2024
bc5effb
[css-display-4] Change reading-order-items to reading-flow
rachelandrew Jun 13, 2024
18abc7c
[css-contain] Update test coverage
frivoal Jun 13, 2024
bdc1a95
[css-contain] Test coverage
frivoal Jun 13, 2024
cda4f34
[css-contain] Move inline-size containment from L2 to L3
frivoal Jun 14, 2024
0cf6561
[css-contain-2] Update changelog
frivoal Jun 14, 2024
220a4af
[css-contain] Move info on content-visibility animations from L3 to L2
frivoal Jun 14, 2024
5dc7c15
[css-overflow-4] Fix bikeshed error
frivoal Jun 14, 2024
d64766c
[css-overflow-4] Fix indentation and source formatting
frivoal Jun 14, 2024
dcc75ed
[css-overflow-4] continue:discard makes the box establish an IFC
frivoal Jun 14, 2024
7d8a234
[css-overflow-4] Add Andreu to acknowledgements
frivoal Jun 14, 2024
544f0df
[css-overflow-4] Update changelog
frivoal Jun 14, 2024
3e2b38d
[css-overflow-4] Adjust handling of -webkit-box and -webkit-box-orient
frivoal Jun 14, 2024
686b695
[css-contain-2] Source formatting adjustments
frivoal Jun 15, 2024
df306f8
[css-contain-1] Fold in corrections 1 through 3
frivoal Jun 15, 2024
6993c34
[css-ui-4] Define behavior for (semi) transparent accent colors
frivoal Jun 17, 2024
720ea28
[css-values-4] Add generic <boolean> grammar, so the increasing numbe…
tabatkins Jun 17, 2024
23459f3
[css-contain][css-conditional] Move container queries
frivoal Jun 14, 2024
de4b5bc
[css-contain-3] Remove acknowledgements since they're in the target spec
frivoal Jun 17, 2024
df3d281
[css-conditional-5] Remove editors from acknowledgements
frivoal Jun 17, 2024
02ecea2
[css-conditional-5] Add previous co-editor to acknowledgements
frivoal Jun 17, 2024
814cd8a
[css-color-4] <hue> is already normalized at parse time
cdoublev Jun 12, 2024
7a3be3b
[css-color-5] <hue-interpolation-method> error occurs at parse time
cdoublev Jun 10, 2024
1bc49f4
[css-view-transitions][editorial] Back to ED, fix #10394
svgeesus Jun 19, 2024
3bc983d
[css-color-4] CSS gamut mapping applies on actual values
cdoublev Jun 19, 2024
80d82c8
docs: remove redundant “to”
j9t Jun 7, 2024
ff6b225
[css-color-5] Added references to FOGRA39, 51 and 55
svgeesus Jun 19, 2024
c60a1db
[css-color-5][editorial] wpt
svgeesus Jun 19, 2024
526599a
[css-contain-3] Keep anchors working
frivoal Jun 20, 2024
13dcdb4
[css-pseudo-4] Simplified example of `::details-content` (#10476)
yisibl Jun 20, 2024
cbb8bd6
[css-color-4] Clarify which component in XYZ corresponds to brightness
svgeesus Jun 20, 2024
8162ace
[css-color-4] Add XYZ examples for white (D65 has Z greater than 1)
svgeesus Jun 20, 2024
405421e
whoops
svgeesus Jun 20, 2024
c940f1f
[css-color-4][editorial][sigh] whoops
svgeesus Jun 20, 2024
a305768
[css-contain-1][editorial] Updates for publication
svgeesus Jun 21, 2024
c0bdec0
[css-color-hdr] Correct 2100-pq black luminance to ≤ 0.005 cd/m², fix…
svgeesus Jun 21, 2024
9bcae1d
[css-scroll-snap-2] Set pseudo snap Targets to their owning elements.…
DavMila Jun 21, 2024
c021927
[css-scroll-snap-2] Snap events bubble at the document. (#10377)
DavMila Jun 21, 2024
2c40247
[css-scroll-snap-2] Specify scroll-start-target (#10227)
DavMila Jun 21, 2024
f7925c6
[cssom] [css-page] Add orientation to CSSPageDescriptors
Jun 22, 2024
92f905e
[css-color-4][editorial] wpt
svgeesus Jun 22, 2024
2c2bf4b
[css-color-4][editorial] Update changes to 21 June
svgeesus Jun 22, 2024
04c6bfb
[css-color-4][editorial] typo in autolink
svgeesus Jun 22, 2024
b9a34b4
[css-color-4][editorial] wpt
svgeesus Jun 22, 2024
65b0206
[css-color-5][editorial] Update changes to 19 June 2024
svgeesus Jun 22, 2024
d2ca460
[css-color-5] Added accessibility considerations section
svgeesus Jun 22, 2024
7d8f87c
[css-nesting] Retire @nest, introduce the 'nested declarations rule' …
andruud Jun 25, 2024
e4ba280
[css-mixins] Add CSS Functions and Mixins specification (#10367)
andruud Jun 25, 2024
6cb87f9
[css-mixins-1] Use the <syntax> Production for param types
andruud May 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 83 additions & 23 deletions css-align-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,9 @@ Distributed Alignment: the ''<content-distribution>/stretch'', ''space-between''

These values are represented with the <<content-distribution>> grammar term:

<pre class='prod'><dfn>&lt;content-distribution></dfn> = space-between | space-around | space-evenly | stretch</pre>
<pre class='prod'>
<dfn>&lt;content-distribution></dfn> = space-between | space-around | space-evenly | stretch
</pre>

<h3 id='overflow-values'>
Overflow Alignment: the ''safe'' and ''unsafe'' keywords and scroll safety limits</h3>
Expand Down Expand Up @@ -865,31 +867,86 @@ Overflow Alignment: the ''safe'' and ''unsafe'' keywords and scroll safety limit
<dt>(no value specified)
<dd>
If the <a>overflow alignment</a> isn't explicitly specified,
the default <a>overflow alignment</a> is a blend of “safe” and “unsafe”
in that an overflowing <a>alignment subject</a> is allowed to overflow its <a>alignment container</a>,
but if this would cause it to also overflow
the <a>scrollable overflow area</a> of its nearest ancestor <a>scroll container</a>
(thus extending into the “unscrollable” region),
then its overflow in that direction is limited
by biasing any remaining overflow to the opposite side.

Issue: It may not be Web-compatible to implement the “smart” default behavior
(though we hope so, and believe it to be likely),
so UAs should pass any feedback on this point to the WG.
UAs that have not implemented the “smart” default behavior
must behave as ''safe'' for 'align-content' on [=block containers=]
and ''unsafe'' otherwise.
the default <a>overflow alignment</a> is a blend of “safe” and “unsafe”.
See [[#auto-safety]] for details.
</dl>


<!--
██████ ███████ ██ ██ ████████ ████████ ██ ██ ████████
██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ███ ██ ██
██ ██ ██ ██ ██ ████ ██ ██ ██ ████ ██ ██
█████████ ███████ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ████ ██
██ ██ ██ ██ ██ ██ ██ ███ ██ ██ ██ ███ ██
██████ ███████ ██ ██ ██ ████████ ██ ██ ██
<h4 id=auto-safety>
Automatic Overflow Alignment Safety</h4>

If no [=overflow alignment=] mode is specified for a property,
the default behavior lies somewhere between ''safe'' and ''unsafe'',
and also varies by layout mode.

<h5 id=auto-safety-scroll>
Content Distribution for Scroll Containers</h5>

The default [=overflow alignment=] behavior
for [=content distribution=] on [=scroll containers=] is ''unsafe''.
Non-''normal'' values of the [=content distribution properties=] instead
alter the [=scrollable overflow area=] in order to allow access to the overflowing content.
See [[#overflow-scroll-position]].

<h5 id=auto-safety-position>
Self-Alignment for Absolutely Positioned Boxes</h5>

For [=absolutely positioned=] [=alignment subjects=] whose

* relevant [=self-alignment property=] is not ''justify-self/normal'' and
* whose 'inset-area' property successfully defines an [=inset-area grid=]

the default [=overflow alignment=] behavior is as follows:

1. If the [=alignment subject=] overflows its [=inset-modified containing block=]
(its normal [=alignment container=]),
but does not overflow its [=original containing block=]
align as specified (''unsafe'').
2. If the <em>size</em> of the [=alignment subject=]
fits within its [=original containing block=],
but its specified alignment would cause it to overflow the [=original containing block=],
it is instead shifted the minimum amount
to stay within the [=original containing block=]
while honoring the alignment as much as possible
(i.e., flush with the edge of the [=original containing block=]
it was trying to overflow over).
3. If the size of the [=alignment subject=]
overflows the [=original containing block=],
it is instead start-aligned within the [=original containing block=]
(similar to ''safe'').

(For [=absolutely-positioned=] [=alignment subjects=] that fail the above conditions,
see [[#auto-safety-defaults]].)

<h5 id=auto-safety-default>
All Other Alignment</h5>

For all other elements:

1. If the [=alignment subject=] overflows its [=alignment container=],
align as specified (''unsafe'').
2. If the [=alignment subject=] would overflow
the [=scrollable overflow area=] of its nearest ancestor [=scroll container=],
(thus extending into the “unscrollable” region),
then its overflow in that direction is limited
by biasing any remaining overflow to the opposite side.

Issue: It may not be Web-compatible to implement the “smart” default behavior
(though we hope so, and believe it to be likely),
so UAs should pass any feedback on this point to the WG.
UAs that have not implemented the “smart” default behavior
must behave as ''safe'' for 'align-content' on [=block containers=]
and ''unsafe'' otherwise.

<!-- Big Text: *-content

███▌ ███▌ █ █▌ █████▌ █████▌ █ █▌ █████▌
█ █ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
█ █ █▌ █▌ █▌ ██▌ █▌ █▌ █▌ ██▌ █▌ █▌
███████ ████▌ █▌ █▌ █▌ █▌▐█ █▌ █▌ ████ █▌▐█ █▌ █▌
█ █ █▌ █▌ █▌ █▌ ██▌ █▌ █▌ █▌ ██▌ █▌
█ █ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
███▌ ███▌ █▌ ▐▌ █▌ █████▌ █▌ ▐▌ █▌
-->

<h2 id='content-distribution'>
Expand Down Expand Up @@ -1116,6 +1173,9 @@ Overflow and Scroll Positions</h3>
of the <a>scroll container</a>
satisfies the [[#alignment-values|expected alignment]]
of the <a>alignment subject</a> and <a>alignment container</a>.
However, the [[css-scroll-snap-2#scroll-start-target-with-place-content|scroll-start-target]]
property, when present, overrides the <a>content-distribution properties</a>
in determining the <a>initial scroll position</a>.

Note: The presence of scrollbars can change the size of the [=scroll container’s=] content box,
and thus the size of the [=alignment container=]
Expand Down
123 changes: 83 additions & 40 deletions css-anchor-position-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,20 @@ that should match an 'anchor-name' value elsewhere on the page,
or the keyword ''implicit'',
or nothing (a missing specifier).

Note: The general rule captured by these conditions
is that an element can only be an anchor
if it's fully laid out
before the positioned element that wants to reference it
is laid out.
CSS's layout rules provide some useful guarantees about this,
depending on the anchor and positioned element's relationship
with each other and their containing blocks.
The list of conditions below
exactly rephrases the stacking context rules
into just what's relevant for this purpose,
ensuring there is no possibly circularity
in anchor positioning.

<div algorithm>
To determine the <dfn>target [=anchor element=]</dfn>
given a querying element |query el|
Expand Down Expand Up @@ -339,17 +353,6 @@ or nothing (a missing specifier).
which can affect what elements can be [=anchor elements=]
for a given lookup.

Note: The general rule captured by these conditions
is that |el| must be fully laid out
before |query el| is laid out.
CSS's rules about the layout order of stacking contexts
give us assurances about this,
and the list of conditions above
exactly rephrases the stacking context rules
into just what's relevant for this purpose,
ensuring there is no possibly circularity
in anchor positioning.

Note: An 'anchor-name' defined by styles in one [=shadow tree=]
won't be seen by [=anchor functions=] in styles in a different [=shadow tree=],
preserving encapsulation.
Expand Down Expand Up @@ -384,6 +387,10 @@ or nothing (a missing specifier).
or a [=part-like pseudo-element=].

* |el| is not in the [=skipped contents=] of another element.

* |el| is in scope for |query el|,
per the effects of 'anchor-scope' on |query el|
or its ancestors.
</div>

<!-- Big Text: default
Expand Down Expand Up @@ -552,25 +559,53 @@ Its syntax is:
or is not an [=absolutely-positioned=] element,
this value has no effect.

Otherwise, the property selects a region of the [=inset-area grid=],
and makes that the element's [=containing block=].
Otherwise, it has the following effects:

* The property selects a region of the [=inset-area grid=],
and makes that the element's [=containing block=].
See [[#resolving-spans]] for details.

Note: This means that the [=inset properties=] specify offsets from the inset-area,
and some property values,
like ''max-height: 100%'',
will be relative to the inset-area as well.
Note: This means that the [=inset properties=] specify offsets from the inset-area,
and some property values,
like ''max-height: 100%'',
will be relative to the inset-area as well.

Additionally, the ''align-self/normal'' value for the [=self-alignment properties=]
behaves as either ''align-self/start'', ''align-self/end'',
or ''align-self/anchor-center'',
depending on the positioning of the region,
to give a good default alignment for the positioned element.
* The ''align-self/normal'' value for the [=self-alignment properties=]
behaves as either ''align-self/start'', ''align-self/end'',
or ''align-self/anchor-center'',
depending on the positioning of the region,
to give a good default alignment for the positioned element.
Again, see [[#resolving-spans]] for details.

See [[#resolving-spans]] for details on both of these effects.
* Any ''top/auto'' [=inset properties=] resolve to ''0''.

Also, any ''top/auto'' [=inset properties=] resolve to ''0''.
* The element is not considered to be in a [=legacy alignment mode=]
in either axis.
</dl>

<div class=note>
If the element overflows its 'inset-area' (and 'inset') -modified [=containing block=],
but would still fit within its [=original containing block=],
by default it will "shift" to stay within its [=original containing block=],
even if that violates its normal alignment.
See [[css-align-3#overflow-values]] for details.

This behavior makes it more likely
that positioned elements remain visible
and within their intended bounds,
even when their [=containing block=]
ends up smaller than anticipated.

For example, an ''inset-area: bottom span-right'' value
lets the positioned element stretch
from its anchors left edge
to its containing block's right edge,
and left-aligns it in that space by default.
But if the positioned element is larger than that space
(such as if the anchor is very close to the right edge of the screen),
it will shift leftwards to stay visible.
</div>


<h4 id=resolving-spans>
Resolving <<inset-area>>s</h4>
Expand Down Expand Up @@ -713,7 +748,7 @@ The ''anchor()'' function resolves to a <<length>>.
It is only valid to be used in the [=inset properties=].

<pre class=prod>
&lt;anchor()> = anchor( <<anchor-element>>? <<anchor-side>>, <<length-percentage>>? )
&lt;anchor()> = anchor( <<anchor-element>>? && <<anchor-side>>, <<length-percentage>>? )
<dfn><<anchor-element>></dfn> = <<dashed-ident>>
<dfn><<anchor-side>></dfn> = inside | outside
| top | left | right | bottom
Expand Down Expand Up @@ -911,18 +946,20 @@ in the relevant axis.

Additionally,
any ''top/auto'' [=inset properties=] resolve to ''0''.
However, the [=available space=] for the positioned element in the relevant axis
is reduced to the size of the largest rectangle
that is centered on the [=default anchor element=]
and doesn't overflow the [=inset-modified containing block=].
(Possibly being zero-sized,
if the anchor's center is not within the [=inset-modified containing block=].)

If the element is not [=absolutely positioned=],
or does not have a [=default anchor element=],
this value behaves as ''<self-position>/center''
and has no additional effect on how [=inset properties=] resolve.

Note: Similar to 'inset-area',
when using ''anchor-center'',
if the anchor is too close to the edge of the element's
[=original containing block=],
by default it will "shift" from being purely centered,
to instead remain within the [=original containing block=].
See [[css-align-3#overflow-values]] for more details.


<!-- Big Text: scroll

Expand Down Expand Up @@ -1067,12 +1104,12 @@ it makes the declaration referencing it [=invalid at computed-value time=].
<!-- Big Text: visibility

█▌ █▌ ████ ███▌ ████ ████▌ ████ █▌ ████ █████▌ █ ▐▌
█▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ ▐▌ █
█▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █ ▐▌
▐▌ █ ▐▌ ███▌ ▐▌ █████ ▐▌ █▌ ▐▌ █▌ ▐▌█
█ ▐▌ ▐▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌
▐▌ █ ▐▌ █▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌
▐█ ████ ███▌ ████ ████▌ ████ █████ ████ █▌ █▌
█▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ ▐▌ █
█▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █ ▐▌
▐▌ █ ▐▌ ███▌ ▐▌ █████ ▐▌ █▌ ▐▌ █▌ ▐▌█
█ ▐▌ ▐▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌
▐▌ █ ▐▌ █▌ █▌ ▐▌ █▌ █▌ ▐▌ █▌ ▐▌ █▌ █▌
▐█ ████ ███▌ ████ ████▌ ████ █████ ████ █▌ █▌
-->

Conditional Hiding: the 'position-visibility' property {#position-visibility}
Expand Down Expand Up @@ -1237,7 +1274,7 @@ The ''anchor-size()'' Function {#anchor-size-fn}
------------------------------

<pre class=prod>
anchor-size() = anchor-size( <<anchor-element>>? <<anchor-size>>, <<length-percentage>>? )
anchor-size() = anchor-size( [ <<anchor-element>> || <<anchor-size>> ]? , <<length-percentage>>? )
<dfn><<anchor-size>></dfn> = width | height | block | inline | self-block | self-inline
</pre>

Expand Down Expand Up @@ -1266,6 +1303,12 @@ according to either the [=writing mode=] of the element
or the [=writing mode=] of the element's [=containing block=]
(for ''anchor-size()/block'' and ''anchor-size()/inline'').

If the <<anchor-size>> keyword is omitted,
it defaults to behaving as whatever keyword
matches the axis of the property that ''anchor-size()'' is used in.
(For example, ''width: anchor-size()''
is equivalent to ''width: anchor-size(width)''.)

An ''anchor-size()'' function representing a [=valid anchor-size function=]
resolves at [=computed value=] time
(via [=style & layout interleaving=])
Expand Down Expand Up @@ -1337,7 +1380,7 @@ Giving Fallback Options: the 'position-try-options' property {#position-try-opti

<pre class=propdef>
Name: position-try-options
Value: none | [ [<<dashed-ident>> || <<try-tactic>>] | inset-area( <<'inset-area'>> ) ]#
Value: none | [ [<<dashed-ident>> || <<try-tactic>>] | <<'inset-area'>> ]#
Initial: none
Inherited: no
Applies to: [=absolutely-positioned=] elements
Expand Down Expand Up @@ -1423,7 +1466,7 @@ Values have the following meanings:

Otherwise, does nothing.

: <dfn>inset-area( <<'inset-area'>> )</dfn>
: <dfn><<'inset-area'>></dfn>
::
Automatically creates a [=position option=]
composed solely of an 'inset-area' property
Expand Down
2 changes: 1 addition & 1 deletion css-box-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Margins at Container Edges: the 'margin-trim' property {#margin-trim}

<pre class="propdef">
Name: margin-trim
Value: none | block | inline | [ block-start || inline-start || block-end || inline-end ]
Value: none | [ block || inline ] | [ block-start || inline-start || block-end || inline-end ]
Initial: none
Applies to: [=block containers=], [=multi-column containers=], [=flex containers=], [=grid containers=]
Inherited: no
Expand Down
Loading