From 51ce3bc9f3a2f132e2e010adfe5cdfbd0cf441bd Mon Sep 17 00:00:00 2001 From: Robert Flack Date: Mon, 31 Mar 2025 17:51:38 -0400 Subject: [PATCH] [css-overflow-5] Default style of ::scroll-marker and ::scroll-button(*) is like link and button respectively Per the resolution in #10935, the default style of ::scroll-marker pseudo-elements is like links, and ::scroll-button(*) pseudo-elements is like buttons including switching based on the appearance property. --- css-overflow-5/Overview.bs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css-overflow-5/Overview.bs b/css-overflow-5/Overview.bs index 710ea398a3e..11ea4ba6367 100644 --- a/css-overflow-5/Overview.bs +++ b/css-overflow-5/Overview.bs @@ -292,6 +292,8 @@ The 'scroll-marker-group' property on its nearest ancestor [=scroll container=]. These boxes are added in the [=tree order=] of their originating element. + These pseudo-elements are [=fully styleable pseudo-elements=] and have a default style like the [[html#the-a-element|HTML <a> element]]. + These pseudo-elements have an indicated [=scroll target=] of their originating element. They behave as an element with a tabindex of "-1", making them focusable within their '::scroll-marker-group' either by arrow key navigation within the group, @@ -502,6 +504,7 @@ In particular, all is probably useful, but maybe also horizontal/vertical/block/inline. The ''::scroll-button()''s are [=fully styleable pseudo-elements=]: there is no restriction on what properties apply to them. +They are styled like buttons, switching between the native appearance and base appearance based on the 'appearance' property value. The '':disabled'' pseudo-class can apply to ''::scroll-button()''. It matches a given button