[Webkit-unassigned] [Bug 105478] Implemet :lang() pseudo class support for the WebVTT ::cue pseudo element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 1 23:04:04 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=105478





--- Comment #8 from Silvia Pfeiffer <silviapf at chromium.org>  2013-02-01 23:06:06 PST ---
(In reply to comment #6)
>But why can't we have a lang attribute for all elements? Is this something we should discuss?

It's not like in HTML where all elements have a @lang attribute. The intention is that a section (span? ;-) of text in a cue can be given in a different language to the default language of the file (which is somewhat specified in the @srclang attribute of <track>). It doesn't really make sense to have a bold section in a different language, or a class section - language is not bound to another element.

More at https://www.w3.org/Bugs/Public/show_bug.cgi?id=15922 which led to the introduction of <lang>

That reminds me to register a bug to actually have a default language for the file...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list