Bug 842134: fix serialization of unquoted url() in CSS. r=heycam
This commit is contained in:
1
layout/style/crashtests/842134.html
Normal file
1
layout/style/crashtests/842134.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<!doctype html><style>body { marker: url(#m) url(#m); }</style>
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user