Closed Bug 1974383 Opened 1 year ago Closed 2 months ago

Implement `headingoffset` attribute

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Size Estimate S
Tracking Status
firefox142 --- wontfix
firefox153 --- fixed

People

(Reporter: keithamus, Assigned: keithamus)

References

(Depends on 1 open bug, Blocks 2 open bugs, )

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

This is a tracking issue for implementing the proposed headingoffset attribute as discussed in https://github.com/whatwg/html/issues/5033. There is a draft spec: https://github.com/whatwg/html/pull/11086

See Also: → 1974386

Just a heads up that this will require accessibility engine changes at multiple layers. The most obvious place is here. However, because this method is in the Accessible base class and must thus work for both local and remote Accessibles, some mechanism will need to be added to get the offset, and that will need to be pushed from content to parent and included in the RemoteAccessible cache.

(In reply to James Teh [:Jamie] from comment #1)

Just a heads up that this will require accessibility engine changes at multiple layers. The most obvious place is here. However, because this method is in the Accessible base class and must thus work for both local and remote Accessibles, some mechanism will need to be added to get the offset, and that will need to be pushed from content to parent and included in the RemoteAccessible cache.

Thanks for this! For RemoteAccessible I was looking to put the level as a CacheKey of mCachedFields, but I am happy to take suggestions for alternative/better ways to handle this.

Keywords: dev-doc-needed
Blocks: 1997601
Attachment #9498153 - Attachment description: WIP: WIP! Bug 1974383 - Implement headingoffset → Bug 1974383 - Implement headingoffset r?#dom-core,#accessibility-platform-reviewers
Attachment #9498153 - Attachment description: Bug 1974383 - Implement headingoffset r?#dom-core,#accessibility-platform-reviewers → Bug 1974383 - Implement headingoffset r?#dom-core,#accessibility-platform-reviewers,#webidl,#firefox-style-system-reviewers

Reverted this because it was causing build bustages in RemoteAccessible.cpp.

Flags: needinfo?(mozilla)
Flags: needinfo?(mozilla)

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60054 for changes under testing/web-platform/tests

Reverted this because it was causing non-unified build bustages in nsINode.h.

  • Revert link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/dom/base/nsINode.h:1231:33: error: inline function 'nsINode::GetFlattenedTreeParentElement' is not defined [-Werror,-Wundefined-inline]
Flags: needinfo?(mozilla)
Flags: needinfo?(mozilla)
Pushed by kcirkel@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/01c40e5a586f https://hg.mozilla.org/integration/autoland/rev/b3677357740c Implement headingoffset r=dom-core,accessibility-platform-reviewers,webidl,firefox-style-system-reviewers,smaug,emilio,Jamie,saschanaz
Pushed by kcirkel@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1b706d0c7c6b https://hg.mozilla.org/integration/autoland/rev/135a79276dbe Implement headingoffset r=dom-core,accessibility-platform-reviewers,webidl,firefox-style-system-reviewers,smaug,emilio,Jamie,saschanaz
Pushed by kcirkel@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4517bc15ec3d https://hg.mozilla.org/integration/autoland/rev/a89bdaf6bba6 Implement headingoffset r=dom-core,accessibility-platform-reviewers,webidl,firefox-style-system-reviewers,smaug,emilio,Jamie,saschanaz
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/5c4e7f51581e adjust mail/base/test/browser/static/browser_parsable_css.js for bug 1974383. rs=bustage-fix

Upstream PR was closed without merging

Upstream PR merged by moz-wptsync-bot

Depends on: 2044348
Depends on: 2044405
QA Whiteboard: [qa-triage-done-c154/b153]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: