Re: [html-tests] The value of the srclang and language attributes must be a valid BCP 47 language tag. (#4359)

@zcorpan I agree with you that setting srclang to a non BCP-47 value and then querying it back will return the same value (because this is simple reflection).

However, how about TextTrack.language [1]? It says the user agent should return a BCP 47 language tag. Why is it OK for the user-agent to return something that is not BCP 47?

Note that the web-platform-test is reading TextTrack.language, not srclang.

[1] https://html.spec.whatwg.org/multipage/embedded-content.html#text-track-language 

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4359#issuecomment-267675802

Received on Friday, 16 December 2016 19:27:28 UTC