Skip to content

Conversation

@estelle
Copy link
Member

@estelle estelle commented Jan 8, 2026

Clarified the definition of the scroll-padding property and its relation to the CSS scroll snap module.

made 3rd example in try this very different from 2nd example

fixes #42183

Clarified the definition of the scroll-padding property and its relation to the CSS scroll snap module.

made 3rd example in try this very different from 2nd example

fixes #42183
@estelle estelle requested a review from a team as a code owner January 8, 2026 14:50
@estelle estelle requested review from dipikabh and removed request for a team January 8, 2026 14:50
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/xs [PR only] 0-5 LoC changed labels Jan 8, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Preview URLs (1 page)

Flaws (6)

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/CSS/Reference/Properties/scroll-padding
Title: scroll-padding
Flaw count: 6

  • broken_links:
    • Link /en-US/docs/Web/CSS/length is a redirect
    • Link /en-US/docs/Web/CSS/percentage is a redirect
  • macros:
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Inheritance which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_cascade/Value_processing which is a redirect
    • Macro cssinfo produces link /en-US/docs/Web/CSS/CSS_animated_properties which is a redirect

(comment last updated: 2026-01-23 15:06:39)

Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @estelle, thanks for taking this up.

The reported issue still exists. The sentence "This allows the author to exclude regions..." right after the "Try it" demo might still suggest that the demo is illustrating this scenario when it's not. Can we move this sentence to a "Description" section or better still, add an example that shows how the property can be used to prevent nav bars, for example, from obscuring content.

Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
@estelle estelle requested a review from dipikabh January 15, 2026 14:39
@dipikabh
Copy link
Contributor

Thanks, Estelle, this looks good and can be merged. However, since it doesn't address the reported issue, I'd suggest to remove the issue link from the PR description.

@estelle
Copy link
Member Author

estelle commented Jan 19, 2026

Thanks, Estelle, this looks good and can be merged. However, since it doesn't address the reported issue, I'd suggest to remove the issue link from the PR description.

The edit changes the try it demo. The 20% addresses the issue in the issue

@caugner
Copy link
Contributor

caugner commented Jan 20, 2026

(Updated in order to see the review companion comment reflect the flaws with the latest rari version.)

Added a detailed description of the scroll-padding property, including its purpose and usage in scroll-snap containers.
@github-actions github-actions bot added size/s [PR only] 6-50 LoC changed and removed size/xs [PR only] 0-5 LoC changed labels Jan 21, 2026
Copy link
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking much better now. Thank you!

estelle and others added 2 commits January 23, 2026 16:04
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
@estelle estelle merged commit 57b9e55 into main Jan 23, 2026
12 of 13 checks passed
@estelle estelle deleted the estelle-patch-3 branch January 23, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scroll-padding demo could better highlight how useful the property is

3 participants