2011-04-10 Mike Lawther <mikelawther@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 02:31:42 +0000 (02:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 02:31:42 +0000 (02:31 +0000)
commitb19f19e97250a01b421352ecdfc254368417371c
tree106763b778f1a5e2f83b92f79839506043323626
parent9c29a75e3e8a57a22a6d37b2730390fd41fa4d69
2011-04-10  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by Ojan Vafai.

        flex/bison tokens and grammar for CSS calc
        https://bugs.webkit.org/show_bug.cgi?id=54412

        Only the 'errors' and 'regression' tests pass as intended right now. As of this
        patch, none of the actual calculations are expected to work, since only
        the lexing/grammar stage is present.

        * css3/calc/calc-errors-expected.txt: Added.
        * css3/calc/calc-errors.html: Added.
        * css3/calc/lexer-regression-57581-2-expected.txt: Added.
        * css3/calc/lexer-regression-57581-2.html: Added.
        * css3/calc/lexer-regression-57581-3-expected.txt: Added.
        * css3/calc/lexer-regression-57581-3.html: Added.
        * css3/calc/lexer-regression-57581-expected.txt: Added.
        * css3/calc/lexer-regression-57581.html: Added.
        * css3/calc/minmax-errors-expected.txt: Added.
        * css3/calc/minmax-errors.html: Added.
        * css3/calc/simple-calcs-expected.txt: Added.
        * css3/calc/simple-calcs.html: Added.
        * css3/calc/simple-minmax-expected.txt: Added.
        * css3/calc/simple-minmax.html: Added.
2011-04-10  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by Ojan Vafai.

        flex/bison tokens and grammar for CSS calc
        https://bugs.webkit.org/show_bug.cgi?id=54412

        Tests: css3/calc/calc-errors.html
               css3/calc/lexer-regression-57581-2.html
               css3/calc/lexer-regression-57581-3.html
               css3/calc/lexer-regression-57581.html
               css3/calc/minmax-errors.html
               css3/calc/nested-rounded-corners.html
               css3/calc/simple-calcs.html
               css3/calc/simple-minmax.html

        * css/CSSGrammar.y:
        * css/CSSParserValues.cpp:
        (WebCore::CSSParserValueList::insertValueAt):
        (WebCore::CSSParserValueList::extend):
        * css/CSSParserValues.h:
        * css/tokenizer.flex:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
LayoutTests/ChangeLog
LayoutTests/css3/calc/calc-errors-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/calc-errors.html [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581-2-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581-2.html [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581-3-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581-3.html [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/lexer-regression-57581.html [new file with mode: 0644]
LayoutTests/css3/calc/minmax-errors-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/minmax-errors.html [new file with mode: 0644]
LayoutTests/css3/calc/simple-calcs-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/simple-calcs.html [new file with mode: 0644]
LayoutTests/css3/calc/simple-minmax-expected.txt [new file with mode: 0644]
LayoutTests/css3/calc/simple-minmax.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSGrammar.y
Source/WebCore/css/CSSParserValues.cpp
Source/WebCore/css/CSSParserValues.h
Source/WebCore/css/tokenizer.flex