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:
vidur%netscape.com 1999-12-14 23:11:19 +00:00
Родитель dc0b0317b0
Коммит 6553d2a649
4 изменённых файлов: 0 добавлений и 30 удалений

Просмотреть файл

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