Re: [csswg-drafts] Add physical axes to scrollIntoView (#12476)

> Assuming an horizontal writing mode, `scrollIntoView({x: "end", block: "end"}` would scroll to logical because `block` is present, and then fall back the omitted `inline` to `nearest` instead of using `x: "end"`?

I assume you mean _vertical_ writing mode, as in horizontal writing modes `x` matches the inline axis, so there's no clash in that case.

Though _when_ physical and logical values clash, I'd also tend to say the logical value should be preferred, if that's the point you were making.

Sebastian

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


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

Received on Tuesday, 19 August 2025 13:02:34 UTC