2011-04-06 Andras Becsi <abecsi@webkit.org>
Reviewed by Darin Adler. Invalid color #{predefined colorName} is accepted by the CSS parser. https://bugs.webkit.org/show_bug.cgi?id=15360 * editing/execCommand/16049.html: Correct testcase which relies on parsing an invalid color value as valid. * fast/css/invalid-predefined-color-expected.txt: Added. * fast/css/invalid-predefined-color.html: Added. * fast/css/script-tests/invalid-predefined-color.js: Added. 2011-04-06 Andras Becsi <abecsi@webkit.org> Reviewed by Darin Adler. Invalid color #{predefined colorName} is accepted by the CSS parser. https://bugs.webkit.org/show_bug.cgi?id=15360 Test: fast/css/invalid-predefined-color.html * css/CSSGrammar.y: Remove superfluous hexcolor production. * css/tokenizer.flex: A hexadecimal number should consist of [a-fA-F0-9] values ({h}). git-svn-id: svn://svn.chromium.org/blink/trunk@83046 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment