Title: [275578] branches/safari-611-branch

Diff

Modified: branches/safari-611-branch/LayoutTests/ChangeLog (275577 => 275578)


--- branches/safari-611-branch/LayoutTests/ChangeLog	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/LayoutTests/ChangeLog	2021-04-07 00:45:08 UTC (rev 275578)
@@ -1,5 +1,68 @@
 2021-03-01  Alan Coon  <[email protected]>
 
+        Cherry-pick r273656. rdar://problem/74883325
+
+    REGRESSION(r272004): transform transition with delay doesn't behave correctly
+    https://bugs.webkit.org/show_bug.cgi?id=222545
+    <rdar://problem/74865413>
+    
+    Reviewed by Dean Jackson.
+    
+    Source/WebCore:
+    
+    To support accelerated animations of individual transform properties, we introduced the notion of
+    non-interpolating animations to apply the underlying value for a given property before applying
+    the actual animations for this property with additivity set to true.
+    
+    These non-interpolating animations were meant to last between the time at which animations were
+    committed and the effective start of the first animation for that property, accounting for any
+    delay.
+    
+    However, we neglected to handle the case where that first animation had a fill mode that would
+    make it fill backwards, such as CSS Transitions. In that situation, the animation would have
+    its first keyframe applied on top of the underlying value, effectively applying the underlying
+    value twice with additivity.
+    
+    We now only add these non-interpolating animations if the first animation has a delay and does
+    not fill backwards.
+    
+    Test: webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html
+    
+    * platform/graphics/ca/GraphicsLayerCA.cpp:
+    (WebCore::GraphicsLayerCA::updateAnimations):
+    
+    LayoutTests:
+    
+    Add a new test where an element with a non-identity transform starts a transform transition with a
+    long delay. Prior to this patch, this test failed because, while in the delay phase, the transition
+    would mean the underlying transform was applied twice: once by the non-interpolating animation
+    generated for the underlying "transform" value, and once by the first keyframe of the transition
+    since it fills backwards.
+    
+    * webanimations/transform-transition-with-delay-on-forced-layer-with-transform-expected.html: Added.
+    * webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html: Added.
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-03-01  Antoine Quint  <[email protected]>
+
+            REGRESSION(r272004): transform transition with delay doesn't behave correctly
+            https://bugs.webkit.org/show_bug.cgi?id=222545
+            <rdar://problem/74865413>
+
+            Reviewed by Dean Jackson.
+
+            Add a new test where an element with a non-identity transform starts a transform transition with a
+            long delay. Prior to this patch, this test failed because, while in the delay phase, the transition
+            would mean the underlying transform was applied twice: once by the non-interpolating animation
+            generated for the underlying "transform" value, and once by the first keyframe of the transition
+            since it fills backwards.
+
+            * webanimations/transform-transition-with-delay-on-forced-layer-with-transform-expected.html: Added.
+            * webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html: Added.
+
+2021-03-01  Alan Coon  <[email protected]>
+
         Cherry-pick r273656. rdar://problem/74883395
 
     REGRESSION(r272004): transform transition with delay doesn't behave correctly

Modified: branches/safari-611-branch/Source/_javascript_Core/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/_javascript_Core/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/ThirdParty/ANGLE/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/ThirdParty/ANGLE/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/ThirdParty/ANGLE/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/ThirdParty/libwebrtc/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/WebCore/ChangeLog (275577 => 275578)


