Changeset 107470 in webkit


Ignore:
Timestamp:
Feb 10, 2012 7:10:31 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Change values for WEBKIT_KEYFRAMES_RULE, WEBKIT_KEYFRAME_RULE
https://bugs.webkit.org/show_bug.cgi?id=71293

Patch by Edward O'Connor <Theresa O'Connor> on 2012-02-10
Reviewed by Chris Marrin.

Source/WebCore:

Tests: animations/animation-css-rule-types.html

  • css/CSSRule.h: Change WEBKIT_KEYFRAMES_RULE to 7 and

WEBKIT_KEYFRAME_RULE to 8.

  • css/CSSRule.idl: Ditto.

LayoutTests:

  • animations/animation-css-rule-types-expected.txt:
  • animations/script-tests/animation-css-rule-types.js: Update

expected WEBKIT_KEYFRAMES_RULE and WEBKIT_KEYFRAME_RULE values.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r107469 r107470  
     12012-02-10  Edward O'Connor  <eoconnor@apple.com>
     2
     3        Change values for WEBKIT_KEYFRAMES_RULE, WEBKIT_KEYFRAME_RULE
     4        https://bugs.webkit.org/show_bug.cgi?id=71293
     5
     6        Reviewed by Chris Marrin.
     7
     8        * animations/animation-css-rule-types-expected.txt:
     9        * animations/script-tests/animation-css-rule-types.js: Update
     10        expected WEBKIT_KEYFRAMES_RULE and WEBKIT_KEYFRAME_RULE values.
     11
    1122012-02-10  Tony Chang  <tony@chromium.org>
    213
  • trunk/LayoutTests/animations/animation-css-rule-types-expected.txt

    r35972 r107470  
    44
    55
     6PASS ruleType is 7
    67PASS ruleType is 8
    7 PASS ruleType is 9
    88If we got to this point then we did not crash and the test has passed.
    99PASS successfullyParsed is true
  • trunk/LayoutTests/animations/script-tests/animation-css-rule-types.js

    r47956 r107470  
    44
    55var ruleType = window.CSSRule.WEBKIT_KEYFRAMES_RULE;
     6shouldBe("ruleType", "7");
     7ruleType = window.CSSRule.WEBKIT_KEYFRAME_RULE;
    68shouldBe("ruleType", "8");
    7 ruleType = window.CSSRule.WEBKIT_KEYFRAME_RULE;
    8 shouldBe("ruleType", "9");
    99
    1010debug('If we got to this point then we did not crash and the test has passed.');
  • trunk/Source/WebCore/ChangeLog

    r107468 r107470  
     12012-02-10  Edward O'Connor  <eoconnor@apple.com>
     2
     3        Change values for WEBKIT_KEYFRAMES_RULE, WEBKIT_KEYFRAME_RULE
     4        https://bugs.webkit.org/show_bug.cgi?id=71293
     5
     6        Reviewed by Chris Marrin.
     7
     8        Tests: animations/animation-css-rule-types.html
     9
     10        * css/CSSRule.h: Change WEBKIT_KEYFRAMES_RULE to 7 and
     11        WEBKIT_KEYFRAME_RULE to 8.
     12        * css/CSSRule.idl: Ditto.
     13
    1142012-02-10  Eric Seidel  <eric@webkit.org>
    215
  • trunk/Source/WebCore/css/CSSRule.h

    r104254 r107470  
    5050        FONT_FACE_RULE,
    5151        PAGE_RULE,
    52         // 7 used to be VARIABLES_RULE
    53         WEBKIT_KEYFRAMES_RULE = 8,
     52        // 7 was VARIABLES_RULE; we now match other browsers with 7 as
     53        // KEYFRAMES_RULE:
     54        // <https://bugs.webkit.org/show_bug.cgi?id=71293>.
     55        WEBKIT_KEYFRAMES_RULE,
    5456        WEBKIT_KEYFRAME_RULE,
    55         WEBKIT_REGION_RULE
     57        WEBKIT_REGION_RULE = 10
    5658    };
    5759
  • trunk/Source/WebCore/css/CSSRule.idl

    r107312 r107470  
    3838        const unsigned short FONT_FACE_RULE = 5;
    3939        const unsigned short PAGE_RULE = 6;
    40         const unsigned short WEBKIT_KEYFRAMES_RULE = 8;
    41         const unsigned short WEBKIT_KEYFRAME_RULE = 9;
     40        const unsigned short WEBKIT_KEYFRAMES_RULE = 7;
     41        const unsigned short WEBKIT_KEYFRAME_RULE = 8;
    4242        const unsigned short WEBKIT_REGION_RULE = 10;
    4343
Note: See TracChangeset for help on using the changeset viewer.