Skip to content

Commit f05e00a

Browse files
authored
[css-conditional-5] Add new named-feature() keywords. w3c#13677 w3c#13678
1 parent 88d526f commit f05e00a

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

css-conditional-5/Overview.bs

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,26 @@ At-rules</h4>
212212
Named features</h4>
213213

214214
A CSS processor is considered to
215-
<dfn export for=CSS id="dfn-support-named-feature" lt="support a named feature|support the named feature">support an named feature</dfn>
215+
<dfn export for=CSS id="dfn-support-named-feature" lt="support a named feature|support the named feature">support a named feature</dfn>
216216
if it supports the named feature based on the feature definition
217217
described in the following list:
218218

219-
[ No features are currently defined. ]
219+
<dl value for="named-feature()" export>
220+
: <dfn>anchor-position-follows-transforms</dfn>
221+
:: Anchoring to a transformed element automatically takes into account the anchor's transforms,
222+
causing the positioned element to shift to match it.
223+
[[CSS-ANCHOR-POSITIONING]]
224+
225+
(An earlier version of the specification did not take transforms into account.)
226+
227+
: <dfn>single-axis-scroll-container</dfn>
228+
:: The ability to have [=single-axis scroll containers=],
229+
where one axis is scrollable and the other is ''overflow/clip''.
230+
[[CSS-OVERFLOW-4]]
231+
232+
(Previously, specifying ''overflow/clip'' alongside a scrollable value caused it to compute to ''overflow/hidden'',
233+
which is still a scrollable value even if it doesn't generate a scrollbar.)
234+
</dl>
220235

221236
If the feature is not listed the processor does not support the named feature.
222237

0 commit comments

Comments
 (0)