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

RESOLVED FIXED in Firefox 49

Status

()

defect
RESOLVED FIXED
3 years ago
a month ago

People

(Reporter: ayg, Assigned: ayg)

Tracking

({dev-doc-complete, site-compat})

unspecified
mozilla49
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox49 fixed)

Details

(Whiteboard: btpp-active)

Attachments

(1 attachment)

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+

Comment 5

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/80b7ac3b97b8
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.