Re: [csswg-drafts] Setting the primary scrolling direction for a scroll container (#10060)

> > Turning autodir on by default would mean pages all over the world that contain any horizontally scrollable elements could be affected.
> 
> That seems... expected?
> 
> > So Firefox had to turn autodir off by default.
> 
> Can you explain why?

@SebastianZ gave a good example why `autodir` has to be turned off by default: Because `autodir` is unware of CSS style, so it will **blindly** apply to ANY elements if they are horizontally scrollable.
 
On the contrary, we can **selectively** affect pages or elements according to it's style(Either automatically based on the principal writing mode, as you said, or manually set using a new property, as I said). This is where a CSS solution will go beyond `autodir`.

-- 
GitHub Notification of comment by Zhang-Junzhi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10060#issuecomment-1998862112 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 15 March 2024 03:11:02 UTC