REGRESSION (r146588): Cannot correctly display Chinese SNS Renren

https://bugs.webkit.org/show_bug.cgi?id=113142

Patch by Sergey Ryazanov <serya@chromium.org> on 2013-03-27
Reviewed by Pavel Feldman.

Source/WebCore:

Changed CSS grammar to be equivalent to pre-r146588.
CSS error reporting disabled to prevent message overflow.

* css/CSSGrammar.y.in:
* css/CSSParser.cpp:
(WebCore::CSSParser::isLoggingErrors):

LayoutTests:

* TestExpectations:
* fast/css/parsing-error-recovery.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0aa0c237
2013-03-27 Sergey Ryazanov <serya@chromium.org>
REGRESSION (r146588): Cannot correctly display Chinese SNS Renren
https://bugs.webkit.org/show_bug.cgi?id=113142
Reviewed by Pavel Feldman.
* TestExpectations:
* fast/css/parsing-error-recovery.html:
2013-03-27 Ryosuke Niwa <rniwa@webkit.org>
Shift clicking on an element with -webkit-user-select: all doesn't extend selection
......@@ -7,3 +7,6 @@ webkit.org/b/109954 css3/line-break [ Skip ]
# pending implementation completion and feature enabling
webkit.org/b/109570 media/track/regions-webvtt [ Skip ]
# pending CSS grammar refactoring
webkit.org/b/113401 inspector/console/console-css-warnings.html [ Skip ]
......@@ -41,6 +41,13 @@
display:none;
}
.malformed3 {
;*display:expression(function(){})
}
#test5 {
display:none;
}
/* Successfully parsed */
#last {
display:block;
......@@ -52,6 +59,7 @@
<div class="to_be_hidden" id="test2">FAIL: Test 2</div>
<div class="to_be_hidden" id="test3">FAIL: Test 3</div>
<div class="to_be_hidden" id="test4">FAIL: Test 4</div>
<div class="to_be_hidden" id="test5">FAIL: Test 5</div>
<div class="to_be_shown" id="last">PASS</div>
</body>
</html>
......
2013-03-27 Sergey Ryazanov <serya@chromium.org>
REGRESSION (r146588): Cannot correctly display Chinese SNS Renren
https://bugs.webkit.org/show_bug.cgi?id=113142
Reviewed by Pavel Feldman.
Changed CSS grammar to be equivalent to pre-r146588.
CSS error reporting disabled to prevent message overflow.
* css/CSSGrammar.y.in:
* css/CSSParser.cpp:
(WebCore::CSSParser::isLoggingErrors):
2013-03-27 Andrey Lushnikov <lushnikov@chromium.org>
Web Inspector: enhance Popover.js to rely on hover element coordinates
......@@ -2033,11 +2033,8 @@ invalid_block_list:
;
errors:
error {
$$ = parser->currentLocation();
}
| errors error {
$$ = $1;
error error_location {
$$ = $2;
}
;
......
......@@ -11298,7 +11298,8 @@ void CSSParser::syntaxError(const Location& location, SyntaxErrorType error)
bool CSSParser::isLoggingErrors()
{
return m_logErrors;
// FIXME: return logging back (https://bugs.webkit.org/show_bug.cgi?id=113401).
return false;
}
void CSSParser::logError(const String& message, int lineNumber)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment