Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML. Bug 234861, r=dbaron, sr=jst git-svn-id: svn://10.0.0.236/trunk@155949 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -392,6 +392,15 @@ nsHTMLDocument::ResetToURI(nsIURI *aURI, nsILoadGroup *aLoadGroup)
|
||||
mContentType = "text/html";
|
||||
}
|
||||
|
||||
nsStyleSet::sheetType
|
||||
nsHTMLDocument::GetAttrSheetType()
|
||||
{
|
||||
if (IsXHTML()) {
|
||||
return nsDocument::GetAttrSheetType();
|
||||
}
|
||||
|
||||
return nsStyleSet::ePresHintSheet;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsHTMLDocument::CreateShell(nsIPresContext* aContext,
|
||||
|
||||
Reference in New Issue
Block a user