зеркало из https://github.com/mozilla/gecko-dev.git
Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron]
This commit is contained in:
Родитель
dd74245928
Коммит
5e226aef23
|
@ -814,8 +814,7 @@ CSSParserImpl::ParseStyleAttribute(const nsAString& aAttributeValue,
|
|||
// In quirks mode, allow style declarations to have braces or not
|
||||
// (bug 99554).
|
||||
PRBool haveBraces;
|
||||
if (mNavQuirkMode) {
|
||||
GetToken(errorCode, PR_TRUE);
|
||||
if (mNavQuirkMode && GetToken(errorCode, PR_TRUE)) {
|
||||
haveBraces = eCSSToken_Symbol == mToken.mType &&
|
||||
'{' == mToken.mSymbol;
|
||||
UngetToken();
|
||||
|
|
Загрузка…
Ссылка в новой задаче