*Summary:* The `:heading` and `:heading(N)` selectors, and the `headingoffset` and `headingreset` attributes allow for developers to create heading structures and styles based on tree structure, rather than element name. This is very useful for user generated content, or building sub-documents for multiple rendering surfaces. It's been resting in nightly under the `dom.headingoffset.enabled` flag for around 4 months.
I intend to turn this flag on by default, so it rides the trains for an anticipated* 162 release* (December 8). Flipping the flag now gives us close to a full nightly window to catch any bugs, and disable if we run into issues. Happy browsing! *Bug to turn on by default:* https://bugzilla.mozilla.org/show_bug.cgi?id=2044348 *Standard:* HTML - https://html.spec.whatwg.org/multipage/sections.html#heading-levels-&-offsets *TAG Review:* N/A -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/96a26e02-b519-4b9d-b32d-71c2588bbab4%40app.fastmail.com.
