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

Add initial scroll position hook to HTML spec #10759

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Nov 12, 2024

  1. Add initial scroll position hook to HTML spec

    scroll-start-target is a CSS property which affects an element's
    initial scroll position. A scroll container's initial scroll position
    determines what scroll offset that scroll container should be at before
    any "explicit" scrolling (e.g. user gesture, programmatic scroll API)
    occurs on it. This initial scroll position is affected by CSS
    properties such as scroll-start-target and might change as a document
    is loaded.
    
    This patch adds a step in the "Updating the  document" section of the
    HTML spec to direct user agents on when to re-evaluate initial scroll
    positions and adjust accordingly.
    David Awogbemila committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ece2224 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Fix indentation; improve references & links

    David Awogbemila committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    b5b44c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. Fix step placement

    Step should happen within "If documentIsNew" block like
    fragment-scroll.
    David Awogbemila committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    ae81ba7 View commit details
    Browse the repository at this point in the history