You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-align] align-content and scroll coordinates #9807
None of this changes how scroll coordinates are assigned: the origin is still where it would be in a start-aligned container, it just might be initially positioned outside the scrollport.
Wrt scroll coordinates, if we are referring to .scrollTop/.scrollLeft, I noticed when testing flex-flow: row-reverse etc that the initial scroll position corresponds to zero, so I think we should adjust the spec for alignment to be consistent with that: the initial scroll position corresponds to zero, even if that position is scrolled to the writing-mode–relative "end" of the scroller.
Consistency between row-reverse and alignment seems desirable. I think I could go either way about which of the origin and the initial position gets to be the 0 coordinate, but having the same answer in both cases sounds like the right thing to do.
Activity
frivoal commentedon Jan 17, 2024
Consistency between row-reverse and alignment seems desirable. I think I could go either way about which of the origin and the initial position gets to be the 0 coordinate, but having the same answer in both cases sounds like the right thing to do.
Are we constrained by compat?
Loirooriol commentedon Jan 17, 2024
I think this is what was being discussed in #4957 (comment)
bfgeek commentedon Jan 17, 2024
I agree with @Loirooriol - this is what was being described in that issue.