Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-scroll-anchoring-1] Should changes to border trigger a scroll anchor adjustment suppression? #3321

Open
eqrion opened this issue Nov 14, 2018 · 2 comments

Comments

@eqrion
Copy link

eqrion commented Nov 14, 2018

Currently the properties that trigger suppressions are [ref]:

top, left, right, or bottom
margin or its longhands
padding or its longhands
width, height, min-width, max-width, min-height, or max-height
position
transform

Changes to border can affect layout through border-width. Should that be included as well?

cc @skobes @theres-waldo

@skobes-chromium
Copy link

The suppressions are a web compat heuristic. We didn't include it because we didn't encounter any sites that hit feedback loops from border changes.

@eqrion
Copy link
Author

eqrion commented Nov 20, 2018

That makes sense to me. I suppose my only concern is to make sure that the properties that web developers can touch and trigger suppression are predictable.

That being said, there are many more properties listed than these that affect layout (grid, flex, float, ..). So I guess I don't really have an opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants