Title: [232537] trunk
Revision
232537
Author
[email protected]
Date
2018-06-06 01:20:10 -0700 (Wed, 06 Jun 2018)

Log Message

[Web Animations] Only expose CSSAnimation and CSSTransition if the WebAnimationsCSSIntegration runtime flag is enabled
https://bugs.webkit.org/show_bug.cgi?id=186305

Reviewed by Dean Jackson.

Source/WebCore:

* animation/CSSAnimation.idl:
* animation/CSSTransition.idl:

Websites/webkit.org:

Add a test for the WebAnimationsCSSIntegration runtime flag.

* experimental-features.html:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (232536 => 232537)


--- trunk/Source/WebCore/ChangeLog	2018-06-06 04:53:35 UTC (rev 232536)
+++ trunk/Source/WebCore/ChangeLog	2018-06-06 08:20:10 UTC (rev 232537)
@@ -1,3 +1,13 @@
+2018-06-05  Antoine Quint  <[email protected]>
+
+        [Web Animations] Only expose CSSAnimation and CSSTransition if the WebAnimationsCSSIntegration runtime flag is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=186305
+
+        Reviewed by Dean Jackson.
+
+        * animation/CSSAnimation.idl:
+        * animation/CSSTransition.idl:
+
 2018-06-05  Per Arne Vollan  <[email protected]>
 
         Move OpenGL display mask to screen data struct.

Modified: trunk/Source/WebCore/animation/CSSAnimation.idl (232536 => 232537)


--- trunk/Source/WebCore/animation/CSSAnimation.idl	2018-06-06 04:53:35 UTC (rev 232536)
+++ trunk/Source/WebCore/animation/CSSAnimation.idl	2018-06-06 08:20:10 UTC (rev 232537)
@@ -26,7 +26,7 @@
 typedef USVString CSSOMString;
 
 [
-    EnabledAtRuntime=WebAnimations,
+    EnabledAtRuntime=WebAnimationsCSSIntegration,
     Exposed=Window
 ] interface CSSAnimation : WebAnimation {
     readonly attribute CSSOMString animationName;

Modified: trunk/Source/WebCore/animation/CSSTransition.idl (232536 => 232537)


--- trunk/Source/WebCore/animation/CSSTransition.idl	2018-06-06 04:53:35 UTC (rev 232536)
+++ trunk/Source/WebCore/animation/CSSTransition.idl	2018-06-06 08:20:10 UTC (rev 232537)
@@ -26,7 +26,7 @@
 typedef USVString CSSOMString;
 
 [
-    EnabledAtRuntime=WebAnimations,
+    EnabledAtRuntime=WebAnimationsCSSIntegration,
     Exposed=Window
 ] interface CSSTransition : WebAnimation {
     readonly attribute CSSOMString transitionProperty;

Modified: trunk/Websites/webkit.org/ChangeLog (232536 => 232537)


--- trunk/Websites/webkit.org/ChangeLog	2018-06-06 04:53:35 UTC (rev 232536)
+++ trunk/Websites/webkit.org/ChangeLog	2018-06-06 08:20:10 UTC (rev 232537)
@@ -1,3 +1,14 @@
+2018-06-05  Antoine Quint  <[email protected]>
+
+        [Web Animations] Only expose CSSAnimation and CSSTransition if the WebAnimationsCSSIntegration runtime flag is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=186305
+
+        Reviewed by Dean Jackson.
+
+        Add a test for the WebAnimationsCSSIntegration runtime flag.
+
+        * experimental-features.html:
+
 2018-06-01  Dean Jackson  <[email protected]>
 
         Add a demo for passive touch listeners.

Modified: trunk/Websites/webkit.org/experimental-features.html (232536 => 232537)


--- trunk/Websites/webkit.org/experimental-features.html	2018-06-06 04:53:35 UTC (rev 232536)
+++ trunk/Websites/webkit.org/experimental-features.html	2018-06-06 08:20:10 UTC (rev 232537)
@@ -94,6 +94,10 @@
     return !!window.Animation;
 }
 
+function testWebAnimationsCSSIntegration() {
+    return !!window.CSSAnimation;
+}
+
 function testWebGL2() {
     let canvas = document.createElement("canvas");
     return canvas.getContext("webgl2");
@@ -146,6 +150,7 @@
         <div class="test" id="SubtleCrypto"><p>SubtleCrypto</p></div>
         <div class="test" id="VariationFonts"><p>Variation Fonts</p></div>
         <div class="test" id="WebAnimations"><p>Web Animations</p></div>
+        <div class="test" id="WebAnimationsCSSIntegration"><p>Web Animations and CSS Integration</p></div>
         <div class="test" id="WebGL2"><p>WebGL 2.0</p></div>
         <div class="test" id="WebGPU"><p>WebGPU</p></div>
         <div class="test" id="WebRTC"><p>WebRTC</p></div>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to