--- branches/safari-611-branch/Source/WebCore/ChangeLog	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebCore/ChangeLog	2021-04-07 00:45:08 UTC (rev 275578)
@@ -1,3 +1,161 @@
+2021-03-22  Russell Epstein  <[email protected]>
+
+        Cherry-pick r274846. rdar://problem/75711124
+
+    Use JSValueInWrappedObject to keep the JSObject alive for QuickTimePluginReplacement
+    https://bugs.webkit.org/show_bug.cgi?id=223561
+    <rdar://75634407>
+    
+    Reviewed by Geoffrey Garen.
+    
+    This patch replaces QuickTimePluginReplacement's m_scriptObject member variable by
+    JSValueInWrappedObject in HTMLPlugInElement and hooks it up with the slot visitor.
+    
+    Also use WeakPtr instead of a raw pointer for the back reference to the plugin element
+    in QuickTimePluginReplacement and YouTubePluginReplacement.
+    
+    * Modules/plugins/PluginReplacement.h:
+    (WebCore::PluginReplacement::InstallResult): Added; a boolean indicating the installation
+    had succeeded and the script object for QuickTimePluginReplacement.
+    (WebCore::PluginReplacement::scriptObject): Deleted.
+    * Modules/plugins/QuickTimePluginReplacement.h:
+    * Modules/plugins/QuickTimePluginReplacement.mm:
+    (WebCore::QuickTimePluginReplacement::QuickTimePluginReplacement): Deployed WeakPtr.
+    (WebCore::QuickTimePluginReplacement::~QuickTimePluginReplacement): Removed
+    the superflous de-initialization of the member variables.
+    (WebCore::QuickTimePluginReplacement::installReplacement): Now returns JSValue
+    instead of storing it in m_scriptObject.
+    * Modules/plugins/YouTubePluginReplacement.cpp:
+    (WebCore::YouTubePluginReplacement::YouTubePluginReplacement): Deployed WeakPtr.
+    (WebCore::YouTubePluginReplacement::installReplacement):
+    * Modules/plugins/YouTubePluginReplacement.h:
+    * bindings/scripts/CodeGeneratorJS.pm:
+    (InstanceNeedsVisitChildren): Generate visitChildren when an IDL has Plugin attribute.
+    (GenerateImplementation): Visit the newly added JSValueInWrappedObject.
+    * html/HTMLPlugInElement.cpp:
+    (WebCore::HTMLPlugInElement::didAddUserAgentShadowRoot): Store the script object returned
+    by QuickTimePluginReplacement::installReplacement in the newly added member variable.
+    (WebCore::HTMLPlugInElement::scriptObjectForPluginReplacement): Updated.
+    * html/HTMLPlugInElement.h:
+    (WebCore::HTMLPlugInElement::pluginReplacementScriptObject): Added. Used by visitChildren.
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-03-22  Ryosuke Niwa  <[email protected]>
+
+            Use JSValueInWrappedObject to keep the JSObject alive for QuickTimePluginReplacement
+            https://bugs.webkit.org/show_bug.cgi?id=223561
+            <rdar://75634407>
+
+            Reviewed by Geoffrey Garen.
+
+            This patch replaces QuickTimePluginReplacement's m_scriptObject member variable by
+            JSValueInWrappedObject in HTMLPlugInElement and hooks it up with the slot visitor.
+
+            Also use WeakPtr instead of a raw pointer for the back reference to the plugin element
+            in QuickTimePluginReplacement and YouTubePluginReplacement.
+
+            * Modules/plugins/PluginReplacement.h:
+            (WebCore::PluginReplacement::InstallResult): Added; a boolean indicating the installation
+            had succeeded and the script object for QuickTimePluginReplacement.
+            (WebCore::PluginReplacement::scriptObject): Deleted.
+            * Modules/plugins/QuickTimePluginReplacement.h:
+            * Modules/plugins/QuickTimePluginReplacement.mm:
+            (WebCore::QuickTimePluginReplacement::QuickTimePluginReplacement): Deployed WeakPtr.
+            (WebCore::QuickTimePluginReplacement::~QuickTimePluginReplacement): Removed
+            the superflous de-initialization of the member variables.
+            (WebCore::QuickTimePluginReplacement::installReplacement): Now returns JSValue
+            instead of storing it in m_scriptObject.
+            * Modules/plugins/YouTubePluginReplacement.cpp:
+            (WebCore::YouTubePluginReplacement::YouTubePluginReplacement): Deployed WeakPtr.
+            (WebCore::YouTubePluginReplacement::installReplacement):
+            * Modules/plugins/YouTubePluginReplacement.h:
+            * bindings/scripts/CodeGeneratorJS.pm:
+            (InstanceNeedsVisitChildren): Generate visitChildren when an IDL has Plugin attribute.
+            (GenerateImplementation): Visit the newly added JSValueInWrappedObject.
+            * html/HTMLPlugInElement.cpp:
+            (WebCore::HTMLPlugInElement::didAddUserAgentShadowRoot): Store the script object returned
+            by QuickTimePluginReplacement::installReplacement in the newly added member variable.
+            (WebCore::HTMLPlugInElement::scriptObjectForPluginReplacement): Updated.
+            * html/HTMLPlugInElement.h:
+            (WebCore::HTMLPlugInElement::pluginReplacementScriptObject): Added. Used by visitChildren.
+
+2021-03-01  Alan Coon  <[email protected]>
+
+        Cherry-pick r273656. rdar://problem/74883325
+
+    REGRESSION(r272004): transform transition with delay doesn't behave correctly
+    https://bugs.webkit.org/show_bug.cgi?id=222545
+    <rdar://problem/74865413>
+    
+    Reviewed by Dean Jackson.
+    
+    Source/WebCore:
+    
+    To support accelerated animations of individual transform properties, we introduced the notion of
+    non-interpolating animations to apply the underlying value for a given property before applying
+    the actual animations for this property with additivity set to true.
+    
+    These non-interpolating animations were meant to last between the time at which animations were
+    committed and the effective start of the first animation for that property, accounting for any
+    delay.
+    
+    However, we neglected to handle the case where that first animation had a fill mode that would
+    make it fill backwards, such as CSS Transitions. In that situation, the animation would have
+    its first keyframe applied on top of the underlying value, effectively applying the underlying
+    value twice with additivity.
+    
+    We now only add these non-interpolating animations if the first animation has a delay and does
+    not fill backwards.
+    
+    Test: webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html
+    
+    * platform/graphics/ca/GraphicsLayerCA.cpp:
+    (WebCore::GraphicsLayerCA::updateAnimations):
+    
+    LayoutTests:
+    
+    Add a new test where an element with a non-identity transform starts a transform transition with a
+    long delay. Prior to this patch, this test failed because, while in the delay phase, the transition
+    would mean the underlying transform was applied twice: once by the non-interpolating animation
+    generated for the underlying "transform" value, and once by the first keyframe of the transition
+    since it fills backwards.
+    
+    * webanimations/transform-transition-with-delay-on-forced-layer-with-transform-expected.html: Added.
+    * webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html: Added.
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@273656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2021-03-01  Antoine Quint  <[email protected]>
+
+            REGRESSION(r272004): transform transition with delay doesn't behave correctly
+            https://bugs.webkit.org/show_bug.cgi?id=222545
+            <rdar://problem/74865413>
+
+            Reviewed by Dean Jackson.
+
+            To support accelerated animations of individual transform properties, we introduced the notion of
+            non-interpolating animations to apply the underlying value for a given property before applying
+            the actual animations for this property with additivity set to true.
+
+            These non-interpolating animations were meant to last between the time at which animations were
+            committed and the effective start of the first animation for that property, accounting for any
+            delay.
+
+            However, we neglected to handle the case where that first animation had a fill mode that would
+            make it fill backwards, such as CSS Transitions. In that situation, the animation would have
+            its first keyframe applied on top of the underlying value, effectively applying the underlying
+            value twice with additivity.
+
+            We now only add these non-interpolating animations if the first animation has a delay and does
+            not fill backwards.
+
+            Test: webanimations/transform-transition-with-delay-on-forced-layer-with-transform.html
+
+            * platform/graphics/ca/GraphicsLayerCA.cpp:
+            (WebCore::GraphicsLayerCA::updateAnimations):
+
 2021-03-24  Russell Epstein  <[email protected]>
 
         Cherry-pick r273868. rdar://problem/75764823

Modified: branches/safari-611-branch/Source/WebCore/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/WebCore/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebCore/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/WebCore/PAL/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebCore/PAL/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/WebInspectorUI/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebInspectorUI/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -1,8 +1,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The system version prefix is based on the current system version.

Modified: branches/safari-611-branch/Source/WebKit/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/WebKit/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebKit/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.

Modified: branches/safari-611-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig (275577 => 275578)


--- branches/safari-611-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig	2021-04-07 00:45:03 UTC (rev 275577)
+++ branches/safari-611-branch/Source/WebKitLegacy/mac/Configurations/Version.xcconfig	2021-04-07 00:45:08 UTC (rev 275578)
@@ -24,8 +24,8 @@
 MAJOR_VERSION = 611;
 MINOR_VERSION = 1;
 TINY_VERSION = 21;
-MICRO_VERSION = 2;
-NANO_VERSION = 5;
+MICRO_VERSION = 3;
+NANO_VERSION = 2;
 FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION).$(MICRO_VERSION).$(NANO_VERSION);
 
 // The bundle version and short version string are set based on the current build configuration, see below.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to