Changeset 103746 in webkit
- Timestamp:
- Dec 27, 2011 6:07:26 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r103744 r103746 1 2011-12-27 Dominic Cooney <dominicc@chromium.org> 2 3 Remove initWebKitTransitionEvent method 4 https://bugs.webkit.org/show_bug.cgi?id=71701 5 6 Reviewed by Ojan Vafai. 7 8 Now that WebKitTransitionEvent has a constructor, we don't need 9 this method. 10 11 * fast/events/init-events-expected.txt: 12 * fast/events/script-tests/init-events.js: 13 1 14 2011-12-27 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/LayoutTests/fast/events/init-events-expected.txt
r100727 r103746 174 174 PASS testInitEvent('WebKitAnimation', '"a", false, false, null, 1001').animationName is 'null' 175 175 PASS testInitEvent('WebKitAnimation', '"a", false, false, "b", 1001').elapsedTime is 1001 176 PASS testInitEvent('WebKitTransition', '"a", false, false, "b", 1001').type is 'a'177 PASS testInitEvent('WebKitTransition', 'null, false, false, "b", 1001').type is 'null'178 PASS testInitEvent('WebKitTransition', '"a", false, false, "b", 1001').bubbles is false179 PASS testInitEvent('WebKitTransition', '"a", true, false, "b", 1001').bubbles is true180 PASS testInitEvent('WebKitTransition', '"a", false, false, "b", 1001').cancelable is false181 PASS testInitEvent('WebKitTransition', '"a", false, true, "b", 1001').cancelable is true182 PASS testInitEvent('WebKitTransition', '"a", false, false, "b", 1001').propertyName is 'b'183 PASS testInitEvent('WebKitTransition', '"a", false, false, null, 1001').propertyName is 'null'184 PASS testInitEvent('WebKitTransition', '"a", false, false, "b", 1001').elapsedTime is 1001185 176 PASS successfullyParsed is true 186 177 -
trunk/LayoutTests/fast/events/script-tests/init-events.js
r100727 r103746 192 192 shouldBe("testInitEvent('WebKitAnimation', '\"a\", false, false, \"b\", 1001').elapsedTime", "1001"); 193 193 194 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, \"b\", 1001').type", "'a'");195 shouldBe("testInitEvent('WebKitTransition', 'null, false, false, \"b\", 1001').type", "'null'");196 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, \"b\", 1001').bubbles", "false");197 shouldBe("testInitEvent('WebKitTransition', '\"a\", true, false, \"b\", 1001').bubbles", "true");198 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, \"b\", 1001').cancelable", "false");199 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, true, \"b\", 1001').cancelable", "true");200 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, \"b\", 1001').propertyName", "'b'");201 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, null, 1001').propertyName", "'null'");202 shouldBe("testInitEvent('WebKitTransition', '\"a\", false, false, \"b\", 1001').elapsedTime", "1001");203 204 194 // WheelEvent has no init function yet; roughly speaking, we are waiting for that part of DOM 3 to stabilize. -
trunk/Source/WebCore/ChangeLog
r103742 r103746 1 2011-12-27 Dominic Cooney <dominicc@chromium.org> 2 3 Remove initWebKitTransitionEvent method 4 https://bugs.webkit.org/show_bug.cgi?id=71701 5 6 Reviewed by Ojan Vafai. 7 8 Now that WebKitTransitionEvent has a constructor, we don't need 9 this 10 method. <https://www.w3.org/Bugs/Public/show_bug.cgi?id=15339> is 11 tracking the change to the CSS Transitions spec. 12 13 * dom/WebKitTransitionEvent.cpp: 14 * dom/WebKitTransitionEvent.h: 15 * dom/WebKitTransitionEvent.idl: 16 1 17 2011-12-27 Tony Chang <tony@chromium.org> 2 18 -
trunk/Source/WebCore/dom/WebKitTransitionEvent.cpp
r98044 r103746 61 61 } 62 62 63 void WebKitTransitionEvent::initWebKitTransitionEvent(const AtomicString& type,64 bool canBubbleArg,65 bool cancelableArg,66 const String& propertyName,67 double elapsedTime)68 {69 if (dispatched())70 return;71 72 initEvent(type, canBubbleArg, cancelableArg);73 74 m_propertyName = propertyName;75 m_elapsedTime = elapsedTime;76 }77 78 63 const String& WebKitTransitionEvent::propertyName() const 79 64 { -
trunk/Source/WebCore/dom/WebKitTransitionEvent.h
r98044 r103746 55 55 virtual ~WebKitTransitionEvent(); 56 56 57 void initWebKitTransitionEvent(const AtomicString& type,58 bool canBubbleArg,59 bool cancelableArg,60 const String& propertyName,61 double elapsedTime);62 63 57 const String& propertyName() const; 64 58 double elapsedTime() const; -
trunk/Source/WebCore/dom/WebKitTransitionEvent.idl
r100564 r103746 29 29 ConstructorTemplate=Event 30 30 ] WebKitTransitionEvent : Event { 31 readonly attribute [InitializedByConstructor] DOMString propertyName; 32 readonly attribute [InitializedByConstructor] double elapsedTime; 33 34 void initWebKitTransitionEvent(in [Optional=CallWithDefaultValue] DOMString typeArg, 35 in [Optional=CallWithDefaultValue] boolean canBubbleArg, 36 in [Optional=CallWithDefaultValue] boolean cancelableArg, 37 in [Optional=CallWithDefaultValue] DOMString propertyNameArg, 38 in [Optional=CallWithDefaultValue] double elapsedTimeArg); 39 }; 31 readonly attribute [InitializedByConstructor] DOMString propertyName; 32 readonly attribute [InitializedByConstructor] double elapsedTime; 33 }; 40 34 41 35 }
Note: See TracChangeset
for help on using the changeset viewer.