2006-05-13 Rob Buis <buis@kde.org>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 May 2006 15:11:29 +0000 (15:11 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 13 May 2006 15:11:29 +0000 (15:11 +0000)
commit8bdec99ae9e5daf71fd2fb73c098661e08637f3e
treef14689ff3879ff380d8b327956bfb996f609e0bb
parenta61c12539fceb351ca60c8d5ffb9284c3f9ee6d6
2006-05-13  Rob Buis  <buis@kde.org>

        Reviewed by Darin, landed by ap.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=8132
        CSS parser sometimes accepts real number as integer

        Add a boolean variable per css value to catch whether values
        are specified as floats or integers.

        Test: fast/css/rgb-float.html

        * css/CSSGrammar.y:
        * css/cssparser.cpp:
        (WebCore::CSSParser::validUnit):
        (WebCore::CSSParser::lex):
        * css/cssparser.h:
        * css/tokenizer.flex:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/rgb-float-expected.checksum [new file with mode: 0644]
LayoutTests/fast/css/rgb-float-expected.png [new file with mode: 0644]
LayoutTests/fast/css/rgb-float-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/rgb-float.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSGrammar.y
WebCore/css/cssparser.cpp
WebCore/css/cssparser.h
WebCore/css/tokenizer.flex