Bug 842134: fix serialization of unquoted url() in CSS. r=heycam

This commit is contained in:
Zack Weinberg
2013-02-17 22:03:55 -05:00
parent 950046530e
commit 2c03623c0c
3 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1 @@
<!doctype html><style>body { marker: url(#m) url(#m); }</style>

View File

@@ -88,3 +88,4 @@ load 822842.html
load 822766-1.html load 822766-1.html
load 827591-1.html load 827591-1.html
load 840898.html load 840898.html
load 842134.html

View File

@@ -1030,6 +1030,7 @@ nsCSSScanner::NextURL(nsCSSToken& aToken)
} else { } else {
// Otherwise, this is the start of a non-quoted url (which may be empty). // Otherwise, this is the start of a non-quoted url (which may be empty).
aToken.mSymbol = PRUnichar(0);
GatherText(IS_URL_CHAR, aToken.mIdent); GatherText(IS_URL_CHAR, aToken.mIdent);
} }