w3c / w3c/csswg-drafts

[css-overscroll-behavior]?[css-background-4]? Overscroll background/image

Open
#3,640 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-backgrounds-4 css-overflow-4
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Tentatively tagging a few specs. I actually don't know which one is responsible of governing this feature. Sorry.

The background color or image when the user overscrolls the page is currently non-interoperable.

Some browsers consider background-color of <body>, while others don't. background-color gets picked up from <html> but background-image does not. box-shadow of the content won't extend into the top overscroll region in Chrome, while Safari does render it. background-image is rendered in the bottom overscroll region, but not top overscroll region.

So on and so forth...

See also this post and/or search for "overscroll background" on the Web and StackOverflow.

Is this something can be fixed at the spec level first? Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the behavior described for , , background colors, background images, and box shadows with the tagged css-overscroll-behavior and css-background-4 specifications. Use the linked post and browser behavior as investigation material. Done means the responsible specification and interoperable normative behavior are identified and agreed upon.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.