Skip to content

Commit 0b3a1b7

Browse files
committed
[css-anchor-position-1] Editorial tweaks to note/intro text.
1 parent ec00753 commit 0b3a1b7

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

css-anchor-position-1/Overview.bs

+14-11
Original file line numberDiff line numberDiff line change
@@ -1183,11 +1183,10 @@ Inherited: no
11831183
Animation type: discrete
11841184
</pre>
11851185

1186-
There are times when an element's anchors
1187-
are not appropriate for positioning the element with,
1188-
and it would be better to simply not display the element at all.
1189-
'position-visibility' provides several conditions
1190-
where this could be the case.
1186+
There are some conditions in which it might not make sense
1187+
to display an [=absolutely-positioned=] box.
1188+
This property allows such boxes to be made conditionally visible,
1189+
depending on some commonly needed layout conditions.
11911190

11921191
<dl dfn-type=value dfn-for=position-visibility>
11931192
: <dfn>always</dfn>
@@ -1857,7 +1856,7 @@ the following [=properties=]:
18571856

18581857
It is invalid to use ''!important'' on the properties in the <<declaration-list>>.
18591858
Doing so causes the property it is used on to become invalid,
1860-
but does not invalid the ''@property-try'' rule as a whole.
1859+
but does not invalidate the ''@property-try'' rule as a whole.
18611860

18621861
All of the properties in a ''@position-try'' are applied to the element
18631862
as part of the <dfn>Position Fallback Origin</dfn>,
@@ -1875,14 +1874,18 @@ and acts as specified.)
18751874

18761875
Note: The [=accepted @position-try properties=] are the smallest group of properties
18771876
that affect just the size and position of the box itself,
1878-
without changing its contents area.
1879-
This significantly simplifies the implementation of position fallback,
1880-
without reducing the possible behaviors overly much.
1877+
without otherwise changing its contents or styling.
1878+
This significantly simplifies the implementation of position fallback
1879+
while addressing the fundamental need to move an anchor-positioned box
1880+
in response to available space.
1881+
Since these rules override normal declarations in the [=Author Origin=],
1882+
this also limits the poor interactions of ''@position-try'' declarations
1883+
with the normal cascading and inheritance of other properties.
18811884
It is expected that a future extension to [=container queries=]
18821885
will allow querying an element
18831886
based on the position fallback it's using,
1884-
allowing many cases not allowed by this restricted list
1885-
to be handled.
1887+
enabling the sort of conditional styling
1888+
not allowed by this restricted list.
18861889

18871890
Note: If multiple elements using different anchors
18881891
want to use the same fallback positioning,

0 commit comments

Comments
 (0)