diff --git a/layout/style/nsCSSStyleSheet.cpp b/layout/style/nsCSSStyleSheet.cpp index 2158f2b348d..60444f78b64 100644 --- a/layout/style/nsCSSStyleSheet.cpp +++ b/layout/style/nsCSSStyleSheet.cpp @@ -522,6 +522,7 @@ nsCSSStyleSheetInner::nsCSSStyleSheetInner(nsCSSStyleSheetInner& aCopy, nsICSSStyleSheet* aParentSheet) : mSheets(), mSheetURI(aCopy.mSheetURI), + mOriginalSheetURI(aCopy.mOriginalSheetURI), mBaseURI(aCopy.mBaseURI), mPrincipal(aCopy.mPrincipal), mComplete(aCopy.mComplete) diff --git a/layout/style/test/Makefile.in b/layout/style/test/Makefile.in index 69cb05eb679..eeec8c20481 100644 --- a/layout/style/test/Makefile.in +++ b/layout/style/test/Makefile.in @@ -84,6 +84,7 @@ _TEST_FILES = test_bug74880.html \ test_bug391034.html \ test_bug391221.html \ test_bug397427.html \ + test_bug405818.html \ test_compute_data_with_start_struct.html \ test_dont_use_document_colors.html \ test_inherit_storage.html \ diff --git a/layout/style/test/test_bug405818.html b/layout/style/test/test_bug405818.html new file mode 100644 index 00000000000..a313242769a --- /dev/null +++ b/layout/style/test/test_bug405818.html @@ -0,0 +1,72 @@ + + + +
++ ++ + +