File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ Taking Scroll Into Account: the 'anchor-scroll' property {#scroll}
449449<pre class=propdef>
450450Name : anchor-scroll
451451Value : none | default | <<anchor-element>>
452- Initial : none
452+ Initial : default
453453Inherited : no
454454Applies to : [=absolutely-positioned=] elements
455455Animation Type : discrete
@@ -489,6 +489,11 @@ Its values are:
489489 which will be compensated for in positioning and fallback.
490490</dl>
491491
492+ Note: When the element uses 'anchor-default'
493+ or has an [=implicit anchor element=] ,
494+ authors can often avoid explicitly setting an 'anchor-scroll' value
495+ because the initial value is ''anchor-scroll/default'' .
496+
492497<div algorithm="compensate for scroll">
493498 If 'anchor-scroll' is not ''anchor-scroll/none''
494499 on an [=absolutely-positioned=] element |query el|,
You can’t perform that action at this time.
0 commit comments