-
Notifications
You must be signed in to change notification settings - Fork 3.1k
implement headingoffset & headingreset attributes #11086
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
Merged
zcorpan
merged 47 commits into
whatwg:main
from
keithamus:implement-headingoffset-headingreset-attributes
Sep 11, 2025
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
71d2930
implement headingoffset & headingreset attributes
keithamus 451d3f7
s/comptued/computed
keithamus 0d6e538
s/child elements/descendants/
keithamus 3123eb0
s/authors prevent/authors to prevent/
keithamus 359a581
add note on aria-level, example
keithamus 94e938b
add IDL reflections
keithamus 7cd1052
s/child/ancestor
keithamus 3925155
s/&/&
keithamus e24647c
clarify aria-level only has precedence in a11y mapping
keithamus 09be4bf
clarify the example is illustrative
keithamus cc8c891
rework the inner loop
keithamus 0dc88bd
drop redundant "element" word
keithamus 1fc5897
s/zero/0
keithamus c4f794e
title case
keithamus aa37dba
add commas
keithamus 0131b0e
use "increment by"
keithamus 010ad2b
split parsing step into a nextOffset variable
keithamus 1af79a6
s/be/to
keithamus 0ad92dc
switch from "attribute is present" to "has an attribute"
keithamus 841e50d
remove newlines
keithamus 500ebb2
oxford comma
keithamus c7282ae
fix wonky html
keithamus feac8de
Merge remote-tracking branch 'upstream/main' into implement-headingof…
keithamus 520a6f9
s/this point/the element with the attribute/
keithamus 9b11911
add reflect IDL attribute to headingoffset/headingreset
keithamus 00aaad4
remove redundant prose about reflection
keithamus c8787c4
use more succinct method definition
keithamus 01cb751
drop max from algorithms
keithamus 8b4a23a
drop comment
keithamus b977e3a
s/ancestor/inclusiveAncestor
keithamus 56a59e2
drop note around aria-level precedence
keithamus ee960d2
canonicalise dfn for headingReset
keithamus 28b18bf
remove redundant var
keithamus fe07ece
remove early return
keithamus 6f238f0
ensure only html elements are checked
keithamus 0a45caa
use ReflectRange=0,9
keithamus a69944a
s/zero/0
keithamus fbfdd36
s/set <var>level</var> to 9/return 9
keithamus 82d212a
add then
keithamus fb63403
reorder global attributes
keithamus b7c8070
Fix end tag
keithamus 72260b3
accidentally a greather
keithamus f7a4db5
use :heading pseudo class for default UA sheet
keithamus 5da2989
add :heading(7..9)
keithamus f58bc44
fix range to (0, 8)
keithamus 46d15b9
Merge remote-tracking branch 'upstream/main' into implement-headingof…
keithamus e32ceff
use comma separated integers for heading(6+) in UA sheet
keithamus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.