Closed Bug 1269712 Opened 8 years ago Closed 8 years ago

A <track kind=invalid> should behave like metadata, not subtitles

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: ayg, Assigned: ayg)

Details

(Keywords: dev-doc-complete, site-compat, Whiteboard: btpp-active)

Attachments

(1 file)

This is a deliberate change from preexisting behavior, see

https://www.w3.org/2015/10/28-htmlcue-minutes.html
https://github.com/whatwg/html/issues/293

No other UA has adopted yet AFAIK (didn't test Edge or Safari).  The change will allow deploying new <track kind>s without confusing browsers that don't yet support them.  Hopefully there aren't too many existing invalid <track kind>s in deployed content that will break.

This will be tested in wpt (current test is out-of-date): https://github.com/w3c/web-platform-tests/pull/2941
Flags: in-testsuite+
Whiteboard: btpp-active
IIUC, this will regress sites that used invalid kind values and relied on them being treated as "subtitles".  Bugs in other UAs (no comments there yet):

https://bugs.chromium.org/p/chromium/issues/detail?id=608772
https://bugs.webkit.org/show_bug.cgi?id=157311
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7426340/
Attachment #8748578 - Flags: review?(bzbarsky)
Comment on attachment 8748578 [details] [diff] [review]
0001-Bug-1269712-track-kind-invalid-should-behave-like-me.patch

r=me, but this needs an intent to ship at least.  And possibly telemetry for how often invalid track kinds are used (compared to valid ones) before we ship this.
Attachment #8748578 - Flags: review?(bzbarsky) → review+
Keywords: site-compat
https://hg.mozilla.org/mozilla-central/rev/80b7ac3b97b8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: