From 4c473a8b5de1664612072c45a0ae3c175cc471fe Mon Sep 17 00:00:00 2001 From: "graouts@webkit.org" Date: Wed, 6 Jun 2018 08:20:10 +0000 Subject: [PATCH] [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: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232537 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 10 ++++++++++ Source/WebCore/animation/CSSAnimation.idl | 2 +- Source/WebCore/animation/CSSTransition.idl | 2 +- Websites/webkit.org/ChangeLog | 11 +++++++++++ Websites/webkit.org/experimental-features.html | 5 +++++ 5 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index aa2f11d..5fdeb5e 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,13 @@ +2018-06-05 Antoine Quint + + [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 Move OpenGL display mask to screen data struct. diff --git a/Source/WebCore/animation/CSSAnimation.idl b/Source/WebCore/animation/CSSAnimation.idl index 6917e7b..1e5b884 100644 --- a/Source/WebCore/animation/CSSAnimation.idl +++ b/Source/WebCore/animation/CSSAnimation.idl @@ -26,7 +26,7 @@ typedef USVString CSSOMString; [ - EnabledAtRuntime=WebAnimations, + EnabledAtRuntime=WebAnimationsCSSIntegration, Exposed=Window ] interface CSSAnimation : WebAnimation { readonly attribute CSSOMString animationName; diff --git a/Source/WebCore/animation/CSSTransition.idl b/Source/WebCore/animation/CSSTransition.idl index 90f2d71..194c6af 100644 --- a/Source/WebCore/animation/CSSTransition.idl +++ b/Source/WebCore/animation/CSSTransition.idl @@ -26,7 +26,7 @@ typedef USVString CSSOMString; [ - EnabledAtRuntime=WebAnimations, + EnabledAtRuntime=WebAnimationsCSSIntegration, Exposed=Window ] interface CSSTransition : WebAnimation { readonly attribute CSSOMString transitionProperty; diff --git a/Websites/webkit.org/ChangeLog b/Websites/webkit.org/ChangeLog index 3591736..456e92d 100644 --- a/Websites/webkit.org/ChangeLog +++ b/Websites/webkit.org/ChangeLog @@ -1,3 +1,14 @@ +2018-06-05 Antoine Quint + + [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 Add a demo for passive touch listeners. diff --git a/Websites/webkit.org/experimental-features.html b/Websites/webkit.org/experimental-features.html index 1dc5498..6a3f697 100644 --- a/Websites/webkit.org/experimental-features.html +++ b/Websites/webkit.org/experimental-features.html @@ -94,6 +94,10 @@ function testWebAnimations() { return !!window.Animation; } +function testWebAnimationsCSSIntegration() { + return !!window.CSSAnimation; +} + function testWebGL2() { let canvas = document.createElement("canvas"); return canvas.getContext("webgl2"); @@ -146,6 +150,7 @@ window.addEventListener("load", function () {

SubtleCrypto

Variation Fonts

Web Animations

+

Web Animations and CSS Integration

WebGL 2.0

WebGPU

WebRTC

-- 1.8.3.1