summaryrefslogtreecommitdiffstats
path: root/webkit/data
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 00:34:31 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 00:34:31 +0000
commitbd3397a03d6800d291d2c5d9ed249ee30d5fb3ac (patch)
treeb0ad9ebefa3bc2df9e5ab799ba7e48f152d4334d /webkit/data
parent66bd33dbf76732655a7d5b156b895e78274ea1bc (diff)
downloadchromium_src-bd3397a03d6800d291d2c5d9ed249ee30d5fb3ac.zip
chromium_src-bd3397a03d6800d291d2c5d9ed249ee30d5fb3ac.tar.gz
chromium_src-bd3397a03d6800d291d2c5d9ed249ee30d5fb3ac.tar.bz2
Rebaseline one layout test.
BUG=none TEST=none Review URL: http://codereview.chromium.org/432011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/animations/keyframes-rule-expected.txt14
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/animations/keyframes-rule-expected.txt140
2 files changed, 89 insertions, 65 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/animations/keyframes-rule-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/animations/keyframes-rule-expected.txt
index fdb5358..25b3bf4 100644
--- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/animations/keyframes-rule-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/animations/keyframes-rule-expected.txt
@@ -43,6 +43,13 @@ Find a rule
PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
PASS rule.cssText is '50% { left: 30px; }'
+Find a rule using from and to
+PASS keyframesFromTo.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
+PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rule.cssText is '0% { left: 10px; }'
+PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rule.cssText is '100% { left: 20px; }'
+
Try to find a rule that doesn't exist
PASS Non-existent rule was not found
@@ -52,6 +59,12 @@ PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
PASS rules2.item(0).keyText is '0%'
PASS rules2.item(1).keyText is '100%'
+Delete a from rule
+PASS rulesFromTo.length is 2
+PASS rulesFromTo.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rulesFromTo.item(0).keyText is '50%'
+PASS rulesFromTo.item(1).keyText is '100%'
+
Delete a rule that doesn't exist
PASS rules2.length is 2
PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
@@ -61,4 +74,3 @@ PASS rules2.item(1).keyText is '100%'
PASS successfullyParsed is true
TEST COMPLETE
-
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/animations/keyframes-rule-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/animations/keyframes-rule-expected.txt
index f5719a0..25b3bf4 100644
--- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/animations/keyframes-rule-expected.txt
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/animations/keyframes-rule-expected.txt
@@ -1,64 +1,76 @@
-This tests the WebKitCSSKeyframeRule and WebKitCSSKeyframesRule interfaces.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS WebKitCSSKeyframeRule exists on Window object
-PASS WebKitCSSKeyframesRule exists on Window object
-PASS WEBKIT_KEYFRAME_RULE exists on Window.CSSRule object
-PASS WEBKIT_KEYFRAMES_RULE exists on Window.CSSRule object
-
-PASS keyframes1.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
-PASS keyframes1.name is 'test1'
-
-PASS rules1.length is 2
-PASS rules1.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
-PASS rules1.item(0).cssText is '0% { left: 10px; }'
-PASS rules1.item(1).cssText is '100% { left: 20px; }'
-
-Insert three new rules
-PASS rules1.length is 5
-PASS rules1.item(0).cssText is '0% { left: 10px; }'
-PASS rules1.item(1).cssText is '100% { left: 20px; }'
-PASS rules1.item(2).cssText is '30% { left: 30px; }'
-PASS rules1.item(3).cssText is '60% { left: 60px; }'
-PASS rules1.item(4).cssText is '20% { left: 50px; }'
-
-PASS keyframes2.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
-PASS keyframes2.name is 'test2'
-
-PASS rules2.length is 3
-PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
-PASS rules2.item(0).keyText is '0%'
-PASS rules2.item(1).keyText is '50%'
-PASS rules2.item(2).keyText is '100%'
-PASS rules2.item(0).cssText is '0% { left: 10px; }'
-PASS rules2.item(1).cssText is '50% { left: 30px; }'
-PASS rules2.item(2).cssText is '100% { left: 20px; }'
-
-FAIL typeof(rules2.item(0).style) should be function. Was object.
-PASS rules2.item(0).style.length is 1
-
-Find a rule
-PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
-PASS rule.cssText is '50% { left: 30px; }'
-
-Try to find a rule that doesn't exist
-PASS Non-existent rule was not found
-
-Delete a rule
-PASS rules2.length is 2
-PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
-PASS rules2.item(0).keyText is '0%'
-PASS rules2.item(1).keyText is '100%'
-
-Delete a rule that doesn't exist
-PASS rules2.length is 2
-PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
-PASS rules2.item(0).keyText is '0%'
-PASS rules2.item(1).keyText is '100%'
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
+This tests the WebKitCSSKeyframeRule and WebKitCSSKeyframesRule interfaces.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS WebKitCSSKeyframeRule exists on Window object
+PASS WebKitCSSKeyframesRule exists on Window object
+PASS WEBKIT_KEYFRAME_RULE exists on Window.CSSRule object
+PASS WEBKIT_KEYFRAMES_RULE exists on Window.CSSRule object
+
+PASS keyframes1.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
+PASS keyframes1.name is 'test1'
+
+PASS rules1.length is 2
+PASS rules1.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rules1.item(0).cssText is '0% { left: 10px; }'
+PASS rules1.item(1).cssText is '100% { left: 20px; }'
+
+Insert three new rules
+PASS rules1.length is 5
+PASS rules1.item(0).cssText is '0% { left: 10px; }'
+PASS rules1.item(1).cssText is '100% { left: 20px; }'
+PASS rules1.item(2).cssText is '30% { left: 30px; }'
+PASS rules1.item(3).cssText is '60% { left: 60px; }'
+PASS rules1.item(4).cssText is '20% { left: 50px; }'
+
+PASS keyframes2.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
+PASS keyframes2.name is 'test2'
+
+PASS rules2.length is 3
+PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rules2.item(0).keyText is '0%'
+PASS rules2.item(1).keyText is '50%'
+PASS rules2.item(2).keyText is '100%'
+PASS rules2.item(0).cssText is '0% { left: 10px; }'
+PASS rules2.item(1).cssText is '50% { left: 30px; }'
+PASS rules2.item(2).cssText is '100% { left: 20px; }'
+
+FAIL typeof(rules2.item(0).style) should be function. Was object.
+PASS rules2.item(0).style.length is 1
+
+Find a rule
+PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rule.cssText is '50% { left: 30px; }'
+
+Find a rule using from and to
+PASS keyframesFromTo.type is window.CSSRule.WEBKIT_KEYFRAMES_RULE
+PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rule.cssText is '0% { left: 10px; }'
+PASS rule.type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rule.cssText is '100% { left: 20px; }'
+
+Try to find a rule that doesn't exist
+PASS Non-existent rule was not found
+
+Delete a rule
+PASS rules2.length is 2
+PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rules2.item(0).keyText is '0%'
+PASS rules2.item(1).keyText is '100%'
+
+Delete a from rule
+PASS rulesFromTo.length is 2
+PASS rulesFromTo.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rulesFromTo.item(0).keyText is '50%'
+PASS rulesFromTo.item(1).keyText is '100%'
+
+Delete a rule that doesn't exist
+PASS rules2.length is 2
+PASS rules2.item(0).type is window.CSSRule.WEBKIT_KEYFRAME_RULE
+PASS rules2.item(0).keyText is '0%'
+PASS rules2.item(1).keyText is '100%'
+
+PASS successfullyParsed is true
+
+TEST COMPLETE