зеркало из https://github.com/mozilla/pjs.git
Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst
This commit is contained in:
Родитель
2e074a0f0a
Коммит
2421172487
|
@ -1086,11 +1086,11 @@ const nsHTMLElement gHTMLElements[] = {
|
|||
|
||||
/*tag*/ eHTMLTag_style,
|
||||
/*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown,
|
||||
/*rootnodes,endrootnodes*/ &gInHead,&gInHead,
|
||||
/*rootnodes,endrootnodes*/ &gRootTags,&gRootTags,
|
||||
/*autoclose starttags and endtags*/ 0,0,0,0,
|
||||
/*parent,incl,exclgroups*/ kHeadContent, kCDATA, kNone,
|
||||
/*parent,incl,exclgroups*/ kAllTags - kHeadContent, kCDATA, kNone,
|
||||
/*special props, prop-range*/ kNoStyleLeaksIn, kNoPropRange,
|
||||
/*special parents,kids,skip*/ &gInHead,0,eHTMLTag_unknown,
|
||||
/*special parents,kids,skip*/ 0,0,eHTMLTag_unknown,
|
||||
/*contain-func*/ 0
|
||||
},
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче