Closed Bug 584326 Opened 14 years ago Closed 14 years ago

Support HTML5-style meta charset in nsIDOMHTMLMetaElement

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: kohei, Unassigned)

References

(Blocks 1 open bug, )

Details

+++ This bug was initially created as a clone of Bug #584285 +++

HTML5 allows <meta charset="UTF-8"> instead of the traditional <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> format.

> http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/html/nsIDOMHTMLMetaElement.idl?force=1
> 
> Hmm nsIDOMHTMLMetaElement.idl doesn't have a HTML5 charset property. Which
> would make it easier for PageInfo.
HTML5 doesn't specify a charset IDL attribute, so we shouldn't support one either. <http://www.whatwg.org/html/#htmlmetaelement>
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.