[Webkit-unassigned] [Bug 48225] Language attribute validation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 26 10:20:20 PDT 2010


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





--- Comment #17 from Leandro GraciĆ” Gil <leandrogracia at chromium.org>  2010-10-26 10:20:20 PST ---
(In reply to comment #16)
> (From update of attachment 71901 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=71901&action=review
> 
> > LayoutTests/ChangeLog:9
> > +        The contents of the language attribute are expected to follow the BCP 47
> > +        specification. However no validation at all is performed on it. This patch
> 
> What are the specs governing this? In HTML5, I could find that in two places:
> - authoring requirements, which are irrelevant to browsers;
> - non-normative list of attributes, saying that value of hreflang, lang, and srclang attributes is a "valid BCP 47 language tag".
> 
> So, I don't see that requirement specified anywhere. And Firefox 3.6 fails the test case included in this patch. Does IE pass it?
> 

I was referring to the non-normative attributes. This is not required to be implemented, but thought that it should be good to have some kind of validation. If you think it's not necessary at all we can drop this issue.

-- 
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