CSSParser::parseFontFamily should allow the keyword "default" as part of a font name
https://bugs.webkit.org/show_bug.cgi?id=107231

Reviewed by Ryosuke Niwa.

Source/WebCore:

Make sure that using the keyword "default" as font family doesn't
invalidate the whole declaration. It is also OK to use a font that
has "default" as part of a composite name (i.e. "default foo").
This matches the behavior of Firefox and IE.

Test: fast/css/font-family-parse-keyword.html

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

LayoutTests:

* fast/css/font-family-parse-keyword-expected.html: Added.
* fast/css/font-family-parse-keyword.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149360 268f45cc-cd09-0410-ab3c-d52691b4dbfc