Commit 57950234 authored by haraken@chromium.org's avatar haraken@chromium.org

Remove a dummy style sheet from CSSParser::parseFlowThread()

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

Reviewed by Darin Adler.

r118736 changed CSSGrammar.y so that it works fine with no style sheet.
r118736 removed a dummy style sheet from CSSParser::parserSelector().
Now we can safely remove a dummy style sheet from parserFlowThread().

Tests: fast/regions. No change in test results.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseFlowThread):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent db050d73
2012-05-29 Kentaro Hara <haraken@chromium.org>
Remove a dummy style sheet from CSSParser::parseFlowThread()
https://bugs.webkit.org/show_bug.cgi?id=87715
Reviewed by Darin Adler.
r118736 changed CSSGrammar.y so that it works fine with no style sheet.
r118736 removed a dummy style sheet from CSSParser::parserSelector().
Now we can safely remove a dummy style sheet from parserFlowThread().
Tests: fast/regions. No change in test results.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseFlowThread):
2012-05-29 Yoshifumi Inoue <yosin@chromium.org>
REGRESSION(r111497): The "option" element doesn't match CSS pseudo class :enabled
......
......@@ -7364,9 +7364,6 @@ bool CSSParser::cssGridLayoutEnabled() const
#if ENABLE(CSS_REGIONS)
bool CSSParser::parseFlowThread(const String& flowName)
{
RefPtr<StyleSheetContents> dummyStyleSheet = StyleSheetContents::create();
setStyleSheet(dummyStyleSheet.get());
setupParser("@-webkit-decls{-webkit-flow-into:", flowName, "}");
cssyyparse(this);
......
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