[CSS Parser] Fix dashboard region parsing
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Dec 2016 04:46:52 +0000 (04:46 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Dec 2016 04:46:52 +0000 (04:46 +0000)
commit80068bd2c5c28ba2a8f557369af3fcf3e7e36bde
treea9b524d16aee782cbe40406c2ab0483aaa92b080
parent526e1cdf8e003f359dcfb0495356bfe14d212c08
[CSS Parser] Fix dashboard region parsing
https://bugs.webkit.org/show_bug.cgi?id=165456

Reviewed by Zalan Bujtas.

* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeWebkitDashboardRegion):
Make sure to reject whitespace by itself as well as unclosed dashboard-region functions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSPropertyParser.cpp