W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2020

[mst-content-hint] Pull Request: Fix links to Audio/Video Content Hints sections

From: Travis Leithead via GitHub <sysbot+gh@w3.org>
Date: Sat, 06 Jun 2020 00:06:35 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-428862973-1591401993-sysbot+gh@w3.org>
travisleithead has just submitted a new pull request for https://github.com/w3c/mst-content-hint:

== Fix links to Audio/Video Content Hints sections ==
Presently ReSpec believes that there should be a link to the "Audio Content Hints" 
and "Video Content Hints" sections because they have a `<h3>` . So it renders a § next
to it. Unfortunately, that § produces a URL fragment that is inherited from the previous
section, and so using the fragment to deep-link to these sections results in the user being
directed to the wrong section (the parent section element).

By adding a section wrapper around the `<h3>` headers, ReSpec auto-generates an ID based
on the `<h3>`'s contents, when enables the § to work properly.

This change adds a pair of `<section>` elements around both of these sections (Audio/Video Content Hints sections)

All the other diff changes are **only** indentation adjustments based on the added section elements.

See https://github.com/w3c/mst-content-hint/pull/43
Received on Saturday, 6 June 2020 00:06:37 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 June 2020 00:06:38 UTC