https://bugs.webkit.org/show_bug.cgi?id=83115
Reviewed by Adam Barth.
No new tests.
* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113139
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
--- /dev/null
+<!DOCTYPE html>
+<div>This text should be visible.</div>
+<div>This text should be visible.</div>
--- /dev/null
+<!DOCTYPE html>
+<div style="display:show">This text should be visible.</div>
+<div style="display:hide">This text should be visible.</div>
+2012-04-03 Luke Macpherson <macpherson@chromium.org>
+
+ Don't parse "show" and "hide" as valid values for display property.
+ https://bugs.webkit.org/show_bug.cgi?id=83115
+
+ Reviewed by Adam Barth.
+
+ No new tests.
+
+ * css/CSSParser.cpp:
+ (WebCore::isValidKeywordPropertyAndValue):
+
2012-04-03 Yuta Kitamura <yutak@chromium.org>
Crash in WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel
#if ENABLE(CSS_GRID_LAYOUT)
if (valueID == CSSValueWebkitGrid || valueID == CSSValueWebkitInlineGrid)
return true;
- break;
#endif
+ break;
case CSSPropertyEmptyCells: // show | hide | inherit
if (valueID == CSSValueShow || valueID == CSSValueHide)
return true;