forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync 'SVGAnimatedNumber.idl' with IDL Web-Spec
https://bugs.webkit.org/show_bug.cgi?id=256617 Reviewed by Ryosuke Niwa. This patch aligns WebKit with Web-Spec [1], Blink / Chromium and Gecko / Firefox. [1] https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedNumber This patch removes 'unrestricted' since it is not in web-spec. * Source/WebCore/svg/SVGAnimatedNumber.idl: As above * LayoutTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedNumber-expected.txt: Rebaselined * LayoutTests/svg/dom/SVGAnimatedNumber.html: Rebaselined * LayoutTests/svg/dom/SVGAnimatedNumber-expected.txt: Rebaselined Canonical link: https://commits.webkit.org/263954@main
- Loading branch information
1 parent
e71ce27
commit 300c734
Showing
4 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...utTests/imported/w3c/web-platform-tests/svg/types/scripted/SVGAnimatedNumber-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL SVGAnimatedNumber interface - utilizing the surfaceScale property of SVGFESpecularLightingElement assert_throws_js: function "function () { feSpecularLightingElement.surfaceScale.baseVal = 'aString'; }" did not throw | ||
PASS SVGAnimatedNumber interface - utilizing the surfaceScale property of SVGFESpecularLightingElement | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Copyright (C) 2006 Samuel Weinig <[email protected]> | ||
* Copyright (C) 2006 Apple Inc. All rights reserved. | ||
* Copyright (C) 2006-2023 Apple Inc. All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions | ||
|
@@ -24,11 +24,13 @@ | |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
*/ | ||
|
||
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedNumber | ||
|
||
[ | ||
SkipVTableValidation, | ||
Exposed=Window | ||
] interface SVGAnimatedNumber { | ||
attribute unrestricted float baseVal; | ||
readonly attribute unrestricted float animVal; | ||
attribute float baseVal; | ||
readonly attribute float animVal; | ||
}; | ||
|