зеркало из https://github.com/mozilla/pjs.git
Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann.
This commit is contained in:
Родитель
dc0b0317b0
Коммит
6553d2a649
|
@ -720,12 +720,6 @@ MakeContentObject(nsHTMLTag aNodeType,
|
|||
rv = NS_NewHTMLLabelElement(aResult, aAtom);
|
||||
SetForm(*aResult, aForm);
|
||||
break;
|
||||
case eHTMLTag_layer:
|
||||
rv = NS_NewHTMLLayerElement(aResult, aAtom);
|
||||
break;
|
||||
case eHTMLTag_ilayer:
|
||||
rv = NS_NewHTMLLayerElement(aResult, aAtom);
|
||||
break;
|
||||
case eHTMLTag_legend:
|
||||
rv = NS_NewHTMLLegendElement(aResult, aAtom);
|
||||
break;
|
||||
|
@ -1213,7 +1207,6 @@ SinkContext::OpenContainer(const nsIParserNode& aNode)
|
|||
mSink->ProcessATag(aNode, content);
|
||||
break;
|
||||
case eHTMLTag_table:
|
||||
case eHTMLTag_layer:
|
||||
case eHTMLTag_thead:
|
||||
case eHTMLTag_tbody:
|
||||
case eHTMLTag_tfoot:
|
||||
|
|
|
@ -114,10 +114,6 @@ h6 {
|
|||
font-weight: bold;
|
||||
margin: 2.33em 0;
|
||||
}
|
||||
layer {
|
||||
display: block;
|
||||
position: absolute;
|
||||
}
|
||||
listing {
|
||||
display: block;
|
||||
font-family: -moz-fixed;
|
||||
|
@ -280,10 +276,6 @@ sub {
|
|||
sup {
|
||||
vertical-align: super;
|
||||
}
|
||||
ilayer {
|
||||
position: relative;
|
||||
display: inline;
|
||||
}
|
||||
nobr {
|
||||
display: inline;
|
||||
white-space: nowrap;
|
||||
|
|
|
@ -720,12 +720,6 @@ MakeContentObject(nsHTMLTag aNodeType,
|
|||
rv = NS_NewHTMLLabelElement(aResult, aAtom);
|
||||
SetForm(*aResult, aForm);
|
||||
break;
|
||||
case eHTMLTag_layer:
|
||||
rv = NS_NewHTMLLayerElement(aResult, aAtom);
|
||||
break;
|
||||
case eHTMLTag_ilayer:
|
||||
rv = NS_NewHTMLLayerElement(aResult, aAtom);
|
||||
break;
|
||||
case eHTMLTag_legend:
|
||||
rv = NS_NewHTMLLegendElement(aResult, aAtom);
|
||||
break;
|
||||
|
@ -1213,7 +1207,6 @@ SinkContext::OpenContainer(const nsIParserNode& aNode)
|
|||
mSink->ProcessATag(aNode, content);
|
||||
break;
|
||||
case eHTMLTag_table:
|
||||
case eHTMLTag_layer:
|
||||
case eHTMLTag_thead:
|
||||
case eHTMLTag_tbody:
|
||||
case eHTMLTag_tfoot:
|
||||
|
|
|
@ -114,10 +114,6 @@ h6 {
|
|||
font-weight: bold;
|
||||
margin: 2.33em 0;
|
||||
}
|
||||
layer {
|
||||
display: block;
|
||||
position: absolute;
|
||||
}
|
||||
listing {
|
||||
display: block;
|
||||
font-family: -moz-fixed;
|
||||
|
@ -280,10 +276,6 @@ sub {
|
|||
sup {
|
||||
vertical-align: super;
|
||||
}
|
||||
ilayer {
|
||||
position: relative;
|
||||
display: inline;
|
||||
}
|
||||
nobr {
|
||||
display: inline;
|
||||
white-space: nowrap;
|
||||
|
|
Загрузка…
Ссылка в новой задаче