mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139560 - Reject non-standard parses of integers in srcset descriptors. r=jst
This commit is contained in:
parent
8b2892364d
commit
34818e8625
@ -39,7 +39,8 @@ ParseInteger(const nsAString& aString, int32_t& aInt)
|
||||
return !(parseResult &
|
||||
( nsContentUtils::eParseHTMLInteger_Error |
|
||||
nsContentUtils::eParseHTMLInteger_DidNotConsumeAllInput |
|
||||
nsContentUtils::eParseHTMLInteger_IsPercent ));
|
||||
nsContentUtils::eParseHTMLInteger_IsPercent |
|
||||
nsContentUtils::eParseHTMLInteger_NonStandard ));
|
||||
}
|
||||
|
||||
ResponsiveImageSelector::ResponsiveImageSelector(nsIContent *aContent)
|
||||
|
Loading…
Reference in New Issue
Block a user