Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@199502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-06-08 14:32:20 +00:00
parent a79f1d865e
commit 0e81ab301b
7 changed files with 147 additions and 7 deletions

View File

@@ -2165,6 +2165,8 @@ nsresult
DocumentViewerImpl::CreateStyleSet(nsIDocument* aDocument,
nsStyleSet** aStyleSet)
{
// Make sure this does the same thing as PresShell::AddSheet wrt ordering.
// this should eventually get expanded to allow for creating
// different sets for different media
if (!mUAStyleSheet) {