WebKit Bugzilla
Attachment 340335 Details for
Bug 184819
: [Web Animations] Turn Web Animations with CSS integration on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-184819-20180514203312.patch (text/plain), 227.13 KB, created by
Antoine Quint
on 2018-05-14 11:33:17 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Antoine Quint
Created:
2018-05-14 11:33:17 PDT
Size:
227.13 KB
patch
obsolete
>Subversion Revision: 231766 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 01d58a32f829b8c00667e125ab0846e7cd30aace..e721583710e1846de2254a0badcfadf56adafe4f 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,69 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ We change the "cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" flag to be called >+ "webAnimationsCSSIntegrationEnabled" instead. Both the main Web Animations and the new CSS >+ integration flags are off by default, and turning the main Web Animations flag off makes CSS >+ Animations and CSS Transitions run on the legacy animation engine. >+ >+ We also ensure we always call into both CSSAnimationController::cancelAnimations() and >+ AnimationTimeline::cancelDeclarativeAnimationsForElement() since we want teardown of animations >+ to be performed no matter which animation code path is used. What that in mind, we don't >+ conditionalize the CSSAnimationController-related ASSERT() in FrameView::didDestroyRenderTree(). >+ >+ * dom/Document.cpp: >+ (WebCore::Document::didBecomeCurrentDocumentInFrame): >+ (WebCore::Document::resume): >+ * dom/Element.cpp: >+ (WebCore::Element::removedFromAncestor): >+ * dom/PseudoElement.cpp: >+ (WebCore::PseudoElement::clearHostElement): >+ * history/CachedFrame.cpp: >+ (WebCore::CachedFrameBase::restore): >+ * page/Frame.cpp: >+ (WebCore::Frame::clearTimers): >+ * page/FrameView.cpp: >+ (WebCore::FrameView::didDestroyRenderTree): >+ * page/Page.cpp: >+ (WebCore::Page::handleLowModePowerChange): >+ (WebCore::Page::setIsVisibleInternal): >+ (WebCore::Page::hiddenPageCSSAnimationSuspensionStateChanged): >+ * page/RuntimeEnabledFeatures.h: >+ (WebCore::RuntimeEnabledFeatures::setWebAnimationsCSSIntegrationEnabled): >+ (WebCore::RuntimeEnabledFeatures::webAnimationsCSSIntegrationEnabled const): >+ (WebCore::RuntimeEnabledFeatures::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ (WebCore::RuntimeEnabledFeatures::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled const): Deleted. >+ * rendering/RenderLayer.cpp: >+ (WebCore::RenderLayer::currentTransform const): >+ (WebCore::RenderLayer::calculateClipRects const): >+ * rendering/RenderLayerBacking.cpp: >+ (WebCore::RenderLayerBacking::updateGeometry): >+ * rendering/RenderLayerCompositor.cpp: >+ (WebCore::RenderLayerCompositor::requiresCompositingForAnimation const): >+ (WebCore::RenderLayerCompositor::isRunningTransformAnimation const): >+ * rendering/updating/RenderTreeUpdater.cpp: >+ (WebCore::RenderTreeUpdater::tearDownRenderers): >+ * style/StyleTreeResolver.cpp: >+ (WebCore::Style::TreeResolver::createAnimatedElementUpdate): >+ * testing/InternalSettings.cpp: >+ (WebCore::InternalSettings::webAnimationsCSSIntegrationEnabled): >+ (WebCore::InternalSettings::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ * testing/InternalSettings.h: >+ * testing/InternalSettings.idl: >+ * testing/Internals.cpp: >+ (WebCore::Internals::numberOfActiveAnimations const): >+ (WebCore::Internals::animationsAreSuspended const): >+ (WebCore::Internals::animationsInterval const): >+ (WebCore::Internals::suspendAnimations const): >+ (WebCore::Internals::resumeAnimations const): >+ (WebCore::Internals::pseudoElement): >+ * testing/Internals.h: >+ * testing/Internals.idl: >+ > 2018-05-14 Antoine Quint <graouts@apple.com> > > [Web Animations] Tests using the new animation engine may crash under WebCore::FrameView::didDestroyRenderTree when using internals methods >diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog >index 6cd2a3e9b0dca0dd1640dcda71abf555aacb16d6..422b1be3b667317c42280253c46e84c000f3fa1e 100644 >--- a/Source/WebKit/ChangeLog >+++ b/Source/WebKit/ChangeLog >@@ -1,3 +1,34 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ We change the "cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" flag to be called >+ "webAnimationsCSSIntegrationEnabled" instead and it is now surfaced as an experimental feature >+ so that Web developers can easily toggle the old and new animation engine and control whether >+ CSS Animations and CSS Transitions are returned by calls to getAnimations(). >+ >+ * Shared/WebPreferences.yaml: >+ * UIProcess/API/C/WKPreferences.cpp: >+ (WKPreferencesSetWebAnimationsCSSIntegrationEnabled): >+ (WKPreferencesGetWebAnimationsCSSIntegrationEnabled): >+ (WKPreferencesSetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ (WKPreferencesGetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ * UIProcess/API/C/WKPreferencesRefPrivate.h: >+ * UIProcess/API/Cocoa/WKPreferences.mm: >+ (-[WKPreferences _setWebAnimationsCSSIntegrationEnabled:]): >+ (-[WKPreferences _webAnimationsCSSIntegrationEnabled]): >+ (-[WKPreferences _setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:]): Deleted. >+ (-[WKPreferences _cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled]): Deleted. >+ * UIProcess/API/Cocoa/WKPreferencesPrivate.h: >+ * WebProcess/InjectedBundle/InjectedBundle.cpp: >+ (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): >+ (WebKit::InjectedBundle::setWebAnimationsCSSIntegrationEnabled): >+ (WebKit::InjectedBundle::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ * WebProcess/InjectedBundle/InjectedBundle.h: >+ > 2018-05-14 Michael Catanzaro <mcatanzaro@igalia.com> > > -Wmemset-elt-size warning in LibWebRTCSocket constructor >diff --git a/Source/WebKitLegacy/mac/ChangeLog b/Source/WebKitLegacy/mac/ChangeLog >index 219e7d8ff9a1c2f050c5d74ebc98dbe3868f4b35..da109d0674b04b984e0056c7a6e4db29782cc685 100644 >--- a/Source/WebKitLegacy/mac/ChangeLog >+++ b/Source/WebKitLegacy/mac/ChangeLog >@@ -1,3 +1,24 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ We change the "cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" flag to be called >+ "webAnimationsCSSIntegrationEnabled" instead. >+ >+ * WebView/WebPreferenceKeysPrivate.h: >+ * WebView/WebPreferences.mm: >+ (+[WebPreferences initialize]): >+ (-[WebPreferences webAnimationsCSSIntegrationEnabled]): >+ (-[WebPreferences setWebAnimationsCSSIntegrationEnabled:]): >+ (-[WebPreferences cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled]): Deleted. >+ (-[WebPreferences setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:]): Deleted. >+ * WebView/WebPreferencesPrivate.h: >+ * WebView/WebView.mm: >+ (-[WebView _preferencesChanged:]): >+ > 2018-05-11 Timothy Hatcher <timothy@apple.com> > > WebHTMLView is not setting aside subviews when drawing. >diff --git a/Source/WebKitLegacy/win/ChangeLog b/Source/WebKitLegacy/win/ChangeLog >index 78144c5c242e6d655ae3ae97056dcb5aa64727fd..62f79f1b454bcb4278e19a074c730e6e7aac5a7f 100644 >--- a/Source/WebKitLegacy/win/ChangeLog >+++ b/Source/WebKitLegacy/win/ChangeLog >@@ -1,3 +1,27 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ We change the "cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" flag to be called >+ "webAnimationsCSSIntegrationEnabled" instead and it is now surfaced as an experimental feature >+ so that Web developers can easily toggle the old and new animation engine and control whether >+ CSS Animations and CSS Transitions are returned by calls to getAnimations(). >+ >+ * Interfaces/IWebPreferencesPrivate.idl: >+ * WebPreferenceKeysPrivate.h: >+ * WebPreferences.cpp: >+ (WebPreferences::initializeDefaultSettings): >+ (WebPreferences::webAnimationsCSSIntegrationEnabled): >+ (WebPreferences::setWebAnimationsCSSIntegrationEnabled): >+ (WebPreferences::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ (WebPreferences::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled): Deleted. >+ * WebPreferences.h: >+ * WebView.cpp: >+ (WebView::notifyPreferencesChanged): >+ > 2018-05-10 Fujii Hironori <Hironori.Fujii@sony.com> > > REGRESSION(r231622) [Win] Crashes for null dereference of prefsPrivate in WebView::notifyPreferencesChanged >diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp >index 95a3033408177ab8d2f4b3bd9bd5b7cac39aa12a..3f59f631a27317d84768ea0a214510907e98b270 100644 >--- a/Source/WebCore/dom/Document.cpp >+++ b/Source/WebCore/dom/Document.cpp >@@ -2244,14 +2244,14 @@ void Document::didBecomeCurrentDocumentInFrame() > // be out of sync if the DOM suspension state changed while the document was not in the frame (possibly in the > // page cache, or simply newly created). > if (m_frame->activeDOMObjectsAndAnimationsSuspended()) { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > timeline().suspendAnimations(); > else > m_frame->animation().suspendAnimationsForDocument(this); > suspendScheduledTasks(ActiveDOMObject::PageWillBeSuspended); > } else { > resumeScheduledTasks(ActiveDOMObject::PageWillBeSuspended); >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > timeline().resumeAnimations(); > else > m_frame->animation().resumeAnimationsForDocument(this); >@@ -4932,7 +4932,7 @@ void Document::resume(ActiveDOMObject::ReasonForSuspension reason) > ASSERT(m_frame); > m_frame->loader().client().dispatchDidBecomeFrameset(isFrameSet()); > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > timeline().resumeAnimations(); > else > m_frame->animation().resumeAnimationsForDocument(this); >diff --git a/Source/WebCore/dom/Element.cpp b/Source/WebCore/dom/Element.cpp >index 3a7a4e8592545330a5890a6d57a447649b2987ce..b5b36fb8ee087f6bfad6e09247f3e21c158a9ca3 100644 >--- a/Source/WebCore/dom/Element.cpp >+++ b/Source/WebCore/dom/Element.cpp >@@ -1794,11 +1794,10 @@ void Element::removedFromAncestor(RemovalType removalType, ContainerNode& oldPar > if (hasPendingResources()) > document().accessSVGExtensions().removeElementFromPendingResources(this); > >+ if (auto* timeline = document().existingTimeline()) >+ timeline->cancelDeclarativeAnimationsForElement(*this); > RefPtr<Frame> frame = document().frame(); >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >- if (auto* timeline = document().existingTimeline()) >- timeline->cancelDeclarativeAnimationsForElement(*this); >- } else if (frame) >+ if (frame) > frame->animation().cancelAnimations(*this); > > #if PLATFORM(MAC) >diff --git a/Source/WebCore/dom/PseudoElement.cpp b/Source/WebCore/dom/PseudoElement.cpp >index dbabe43cbdaa967161823a6e58e92fa6955d8dca..9a69aec0efab15a7ca25e3f55e27441fcadec51d 100644 >--- a/Source/WebCore/dom/PseudoElement.cpp >+++ b/Source/WebCore/dom/PseudoElement.cpp >@@ -90,10 +90,9 @@ void PseudoElement::clearHostElement() > { > InspectorInstrumentation::pseudoElementDestroyed(document().page(), *this); > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >- if (auto* timeline = document().existingTimeline()) >- timeline->cancelDeclarativeAnimationsForElement(*this); >- } else if (auto* frame = document().frame()) >+ if (auto* timeline = document().existingTimeline()) >+ timeline->cancelDeclarativeAnimationsForElement(*this); >+ if (auto* frame = document().frame()) > frame->animation().cancelAnimations(*this); > > m_hostElement = nullptr; >diff --git a/Source/WebCore/history/CachedFrame.cpp b/Source/WebCore/history/CachedFrame.cpp >index 5b20dded778a1762796e934eba8eb0b872a99dc6..d7e0059c50ba5c194d85cd6bd6876be9c7d8d953 100644 >--- a/Source/WebCore/history/CachedFrame.cpp >+++ b/Source/WebCore/history/CachedFrame.cpp >@@ -98,7 +98,7 @@ void CachedFrameBase::restore() > if (m_document->svgExtensions()) > m_document->accessSVGExtensions().unpauseAnimations(); > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > m_document->timeline().resumeAnimations(); > else > frame.animation().resumeAnimationsForDocument(m_document.get()); >diff --git a/Source/WebCore/page/Frame.cpp b/Source/WebCore/page/Frame.cpp >index fa5e2ab46d4fce494cde24a1ceeae1026be8ea5a..ab0a8ce21db4b2ee037b0750f79b361506a035e5 100644 >--- a/Source/WebCore/page/Frame.cpp >+++ b/Source/WebCore/page/Frame.cpp >@@ -783,7 +783,7 @@ void Frame::clearTimers(FrameView *view, Document *document) > { > if (view) { > view->layoutContext().unscheduleLayout(); >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > document->timeline().suspendAnimations(); > else > view->frame().animation().suspendAnimationsForDocument(document); >diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp >index 013dd459f2c77511bc12ddc7107420f06c57c203..8e5ecd325496f8628b615dd6f0f4ccdf73584568 100644 >--- a/Source/WebCore/page/FrameView.cpp >+++ b/Source/WebCore/page/FrameView.cpp >@@ -591,8 +591,7 @@ void FrameView::didDestroyRenderTree() > ASSERT(!m_viewportConstrainedObjects || m_viewportConstrainedObjects->isEmpty()); > ASSERT(!m_slowRepaintObjects || m_slowRepaintObjects->isEmpty()); > >- if (!RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >- ASSERT(!frame().animation().hasAnimations()); >+ ASSERT(!frame().animation().hasAnimations()); > } > > void FrameView::setContentsSize(const IntSize& size) >diff --git a/Source/WebCore/page/Page.cpp b/Source/WebCore/page/Page.cpp >index 633e3b97f7d65035139365d58e2df0d73b8d4279..3ee55866e468e4f5c51de10a1248deaff00d4956 100644 >--- a/Source/WebCore/page/Page.cpp >+++ b/Source/WebCore/page/Page.cpp >@@ -1140,7 +1140,7 @@ void Page::setIsVisuallyIdleInternal(bool isVisuallyIdle) > void Page::handleLowModePowerChange(bool isLowPowerModeEnabled) > { > updateScriptedAnimationsThrottlingReason(*this, isLowPowerModeEnabled ? ThrottlingReasonOperation::Add : ThrottlingReasonOperation::Remove, ScriptedAnimationController::ThrottlingReason::LowPowerMode); >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > forEachDocument([&] (Document& document) { > if (auto timeline = document.existingTimeline()) > timeline->updateThrottlingState(); >@@ -1638,7 +1638,7 @@ void Page::setIsVisibleInternal(bool isVisible) > view->show(); > > if (m_settings->hiddenPageCSSAnimationSuspensionEnabled()) { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > forEachDocument([&] (Document& document) { > document.timeline().resumeAnimations(); > }); >@@ -1658,7 +1658,7 @@ void Page::setIsVisibleInternal(bool isVisible) > > if (!isVisible) { > if (m_settings->hiddenPageCSSAnimationSuspensionEnabled()) { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > forEachDocument([&] (Document& document) { > document.timeline().suspendAnimations(); > }); >@@ -2010,7 +2010,7 @@ void Page::resetSeenMediaEngines() > void Page::hiddenPageCSSAnimationSuspensionStateChanged() > { > if (!isVisible()) { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > forEachDocument([&] (Document& document) { > if (m_settings->hiddenPageCSSAnimationSuspensionEnabled()) > document.timeline().suspendAnimations(); >diff --git a/Source/WebCore/page/RuntimeEnabledFeatures.h b/Source/WebCore/page/RuntimeEnabledFeatures.h >index d7611254d68e3830b9cba45dc35c73361389e631..7c78056bbbbcfde293d70c88077d1717c877e538 100644 >--- a/Source/WebCore/page/RuntimeEnabledFeatures.h >+++ b/Source/WebCore/page/RuntimeEnabledFeatures.h >@@ -173,8 +173,8 @@ public: > void setWebAnimationsEnabled(bool areEnabled) { m_areWebAnimationsEnabled = areEnabled; } > bool webAnimationsEnabled() const { return m_areWebAnimationsEnabled; } > >- void setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(bool areEnabled) { m_areCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled = areEnabled; } >- bool cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled() const { return m_areCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled; } >+ void setWebAnimationsCSSIntegrationEnabled(bool isEnabled) { m_isWebAnimationsCSSIntegrationEnabled = isEnabled; } >+ bool webAnimationsCSSIntegrationEnabled() const { return m_areWebAnimationsEnabled && m_isWebAnimationsCSSIntegrationEnabled; } > > #if ENABLE(WEBGL2) > void setWebGL2Enabled(bool isEnabled) { m_isWebGL2Enabled = isEnabled; } >@@ -348,8 +348,8 @@ private: > bool m_isWritableStreamAPIEnabled { false }; > #endif > >- bool m_areWebAnimationsEnabled { true }; >- bool m_areCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled { false }; >+ bool m_areWebAnimationsEnabled { false }; >+ bool m_isWebAnimationsCSSIntegrationEnabled { false }; > > #if ENABLE(WEBGL2) > bool m_isWebGL2Enabled { false }; >diff --git a/Source/WebCore/rendering/RenderLayer.cpp b/Source/WebCore/rendering/RenderLayer.cpp >index f6c42e3928c81b9104d914bc0b32ba91af18d5fc..08c0ee613774ba7144059f504594edc57fd3662b 100644 >--- a/Source/WebCore/rendering/RenderLayer.cpp >+++ b/Source/WebCore/rendering/RenderLayer.cpp >@@ -1000,7 +1000,7 @@ TransformationMatrix RenderLayer::currentTransform(RenderStyle::ApplyTransformOr > > RenderBox* box = renderBox(); > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > if (auto* timeline = renderer().documentTimeline()) { > if (timeline->isRunningAcceleratedAnimationOnRenderer(renderer(), CSSPropertyTransform)) { > TransformationMatrix currTransform; >@@ -5790,7 +5790,7 @@ bool RenderLayer::getOverlapBoundsIncludingChildrenAccountingForTransformAnimati > bounds = calculateLayerBounds(this, LayoutSize(), boundsFlags); > > LayoutRect animatedBounds = bounds; >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > if (auto* timeline = renderer().documentTimeline()) { > if (timeline->computeExtentOfAnimation(renderer(), animatedBounds)) { > bounds = animatedBounds; >diff --git a/Source/WebCore/rendering/RenderLayerBacking.cpp b/Source/WebCore/rendering/RenderLayerBacking.cpp >index 160a53137890ce9a20f155d89005699656495b3f..c8b97cef6af16706ce724ed2235556232b7f3922 100644 >--- a/Source/WebCore/rendering/RenderLayerBacking.cpp >+++ b/Source/WebCore/rendering/RenderLayerBacking.cpp >@@ -952,7 +952,7 @@ void RenderLayerBacking::updateGeometry() > > bool isRunningAcceleratedTransformAnimation = false; > bool isRunningAcceleratedOpacityAnimation = false; >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > if (auto* timeline = renderer().documentTimeline()) { > isRunningAcceleratedTransformAnimation = timeline->isRunningAcceleratedAnimationOnRenderer(renderer(), CSSPropertyTransform); > isRunningAcceleratedOpacityAnimation = timeline->isRunningAcceleratedAnimationOnRenderer(renderer(), CSSPropertyOpacity); >diff --git a/Source/WebCore/rendering/RenderLayerCompositor.cpp b/Source/WebCore/rendering/RenderLayerCompositor.cpp >index 2fb72bdafc9c6e1ca698b7e782f3898136907679..a29f161eb49b4b2e3f4639a3779ba1144a42693a 100644 >--- a/Source/WebCore/rendering/RenderLayerCompositor.cpp >+++ b/Source/WebCore/rendering/RenderLayerCompositor.cpp >@@ -2478,7 +2478,7 @@ bool RenderLayerCompositor::requiresCompositingForAnimation(RenderLayerModelObje > } > } > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > return false; > > const AnimationBase::RunningState activeAnimationState = AnimationBase::Running | AnimationBase::Paused; >@@ -2719,7 +2719,7 @@ bool RenderLayerCompositor::isRunningTransformAnimation(RenderLayerModelObject& > if (!(m_compositingTriggers & ChromeClient::AnimationTrigger)) > return false; > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > if (auto* element = renderer.element()) { > if (auto* timeline = element->document().existingTimeline()) > return timeline->isRunningAnimationOnRenderer(renderer, CSSPropertyTransform); >diff --git a/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp b/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp >index ffe15798b6cd04a3400124a03dc7d6abbdd49675..e5516f9a698c773b2ef75f89b1027fed0341d5e8 100644 >--- a/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp >+++ b/Source/WebCore/rendering/updating/RenderTreeUpdater.cpp >@@ -553,11 +553,9 @@ void RenderTreeUpdater::tearDownRenderers(Element& root, TeardownType teardownTy > auto& element = *teardownStack.takeLast(); > > if (teardownType == TeardownType::Full || teardownType == TeardownType::RendererUpdateCancelingAnimations) { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >- if (timeline) >- timeline->cancelDeclarativeAnimationsForElement(element); >- } else >- animationController.cancelAnimations(element); >+ if (timeline) >+ timeline->cancelDeclarativeAnimationsForElement(element); >+ animationController.cancelAnimations(element); > } > > if (teardownType == TeardownType::Full) >diff --git a/Source/WebCore/style/StyleTreeResolver.cpp b/Source/WebCore/style/StyleTreeResolver.cpp >index 040031cfb90e1125eca7cb9bb03513ab4d0516a1..ba78904a5a4b17107e91a42ffc6a7c1d3bb862f5 100644 >--- a/Source/WebCore/style/StyleTreeResolver.cpp >+++ b/Source/WebCore/style/StyleTreeResolver.cpp >@@ -288,7 +288,7 @@ ElementUpdate TreeResolver::createAnimatedElementUpdate(std::unique_ptr<RenderSt > auto* oldStyle = renderOrDisplayContentsStyle(element); > > // New code path for CSS Animations and CSS Transitions. >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > // First, we need to make sure that any new CSS animation occuring on this element has a matching WebAnimation > // on the document timeline. Note that we get timeline() on the Document here because we need a timeline created > // in case no Web Animations have been created through the JS API. >@@ -314,7 +314,7 @@ ElementUpdate TreeResolver::createAnimatedElementUpdate(std::unique_ptr<RenderSt > bool shouldRecompositeLayer = false; > > // Old code path for CSS Animations and CSS Transitions. >- if (!RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (!RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > auto& animationController = m_document.frame()->animation(); > > auto animationUpdate = animationController.updateAnimations(element, *newStyle, oldStyle); >diff --git a/Source/WebCore/testing/InternalSettings.cpp b/Source/WebCore/testing/InternalSettings.cpp >index 47aa6376ac1e1e096756321131c42bf44e7074c5..24e4aaebe3746e0204cb3e7f0affc71e27b54038 100644 >--- a/Source/WebCore/testing/InternalSettings.cpp >+++ b/Source/WebCore/testing/InternalSettings.cpp >@@ -962,9 +962,9 @@ void InternalSettings::setForcedPrefersReducedMotionAccessibilityValue(InternalS > settings().setForcedPrefersReducedMotionAccessibilityValue(internalSettingsToSettingsValue(value)); > } > >-bool InternalSettings::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled() >+bool InternalSettings::webAnimationsCSSIntegrationEnabled() > { >- return RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(); >+ return RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled(); > } > > // If you add to this class, make sure that you update the Backup class for test reproducability! >diff --git a/Source/WebCore/testing/InternalSettings.h b/Source/WebCore/testing/InternalSettings.h >index ce3b37204539dece0119e750644bae0002b5e265..9a48f156c414442ab4fa9b4357e71fe3fb724b72 100644 >--- a/Source/WebCore/testing/InternalSettings.h >+++ b/Source/WebCore/testing/InternalSettings.h >@@ -125,7 +125,7 @@ public: > static void setWebVREnabled(bool); > static void setScreenCaptureEnabled(bool); > >- static bool cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(); >+ static bool webAnimationsCSSIntegrationEnabled(); > > static void setStorageAccessPromptsEnabled(bool); > >diff --git a/Source/WebCore/testing/InternalSettings.idl b/Source/WebCore/testing/InternalSettings.idl >index bf8854067996922309a40f7a0728329ad3b1ddf3..ab6157f5cf8eb6617c317239d8a7a9e644c03846 100644 >--- a/Source/WebCore/testing/InternalSettings.idl >+++ b/Source/WebCore/testing/InternalSettings.idl >@@ -111,7 +111,7 @@ enum FontLoadTimingOverride { "Block", "Swap", "Failure" }; > [MayThrowException] void setShouldManageAudioSessionCategory(boolean should); > [MayThrowException] void setCustomPasteboardDataEnabled(boolean enabled); > >- [EnabledAtRuntime=WebAnimations] boolean cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(); >+ [EnabledAtRuntime=WebAnimations] boolean webAnimationsCSSIntegrationEnabled(); > > [MayThrowException] void setAccessibilityEventsEnabled(boolean enabled); > }; >diff --git a/Source/WebCore/testing/Internals.cpp b/Source/WebCore/testing/Internals.cpp >index 09aa0a975cc4dac4ae100f88a0502d2286be5826..1fcac3f4003eccfb786dfd56bac81b2a2e5bc315 100644 >--- a/Source/WebCore/testing/Internals.cpp >+++ b/Source/WebCore/testing/Internals.cpp >@@ -923,7 +923,7 @@ ExceptionOr<unsigned> Internals::lastSpatialNavigationCandidateCount() const > > unsigned Internals::numberOfActiveAnimations() const > { >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > return frame()->document()->timeline().numberOfActiveAnimationsForTesting(); > return frame()->animation().numberOfActiveAnimations(frame()->document()); > } >@@ -934,7 +934,7 @@ ExceptionOr<bool> Internals::animationsAreSuspended() const > if (!document || !document->frame()) > return Exception { InvalidAccessError }; > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) > return document->timeline().animationsAreSuspended(); > return document->frame()->animation().animationsAreSuspendedForDocument(document); > } >@@ -945,7 +945,7 @@ double Internals::animationsInterval() const > if (!document) > return INFINITY; > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > if (auto timeline = document->existingTimeline()) > return timeline->animationInterval().seconds(); > return INFINITY; >@@ -962,7 +962,7 @@ ExceptionOr<void> Internals::suspendAnimations() const > if (!document || !document->frame()) > return Exception { InvalidAccessError }; > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > document->timeline().suspendAnimations(); > for (Frame* frame = document->frame(); frame; frame = frame->tree().traverseNext()) { > if (Document* document = frame->document()) >@@ -986,7 +986,7 @@ ExceptionOr<void> Internals::resumeAnimations() const > if (!document || !document->frame()) > return Exception { InvalidAccessError }; > >- if (RuntimeEnabledFeatures::sharedFeatures().cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) { >+ if (RuntimeEnabledFeatures::sharedFeatures().webAnimationsCSSIntegrationEnabled()) { > document->timeline().resumeAnimations(); > for (Frame* frame = document->frame(); frame; frame = frame->tree().traverseNext()) { > if (Document* document = frame->document()) >diff --git a/Source/WebKit/Shared/WebPreferences.yaml b/Source/WebKit/Shared/WebPreferences.yaml >index b54dc1357d04bce3ee08d81c3d444f79cda707f7..6701ee08f40eadddf506f93ec6d76e8dc1acadfb 100644 >--- a/Source/WebKit/Shared/WebPreferences.yaml >+++ b/Source/WebKit/Shared/WebPreferences.yaml >@@ -99,11 +99,6 @@ CSSAnimationTriggersEnabled: > webcoreName: animationTriggersEnabled > condition: ENABLE(CSS_ANIMATIONS_LEVEL_2) > >-CSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled: >- type: bool >- defaultValue: false >- webcoreBinding: RuntimeEnabledFeatures >- > ForceFTPDirectoryListings: > type: bool > defaultValue: false >@@ -1194,12 +1189,20 @@ VisualViewportAPIEnabled: > > WebAnimationsEnabled: > type: bool >- defaultValue: true >+ defaultValue: false > humanReadableName: "Web Animations" > humanReadableDescription: "Web Animations prototype" > category: experimental > webcoreBinding: RuntimeEnabledFeatures > >+WebAnimationsCSSIntegrationEnabled: >+ type: bool >+ defaultValue: false >+ humanReadableName: "Web Animations and CSS Integration" >+ humanReadableDescription: "Expose CSS Animations and CSS Transitions through getAnimations()" >+ category: experimental >+ webcoreBinding: RuntimeEnabledFeatures >+ > WebGL2Enabled: > type: bool > defaultValue: false >diff --git a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp b/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >index 20d5f1263420c04ff930099da0d44cc5becf47d0..fc1d7fa491cbe5c8296a967400e4149ce9c93810 100644 >--- a/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >+++ b/Source/WebKit/UIProcess/API/C/WKPreferences.cpp >@@ -525,14 +525,14 @@ bool WKPreferencesGetWebAnimationsEnabled(WKPreferencesRef preferencesRef) > return toImpl(preferencesRef)->webAnimationsEnabled(); > } > >-void WKPreferencesSetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(WKPreferencesRef preferencesRef, bool flag) >+void WKPreferencesSetWebAnimationsCSSIntegrationEnabled(WKPreferencesRef preferencesRef, bool flag) > { >- toImpl(preferencesRef)->setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(flag); >+ toImpl(preferencesRef)->setWebAnimationsCSSIntegrationEnabled(flag); > } > >-bool WKPreferencesGetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(WKPreferencesRef preferencesRef) >+bool WKPreferencesGetWebAnimationsCSSIntegrationEnabled(WKPreferencesRef preferencesRef) > { >- return toImpl(preferencesRef)->cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(); >+ return toImpl(preferencesRef)->webAnimationsCSSIntegrationEnabled(); > } > > void WKPreferencesSetNeedsSiteSpecificQuirks(WKPreferencesRef preferencesRef, bool flag) >diff --git a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h b/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >index 142ba2220db9f1cdf5ca2163af22743491ddb06f..10e47ed3263fbc0d4b4a2a928f820fe578571a1b 100644 >--- a/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >+++ b/Source/WebKit/UIProcess/API/C/WKPreferencesRefPrivate.h >@@ -120,8 +120,8 @@ WK_EXPORT void WKPreferencesSetWebAnimationsEnabled(WKPreferencesRef, bool flag) > WK_EXPORT bool WKPreferencesGetWebAnimationsEnabled(WKPreferencesRef); > > // Defaults to false >-WK_EXPORT void WKPreferencesSetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(WKPreferencesRef, bool flag); >-WK_EXPORT bool WKPreferencesGetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(WKPreferencesRef); >+WK_EXPORT void WKPreferencesSetWebAnimationsCSSIntegrationEnabled(WKPreferencesRef, bool flag); >+WK_EXPORT bool WKPreferencesGetWebAnimationsCSSIntegrationEnabled(WKPreferencesRef); > > // Defaults to false. > WK_EXPORT void WKPreferencesSetNeedsSiteSpecificQuirks(WKPreferencesRef, bool); >diff --git a/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm b/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >index 944e082d2b2e82ebb8d067569e5521635da81e47..5fc0bc5a73af08d6188b1618cae1c79f5eddf42f 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >+++ b/Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm >@@ -982,14 +982,14 @@ - (BOOL)_cssAnimationTriggersEnabled > return _preferences->cssAnimationTriggersEnabled(); > } > >-- (void)_setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:(BOOL)enabled >+- (void)_setWebAnimationsCSSIntegrationEnabled:(BOOL)enabled > { >- _preferences->setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(enabled); >+ _preferences->setWebAnimationsCSSIntegrationEnabled(enabled); > } > >-- (BOOL)_cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled >+- (BOOL)_webAnimationsCSSIntegrationEnabled > { >- return _preferences->cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(); >+ return _preferences->webAnimationsCSSIntegrationEnabled(); > } > > - (void)_setStandardFontFamily:(NSString *)family >diff --git a/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h b/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >index f9baf8ad689fabb6ca659372f464e7bfaf55e730..c005fcbc27f340c1f7c9be23e9e1af1369fa2b08 100644 >--- a/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >+++ b/Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h >@@ -163,7 +163,7 @@ typedef NS_ENUM(NSInteger, _WKEditableLinkBehavior) { > @property (nonatomic, setter=_setMediaSourceEnabled:) BOOL _mediaSourceEnabled WK_API_AVAILABLE(macosx(10.13.4)); > @property (nonatomic, setter=_setViewGestureDebuggingEnabled:) BOOL _viewGestureDebuggingEnabled WK_API_AVAILABLE(macosx(10.13.4)); > @property (nonatomic, setter=_setCSSAnimationTriggersEnabled:) BOOL _cssAnimationTriggersEnabled WK_API_AVAILABLE(macosx(10.13.4)); >-@property (nonatomic, setter=_setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:) BOOL _cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA)); >+@property (nonatomic, setter=_setWebAnimationsCSSIntegrationEnabled:) BOOL _webAnimationsCSSIntegrationEnabled WK_API_AVAILABLE(macosx(WK_MAC_TBA)); > @property (nonatomic, setter=_setStandardFontFamily:) NSString *_standardFontFamily WK_API_AVAILABLE(macosx(10.13.4)); > @property (nonatomic, setter=_setNotificationsEnabled:) BOOL _notificationsEnabled WK_API_AVAILABLE(macosx(10.13.4)); > @property (nonatomic, setter=_setBackspaceKeyNavigationEnabled:) BOOL _backspaceKeyNavigationEnabled WK_API_AVAILABLE(macosx(10.13.4)); >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp >index 0cb7580d40a4482d295578e30e1814ffaf0f2326..0f3b9b7386d33c4587c496583fff0c63dd6a5b33 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp >@@ -195,8 +195,8 @@ void InjectedBundle::overrideBoolPreferenceForTestRunner(WebPageGroupProxy* page > if (preference == "WebKitWebAnimationsEnabled") > RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsEnabled(enabled); > >- if (preference == "WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled") >- RuntimeEnabledFeatures::sharedFeatures().setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(enabled); >+ if (preference == "WebKitWebAnimationsCSSIntegrationEnabled") >+ RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsCSSIntegrationEnabled(enabled); > > if (preference == "WebKitCacheAPIEnabled") > RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled(enabled); >@@ -624,9 +624,9 @@ void InjectedBundle::setWebAnimationsEnabled(bool enabled) > RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsEnabled(enabled); > } > >-void InjectedBundle::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(bool enabled) >+void InjectedBundle::setWebAnimationsCSSIntegrationEnabled(bool enabled) > { >- RuntimeEnabledFeatures::sharedFeatures().setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(enabled); >+ RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsCSSIntegrationEnabled(enabled); > } > > } // namespace WebKit >diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h >index abbf397a3bda104b2467ecc2ccae946ec26764b9..6f8fe7bd89258f8f0f9d10382fd6b3eabfbe307b 100644 >--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h >+++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.h >@@ -151,7 +151,7 @@ public: > void setSerialLoadingEnabled(bool); > void setCSSAnimationTriggersEnabled(bool); > void setWebAnimationsEnabled(bool); >- void setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(bool); >+ void setWebAnimationsCSSIntegrationEnabled(bool); > void dispatchPendingLoadRequests(); > > #if PLATFORM(COCOA) && WK_API_ENABLED >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h b/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >index ed7466dbd11feebba85212a33004a9d36abc2cf3..a5893212103a9f688cb8dd8f98c96b6521470965 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h >@@ -196,7 +196,7 @@ > #define WebKitConstantPropertiesEnabledPreferenceKey @"WebKitConstantPropertiesEnabled" > #define WebKitColorFilterEnabledPreferenceKey @"WebKitColorFilterEnabled" > #define WebKitFetchAPIKeepAliveEnabledPreferenceKey @"WebKitFetchAPIKeepAliveEnabled" >-#define WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey @"WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" >+#define WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey @"WebKitWebAnimationsCSSIntegrationEnabled" > > #if !TARGET_OS_IPHONE > // These are private both because callers should be using the cover methods and because the >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm b/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >index 5ec00af91edc3859b760b39dab9193ce9caadf55..843a24145a16310c47830568622d90cab4f6c8a1 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferences.mm >@@ -625,7 +625,7 @@ + (void)initialize > [NSNumber numberWithBool:YES], WebKitDataTransferItemsEnabledPreferenceKey, > [NSNumber numberWithBool:NO], WebKitCustomPasteboardDataEnabledPreferenceKey, > [NSNumber numberWithBool:YES], WebKitModernMediaControlsEnabledPreferenceKey, >- [NSNumber numberWithBool:NO], WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey, >+ [NSNumber numberWithBool:YES], WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey, > > #if ENABLE(WEBGL2) > [NSNumber numberWithBool:NO], WebKitWebGL2EnabledPreferenceKey, >@@ -3121,14 +3121,14 @@ - (void)setModernMediaControlsEnabled:(BOOL)flag > [self _setBoolValue:flag forKey:WebKitModernMediaControlsEnabledPreferenceKey]; > } > >-- (BOOL)cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled >+- (BOOL)webAnimationsCSSIntegrationEnabled > { >- return [self _boolValueForKey:WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey]; >+ return [self _boolValueForKey:WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey]; > } > >-- (void)setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:(BOOL)flag >+- (void)setWebAnimationsCSSIntegrationEnabled:(BOOL)flag > { >- [self _setBoolValue:flag forKey:WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey]; >+ [self _setBoolValue:flag forKey:WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey]; > } > > - (BOOL)intersectionObserverEnabled >diff --git a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h b/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >index 0918aaacf8801360500fd167406d9009c401bc7c..19ac76df250103c5e046c206dd077cd29c8521ab 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >+++ b/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h >@@ -570,8 +570,8 @@ extern NSString *WebPreferencesCacheModelChangedInternalNotification WEBKIT_DEPR > - (void)setModernMediaControlsEnabled:(BOOL)flag; > - (BOOL)modernMediaControlsEnabled; > >-- (void)setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled:(BOOL)flag; >-- (BOOL)cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled; >+- (void)setWebAnimationsCSSIntegrationEnabled:(BOOL)flag; >+- (BOOL)webAnimationsCSSIntegrationEnabled; > > - (void)setWebAuthenticationEnabled:(BOOL)flag; > - (BOOL)webAuthenticationEnabled; >diff --git a/Source/WebKitLegacy/mac/WebView/WebView.mm b/Source/WebKitLegacy/mac/WebView/WebView.mm >index 5ef304266065ed54eb061a0cf52b28ba80ac970d..ff1c0186b8a2e5e6816b0b643b2aa19629d272e1 100644 >--- a/Source/WebKitLegacy/mac/WebView/WebView.mm >+++ b/Source/WebKitLegacy/mac/WebView/WebView.mm >@@ -3079,7 +3079,7 @@ - (void)_preferencesChanged:(WebPreferences *)preferences > > RuntimeEnabledFeatures::sharedFeatures().setInteractiveFormValidationEnabled([self interactiveFormValidationEnabled]); > RuntimeEnabledFeatures::sharedFeatures().setModernMediaControlsEnabled([preferences modernMediaControlsEnabled]); >- RuntimeEnabledFeatures::sharedFeatures().setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled([preferences cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled]); >+ RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsCSSIntegrationEnabled([preferences webAnimationsCSSIntegrationEnabled]); > > RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled([preferences cacheAPIEnabled]); > RuntimeEnabledFeatures::sharedFeatures().setFetchAPIEnabled([preferences fetchAPIEnabled]); >diff --git a/Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl b/Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl >index 734f8bea5248dd22d46ff6b492b5f3f57c69c771..4b40c59d26297b3f5f93bf52792762c003ae5046 100644 >--- a/Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl >+++ b/Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl >@@ -183,8 +183,8 @@ interface IWebPreferencesPrivate3 : IWebPreferencesPrivate2 > HRESULT setCustomElementsEnabled([in] BOOL enabled); > HRESULT modernMediaControlsEnabled([out, retval] BOOL* enabled); > HRESULT setModernMediaControlsEnabled([in] BOOL enabled); >- HRESULT cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled([out, retval] BOOL* enabled); >- HRESULT setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled([in] BOOL enabled); >+ HRESULT webAnimationsCSSIntegrationEnabled([out, retval] BOOL* enabled); >+ HRESULT setWebAnimationsCSSIntegrationEnabled([in] BOOL enabled); > } > > [uuid(F9582D72-6348-45B1-AB09-39E33459B5B9)] >diff --git a/Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h b/Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h >index 08e847397f2e2f71ac12f6e107d73fa0a8c743c8..60693783c44ccb42ec5d5c5bfe52ae60c08f00dd 100644 >--- a/Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h >+++ b/Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h >@@ -186,7 +186,7 @@ > > #define WebKitWebAnimationsEnabledPreferenceKey "WebKitWebAnimationsEnabled" > >-#define WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey "WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled" >+#define WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey "WebKitWebAnimationsCSSIntegrationEnabled" > > #define WebKitUserTimingEnabledPreferenceKey "WebKitUserTimingEnabled" > >diff --git a/Source/WebKitLegacy/win/WebPreferences.cpp b/Source/WebKitLegacy/win/WebPreferences.cpp >index 1f407032b85a9198d8129c18b7e007c0a8f8641d..2b8c651d85792153b7ff0f53cd308fb194b96836 100644 >--- a/Source/WebKitLegacy/win/WebPreferences.cpp >+++ b/Source/WebKitLegacy/win/WebPreferences.cpp >@@ -311,6 +311,8 @@ void WebPreferences::initializeDefaultSettings() > > CFDictionaryAddValue(defaults, CFSTR(WebKitWebAnimationsEnabledPreferenceKey), kCFBooleanFalse); > >+ CFDictionaryAddValue(defaults, CFSTR(WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey), kCFBooleanFalse); >+ > CFDictionaryAddValue(defaults, CFSTR(WebKitUserTimingEnabledPreferenceKey), kCFBooleanFalse); > > CFDictionaryAddValue(defaults, CFSTR(WebKitResourceTimingEnabledPreferenceKey), kCFBooleanFalse); >@@ -2060,17 +2062,17 @@ HRESULT WebPreferences::modernMediaControlsEnabled(_Out_ BOOL* enabled) > return S_OK; > } > >-HRESULT WebPreferences::cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(_Out_ BOOL* enabled) >+HRESULT WebPreferences::webAnimationsCSSIntegrationEnabled(_Out_ BOOL* enabled) > { > if (!enabled) > return E_POINTER; >- *enabled = boolValueForKey(WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey); >+ *enabled = boolValueForKey(WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey); > return S_OK; > } > >-HRESULT WebPreferences::setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(BOOL enabled) >+HRESULT WebPreferences::setWebAnimationsCSSIntegrationEnabled(BOOL enabled) > { >- setBoolValue(WebKitCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabledPreferenceKey, enabled); >+ setBoolValue(WebKitWebAnimationsCSSIntegrationEnabledPreferenceKey, enabled); > return S_OK; > } > >diff --git a/Source/WebKitLegacy/win/WebPreferences.h b/Source/WebKitLegacy/win/WebPreferences.h >index 370a55c914026d765084f2319e448f9125cba407..9b78c0062a21c269f23bd7e97b847eb07c90e127 100644 >--- a/Source/WebKitLegacy/win/WebPreferences.h >+++ b/Source/WebKitLegacy/win/WebPreferences.h >@@ -240,8 +240,8 @@ public: > virtual HRESULT STDMETHODCALLTYPE setCustomElementsEnabled(BOOL); > virtual HRESULT STDMETHODCALLTYPE modernMediaControlsEnabled(_Out_ BOOL*); > virtual HRESULT STDMETHODCALLTYPE setModernMediaControlsEnabled(BOOL); >- virtual HRESULT STDMETHODCALLTYPE cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(_Out_ BOOL*); >- virtual HRESULT STDMETHODCALLTYPE setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(BOOL); >+ virtual HRESULT STDMETHODCALLTYPE webAnimationsCSSIntegrationEnabled(_Out_ BOOL*); >+ virtual HRESULT STDMETHODCALLTYPE setWebAnimationsCSSIntegrationEnabled(BOOL); > > // IWebPreferencesPrivate4 > virtual HRESULT STDMETHODCALLTYPE setApplicationId(BSTR); >diff --git a/Source/WebKitLegacy/win/WebView.cpp b/Source/WebKitLegacy/win/WebView.cpp >index 15c5c360570995bbd347fb11c01a4449cce9c049..64b7b88dda70a6c6f541de200a71365a8e747be1 100644 >--- a/Source/WebKitLegacy/win/WebView.cpp >+++ b/Source/WebKitLegacy/win/WebView.cpp >@@ -5229,10 +5229,10 @@ HRESULT WebView::notifyPreferencesChanged(IWebNotification* notification) > return hr; > RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsEnabled(!!enabled); > >- hr = prefsPrivate->cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(&enabled); >+ hr = prefsPrivate->webAnimationsCSSIntegrationEnabled(&enabled); > if (FAILED(hr)) > return hr; >- RuntimeEnabledFeatures::sharedFeatures().setCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(!!enabled); >+ RuntimeEnabledFeatures::sharedFeatures().setWebAnimationsCSSIntegrationEnabled(!!enabled); > > hr = prefsPrivate->userTimingEnabled(&enabled); > if (FAILED(hr)) >diff --git a/Tools/ChangeLog b/Tools/ChangeLog >index 2d5b861428cedc18f6a928735fc2e521cbedd545..29c720d5e3dd4fb5d16d7642f99faedc879ce91d 100644 >--- a/Tools/ChangeLog >+++ b/Tools/ChangeLog >@@ -1,3 +1,33 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Make the test runners turn both the main Web Animations flag and the Web Animations CSS >+ integration flag on. >+ >+ We also remove the ability to toggle the Web Animations CSS integration flag using an HTML >+ comment directly at the top of the file since test runners now set the flag on by default >+ and a dedicated directory exists for tests that need to run with this flag off. >+ >+ * DumpRenderTree/TestOptions.cpp: >+ (TestOptions::TestOptions): >+ * DumpRenderTree/TestOptions.h: >+ * DumpRenderTree/mac/DumpRenderTree.mm: >+ (setWebPreferencesForTestOptions): >+ (shouldOverrideAndDisableWebAnimationsCSSIntegrationPreference): >+ (runTest): >+ * WebKitTestRunner/TestController.cpp: >+ (WTR::TestController::resetPreferencesToConsistentValues): >+ (WTR::updateTestOptionsFromTestHeader): >+ * WebKitTestRunner/TestOptions.cpp: >+ (WTR::isLegacyAnimationEngineTestPath): >+ (WTR::TestOptions::TestOptions): >+ * WebKitTestRunner/TestOptions.h: >+ (WTR::TestOptions::hasSameInitializationOptions const): >+ > 2018-05-14 Jeremy Jones <jeremyj@apple.com> > > NSEvent event trackers don't work from WebKitTestRunner >diff --git a/Tools/DumpRenderTree/TestOptions.cpp b/Tools/DumpRenderTree/TestOptions.cpp >index ebfd7a4d277ad6da5764c43ff77b051d3e9683c6..d5ec57413acf4e1c2b5c5cd3d39e532ccbe5ff91 100644 >--- a/Tools/DumpRenderTree/TestOptions.cpp >+++ b/Tools/DumpRenderTree/TestOptions.cpp >@@ -99,8 +99,6 @@ TestOptions::TestOptions(const std::string& pathOrURL, const std::string& absolu > dumpJSConsoleLogInStdErr = parseBooleanTestHeaderValue(value); > else if (key == "allowCrossOriginSubresourcesToAskForCredentials") > allowCrossOriginSubresourcesToAskForCredentials = parseBooleanTestHeaderValue(value); >- else if (key == "enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations") >- enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations = parseBooleanTestHeaderValue(value); > pairStart = pairEnd + 1; > } > } >diff --git a/Tools/DumpRenderTree/TestOptions.h b/Tools/DumpRenderTree/TestOptions.h >index 43f3f4988864f9565ccee6cab1578fc60840795b..f574c0d81a67eb7dbd753a9495080d0b8bc369a1 100644 >--- a/Tools/DumpRenderTree/TestOptions.h >+++ b/Tools/DumpRenderTree/TestOptions.h >@@ -29,7 +29,7 @@ > > struct TestOptions { > bool enableAttachmentElement { false }; >- bool enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations { false }; >+ bool enableWebAnimationsCSSIntegration { true }; > bool useAcceleratedDrawing { false }; > bool enableIntersectionObserver { false }; > bool enableMenuItemElement { false }; >diff --git a/Tools/DumpRenderTree/mac/DumpRenderTree.mm b/Tools/DumpRenderTree/mac/DumpRenderTree.mm >index 42353656924c25f1c397490432ca3387901ede1c..5c2fe4b6ff72507576e2c2f9e6ab49b78c47d663 100644 >--- a/Tools/DumpRenderTree/mac/DumpRenderTree.mm >+++ b/Tools/DumpRenderTree/mac/DumpRenderTree.mm >@@ -1000,7 +1000,7 @@ static void setWebPreferencesForTestOptions(const TestOptions& options) > preferences.isSecureContextAttributeEnabled = options.enableIsSecureContextAttribute; > preferences.inspectorAdditionsEnabled = options.enableInspectorAdditions; > preferences.allowCrossOriginSubresourcesToAskForCredentials = options.allowCrossOriginSubresourcesToAskForCredentials; >- preferences.CSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled = options.enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations; >+ preferences.WebAnimationsCSSIntegrationEnabled = options.enableWebAnimationsCSSIntegration; > } > > // Called once on DumpRenderTree startup. >@@ -1754,6 +1754,11 @@ static bool shouldDumpAsText(const char* pathOrURL) > return strstr(pathOrURL, "dumpAsText/"); > } > >+static bool shouldOverrideAndDisableWebAnimationsCSSIntegrationPreference(const char* pathOrURL) >+{ >+ return strstr(pathOrURL, "legacy-animation-engine/"); >+} >+ > static bool shouldEnableDeveloperExtras(const char* pathOrURL) > { > return true; >@@ -1923,6 +1928,9 @@ static void runTest(const string& inputLine) > > TestOptions options { [url isFileURL] ? [url fileSystemRepresentation] : pathOrURL, command.absolutePath }; > >+ if (shouldOverrideAndDisableWebAnimationsCSSIntegrationPreference(pathOrURL.c_str())) >+ options.enableWebAnimationsCSSIntegration = false; >+ > if (!mainFrameTestOptions || !options.webViewIsCompatibleWithOptions(mainFrameTestOptions.value())) { > if (mainFrame) > destroyWebViewAndOffscreenWindow([mainFrame webView]); >diff --git a/Tools/WebKitTestRunner/TestController.cpp b/Tools/WebKitTestRunner/TestController.cpp >index 3fcfe63f319531fb2055632d6710783080ccaed5..c92c8d21f29e5d6352ab3af2033d170886ee7aaf 100644 >--- a/Tools/WebKitTestRunner/TestController.cpp >+++ b/Tools/WebKitTestRunner/TestController.cpp >@@ -714,7 +714,9 @@ void TestController::resetPreferencesToConsistentValues(const TestOptions& optio > WKPreferencesSetWebAuthenticationEnabled(preferences, options.enableWebAuthentication); > WKPreferencesSetIsSecureContextAttributeEnabled(preferences, options.enableIsSecureContextAttribute); > WKPreferencesSetAllowCrossOriginSubresourcesToAskForCredentials(preferences, options.allowCrossOriginSubresourcesToAskForCredentials); >- WKPreferencesSetCSSAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled(preferences, options.enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations); >+ >+ // We always want to have CSS Animations and CSS Transitions as Web Animations turned off for legacy-animation-engine directory. >+ WKPreferencesSetWebAnimationsCSSIntegrationEnabled(preferences, options.enableWebAnimationsCSSIntegration && !options.isLegacyAnimationEngineTest); > > static WKStringRef defaultTextEncoding = WKStringCreateWithUTF8CString("ISO-8859-1"); > WKPreferencesSetDefaultTextEncodingName(preferences, defaultTextEncoding); >@@ -1113,8 +1115,6 @@ static void updateTestOptionsFromTestHeader(TestOptions& testOptions, const std: > testOptions.applicationManifest = parseStringTestHeaderValueAsRelativePath(value, pathOrURL); > if (key == "allowCrossOriginSubresourcesToAskForCredentials") > testOptions.allowCrossOriginSubresourcesToAskForCredentials = parseBooleanTestHeaderValue(value); >- if (key == "enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations") >- testOptions.enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations = parseBooleanTestHeaderValue(value); > if (key == "enableProcessSwapOnNavigation") > testOptions.enableProcessSwapOnNavigation = parseBooleanTestHeaderValue(value); > pairStart = pairEnd + 1; >diff --git a/Tools/WebKitTestRunner/TestOptions.cpp b/Tools/WebKitTestRunner/TestOptions.cpp >index d6e8ab2382785552765ca8b4bacc4d2f4eb1355c..004658c2378a0db1d70aaf27787bfbec4c5cdf1f 100644 >--- a/Tools/WebKitTestRunner/TestOptions.cpp >+++ b/Tools/WebKitTestRunner/TestOptions.cpp >@@ -65,10 +65,16 @@ static float deviceScaleFactorForTest(const std::string& pathOrURL) > return 1; > } > >+static bool isLegacyAnimationEngineTestPath(const std::string& pathOrURL) >+{ >+ return pathContains(pathOrURL, "legacy-animation-engine/"); >+} >+ > TestOptions::TestOptions(const std::string& pathOrURL) > : useFlexibleViewport(shouldMakeViewportFlexible(pathOrURL)) > , useFixedLayout(shouldUseFixedLayout(pathOrURL)) > , isSVGTest(isSVGTestPath(pathOrURL)) >+ , isLegacyAnimationEngineTest(isLegacyAnimationEngineTestPath(pathOrURL)) > , deviceScaleFactor(deviceScaleFactorForTest(pathOrURL)) > { > } >diff --git a/Tools/WebKitTestRunner/TestOptions.h b/Tools/WebKitTestRunner/TestOptions.h >index bf89a071a2faee5784ee42b785b2e9213aecd486..d33e8151a277ce0a703a3e079bb51de656c7d968 100644 >--- a/Tools/WebKitTestRunner/TestOptions.h >+++ b/Tools/WebKitTestRunner/TestOptions.h >@@ -55,7 +55,8 @@ struct TestOptions { > bool shouldShowTouches { false }; > bool dumpJSConsoleLogInStdErr { false }; > bool allowCrossOriginSubresourcesToAskForCredentials { false }; >- bool enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations { false }; >+ bool enableWebAnimationsCSSIntegration { true }; >+ bool isLegacyAnimationEngineTest { false }; > bool enableProcessSwapOnNavigation { false }; > > float deviceScaleFactor { 1 }; >@@ -87,7 +88,7 @@ struct TestOptions { > || dumpJSConsoleLogInStdErr != options.dumpJSConsoleLogInStdErr > || applicationManifest != options.applicationManifest > || allowCrossOriginSubresourcesToAskForCredentials != options.allowCrossOriginSubresourcesToAskForCredentials >- || enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations != options.enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations >+ || enableWebAnimationsCSSIntegration != options.enableWebAnimationsCSSIntegration > || enableProcessSwapOnNavigation != options.enableProcessSwapOnNavigation) > return false; > >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index f70692b46f8ddae024ceaf8ace3257af3097852c..d6e69852a8f46b96e05edd2dfa7d3d3c399aec0f 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,216 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Since Web Animations with CSS integration is on by default on test runners, we no longer need >+ the special HTML comment to turn the flag on for select tests. We also update the animation >+ and transition helpers to use the updated name for the Web Animations with CSS integration flag >+ to detect when to use the internals method to pause an animation or transition. >+ >+ * TestExpectations: Mark a few known regressions with the new animation engine. >+ * animations/3d/matrix-transform-type-animation.html: >+ * animations/3d/replace-filling-transform.html: >+ * animations/3d/transform-origin-vs-functions.html: >+ * animations/3d/transform-perspective.html: >+ * animations/additive-transform-animations.html: >+ * animations/animation-border-overflow.html: >+ * animations/animation-callback-timestamp.html: >+ * animations/animation-controller-drt-api.html: >+ * animations/animation-direction-alternate-reverse-expected.txt: >+ * animations/animation-direction-alternate-reverse.html: >+ * animations/animation-direction-reverse-fill-mode-hardware.html: >+ * animations/animation-direction-reverse-hardware-opacity.html: >+ * animations/animation-direction-reverse-hardware.html: >+ * animations/animation-direction-reverse-non-hardware.html: >+ * animations/animation-direction-reverse-timing-functions-hardware.html: >+ * animations/animation-direction-reverse-timing-functions.html: >+ * animations/animation-direction.html: >+ * animations/animation-followed-by-transition.html: >+ * animations/animation-hit-test-transform.html: >+ * animations/animation-hit-test.html: >+ * animations/animation-internals-api-expected.txt: Removed. >+ * animations/animation-internals-api-multiple-keyframes-expected.txt: Removed. >+ * animations/animation-internals-api-multiple-keyframes.html: Removed. >+ * animations/animation-internals-api.html: Removed. >+ * animations/animation-offscreen-to-onscreen.html: >+ * animations/big-rotation-expected.txt: >+ * animations/big-rotation.html: >+ * animations/change-completed-animation-transform.html: >+ * animations/change-keyframes.html: >+ * animations/combo-transform-rotate+scale.html: >+ * animations/cross-fade-background-image.html: >+ * animations/cross-fade-border-image-source.html: >+ * animations/cross-fade-list-style-image.html: >+ * animations/cross-fade-webkit-mask-box-image.html: >+ * animations/duplicate-keys-expected.html: >+ * animations/duplicate-keys.html: >+ * animations/duplicated-keyframes-name.html: >+ * animations/fill-forwards-end-state.html: >+ * animations/fill-mode-forwards-zero-duration-expected.txt: >+ * animations/fill-mode-forwards-zero-duration.html: >+ * animations/font-variations/font-stretch.html: >+ * animations/font-variations/font-style.html: >+ * animations/font-variations/font-variation-settings-order.html: >+ * animations/font-variations/font-variation-settings-unlike.html: >+ * animations/font-variations/font-variation-settings.html: >+ * animations/font-variations/font-weight.html: >+ * animations/generic-from-to.html: >+ * animations/import.html: >+ * animations/keyframe-multiple-timing-functions-transform.html: >+ * animations/keyframe-timing-functions-transform.html: >+ * animations/keyframe-timing-functions.html: >+ * animations/keyframe-timing-functions2.html: >+ * animations/keyframes-comma-separated.html: >+ * animations/keyframes-infinite-iterations.html: >+ * animations/keyframes-invalid-keys.html: >+ * animations/keyframes-out-of-order.html: >+ * animations/keyframes.html: >+ * animations/lineheight-animation.html: >+ * animations/longhand-timing-function.html: >+ * animations/matrix-anim.html: >+ * animations/missing-from-to-transforms.html: >+ * animations/missing-keyframe-properties-repeating.html: >+ * animations/missing-keyframe-properties-timing-function.html: >+ * animations/missing-keyframe-properties.html: >+ * animations/missing-values-first-keyframe.html: >+ * animations/missing-values-last-keyframe.html: >+ * animations/multiple-animations-timing-function.html: >+ * animations/multiple-animations.html: >+ * animations/multiple-keyframes.html: >+ * animations/negative-delay.html: >+ * animations/pause-crash.html: >+ * animations/play-state-start-paused.html: >+ * animations/resources/animation-test-helpers.js: >+ (pauseAnimationAtTimeOnElement): >+ * animations/simultaneous-start-left.html: >+ * animations/simultaneous-start-transform.html: >+ * animations/spring-function.html: >+ * animations/stacking-context-unchanged-while-running.html: >+ * animations/timing-functions.html: >+ * animations/transition-and-animation-1.html: >+ * animations/transition-and-animation-2.html: >+ * animations/transition-and-animation-3.html: >+ * animations/unanimated-style.html: >+ * animations/unprefixed-keyframes.html: >+ * animations/width-using-ems.html: >+ * compositing/animation/animated-composited-inside-hidden.html: >+ * compositing/animation/computed-style-during-delay.html: >+ * compositing/animation/layer-for-filling-animation.html: >+ * compositing/backing/backface-visibility-flip.html: >+ * compositing/contents-scale/animating.html: >+ * compositing/layer-creation/animation-overlap-with-children.html: >+ * compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html: >+ * compositing/layer-creation/multiple-keyframes-animation-overlap.html: >+ * compositing/layer-creation/overlap-animation-clipping.html: >+ * compositing/layer-creation/overlap-animation-container.html: >+ * compositing/layer-creation/overlap-animation.html: >+ * compositing/layer-creation/scale-rotation-animation-overlap.html: >+ * compositing/layer-creation/translate-animation-overlap.html: >+ * compositing/layer-creation/translate-scale-animation-overlap.html: >+ * compositing/overflow/overflow-positioning.html: >+ * compositing/reflections/animation-inside-reflection.html: >+ * compositing/reflections/nested-reflection-animated.html: >+ * compositing/reflections/nested-reflection-transition.html: >+ * compositing/transitions/scale-transition-no-start.html: >+ * compositing/transitions/singular-scale-transition.html: >+ * compositing/visible-rect/animated.html: >+ * css3/calc/transitions-dependent.html: >+ * css3/calc/transitions.html: >+ * css3/filters/backdrop/animation.html: >+ * css3/filters/composited-during-animation.html: >+ * css3/filters/filter-animation-from-none-hw.html: >+ * css3/filters/filter-animation-from-none-multi-hw.html: >+ * css3/filters/filter-animation-from-none-multi.html: >+ * css3/filters/filter-animation-from-none.html: >+ * css3/filters/filter-animation-hw.html: >+ * css3/filters/filter-animation-multi-hw.html: >+ * css3/filters/filter-animation-multi.html: >+ * css3/filters/filter-animation.html: >+ * css3/masking/clip-path-animation.html: >+ * fast/animation/css-animation-resuming-when-visible-with-style-change.html: >+ * fast/animation/css-animation-resuming-when-visible.html: >+ * fast/animation/css-animation-throttling-lowPowerMode.html: >+ * fast/css-generated-content/pseudo-animation.html: >+ * fast/css-generated-content/pseudo-transition.html: >+ * fast/filter-image/filter-image-animation.html: >+ * fast/shapes/shape-outside-floats/shape-outside-animation.html: >+ * fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html: >+ * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html: >+ * imported/blink/transitions/unprefixed-transform.html: >+ * platform/ios/TestExpectations: >+ * platform/mac-wk1/TestExpectations: >+ * platform/win/TestExpectations: >+ * transitions/background-position-transitions.html: >+ * transitions/background-transitions.html: >+ * transitions/blendmode-transitions.html: >+ * transitions/border-radius-transition.html: >+ * transitions/clip-path-path-transitions.html: >+ * transitions/clip-path-transitions.html: >+ * transitions/clip-transition.html: >+ * transitions/color-transition-all.html: >+ * transitions/color-transition-premultiplied.html: >+ * transitions/color-transition-rounding.html: >+ * transitions/cross-fade-background-image.html: >+ * transitions/cross-fade-border-image.html: >+ * transitions/cubic-bezier-overflow-color.html: >+ * transitions/cubic-bezier-overflow-length.html: >+ * transitions/cubic-bezier-overflow-shadow.html: >+ * transitions/cubic-bezier-overflow-svg-length.html: >+ * transitions/cubic-bezier-overflow-transform.html: >+ * transitions/default-timing-function.html: >+ * transitions/delay.html: >+ * transitions/flex-transitions.html: >+ * transitions/font-family-during-transition.html: >+ * transitions/frames-timing-function.html: >+ * transitions/interrupted-all-transition.html: >+ * transitions/longhand-vs-shorthand-initial.html: >+ * transitions/mask-transitions.html: >+ * transitions/min-max-width-height-transitions.html: >+ * transitions/mismatched-shadow-styles.html: >+ * transitions/mismatched-shadow-transitions.html: >+ * transitions/mixed-type.html: >+ * transitions/move-after-transition.html: >+ * transitions/multiple-background-size-transitions.html: >+ * transitions/multiple-background-transitions.html: >+ * transitions/multiple-mask-transitions.html: >+ * transitions/multiple-shadow-transitions.html: >+ * transitions/negative-delay.html: >+ * transitions/opacity-transition-zindex.html: >+ * transitions/remove-transition-style.html: >+ * transitions/resources/transition-test-helpers.js: >+ * transitions/shape-outside-transitions.html: >+ * transitions/shorthand-border-transitions.html: >+ * transitions/shorthand-transitions.html: >+ * transitions/steps-timing-function.html: >+ * transitions/svg-layout-transition.html: >+ * transitions/svg-text-shadow-transition.html: >+ * transitions/svg-transitions.html: >+ * transitions/text-indent-transition.html: >+ * transitions/transform-op-list-match.html: >+ * transitions/transform-op-list-no-match.html: >+ * transitions/transition-drt-api-delay-expected.txt: Removed. >+ * transitions/transition-drt-api-delay.html: Removed. >+ * transitions/transition-drt-api-expected.txt: Removed. >+ * transitions/transition-drt-api.html: Removed. >+ * transitions/transition-end-event-rendering.html: >+ * transitions/transition-hit-test-transform.html: >+ * transitions/transition-hit-test.html: >+ * transitions/transition-in-delay-phase.html: >+ * transitions/transition-on-element-with-content.html: >+ * transitions/transition-shorthand-delay.html: >+ * transitions/transition-timing-function.html: >+ * transitions/transition-to-from-auto.html: >+ * transitions/transition-to-from-undefined.html: >+ * transitions/visited-link-color.html: >+ * transitions/zero-duration-in-list.html: >+ * transitions/zero-duration-with-non-zero-delay-end.html: >+ * transitions/zero-duration-with-non-zero-delay-start.html: >+ * webanimations/css-animations.html: >+ * webanimations/css-transitions.html: >+ > 2018-05-14 Antoine Quint <graouts@apple.com> > > [Web Animations] Tests using the new animation engine may crash under WebCore::FrameView::didDestroyRenderTree when using internals methods >diff --git a/LayoutTests/imported/mozilla/ChangeLog b/LayoutTests/imported/mozilla/ChangeLog >index f35b25351b5a4c4c9e8284463517aa9654b6ece2..fae8212a6e92039694587fd3dbe8e83b53691b28 100644 >--- a/LayoutTests/imported/mozilla/ChangeLog >+++ b/LayoutTests/imported/mozilla/ChangeLog >@@ -1,3 +1,50 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Since Web Animations with CSS integration is on by default on test runners, we no longer need >+ the special HTML comment to turn the flag on for select tests. >+ >+ * css-animations/test_animation-cancel.html: >+ * css-animations/test_animation-computed-timing.html: >+ * css-animations/test_animation-currenttime.html: >+ * css-animations/test_animation-finish.html: >+ * css-animations/test_animation-finished.html: >+ * css-animations/test_animation-id.html: >+ * css-animations/test_animation-pausing.html: >+ * css-animations/test_animation-playstate.html: >+ * css-animations/test_animation-ready.html: >+ * css-animations/test_animation-reverse.html: >+ * css-animations/test_animation-starttime.html: >+ * css-animations/test_animations-dynamic-changes.html: >+ * css-animations/test_cssanimation-animationname.html: >+ * css-animations/test_document-get-animations.html: >+ * css-animations/test_effect-target.html: >+ * css-animations/test_element-get-animations.html: >+ * css-animations/test_event-dispatch.html: >+ * css-animations/test_event-order.html: >+ * css-animations/test_keyframeeffect-getkeyframes.html: >+ * css-animations/test_pseudoElement-get-animations.html: >+ * css-animations/test_setting-effect.html: >+ * css-transitions/test_animation-cancel.html: >+ * css-transitions/test_animation-computed-timing.html: >+ * css-transitions/test_animation-currenttime.html: >+ * css-transitions/test_animation-finished.html: >+ * css-transitions/test_animation-pausing.html: >+ * css-transitions/test_animation-ready.html: >+ * css-transitions/test_animation-starttime.html: >+ * css-transitions/test_csstransition-transitionproperty.html: >+ * css-transitions/test_document-get-animations.html: >+ * css-transitions/test_effect-target.html: >+ * css-transitions/test_element-get-animations.html: >+ * css-transitions/test_event-dispatch.html: >+ * css-transitions/test_keyframeeffect-getkeyframes.html: >+ * css-transitions/test_pseudoElement-get-animations.html: >+ * css-transitions/test_setting-effect.html: >+ > 2018-03-23 Antoine Quint <graouts@apple.com> > > [Web Animations] Make imported/mozilla/css-animations/test_animation-currenttime.html pass reliably >diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog >index ed4c272dd31e16253ae23a02af8beb1a71d342fd..396976af98333b18bd54b834b5c2e494892e57a6 100644 >--- a/LayoutTests/imported/w3c/ChangeLog >+++ b/LayoutTests/imported/w3c/ChangeLog >@@ -1,3 +1,20 @@ >+2018-04-20 Antoine Quint <graouts@apple.com> >+ >+ [Web Animations] Turn Web Animations with CSS integration on for test runners >+ https://bugs.webkit.org/show_bug.cgi?id=184819 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Since Web Animations with CSS integration is on by default on test runners, we no longer need >+ the special HTML comment to turn the flag on for select tests. We also update expectations for >+ one test where the failure happens later than previously. >+ >+ * web-platform-tests/css-timing-1/frames-timing-functions-output.html: >+ * web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt: >+ * web-platform-tests/web-animations/interfaces/Animation/ready.html: >+ * web-platform-tests/web-animations/timing-model/animations/playing-an-animation.html: >+ * web-platform-tests/web-animations/timing-model/animations/reversing-an-animation.html: >+ > 2018-05-14 Youenn Fablet <youenn@apple.com> > > Enable service-worker/navigation-redirect-body.https.html and service-worker/postmessage.https.html >diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations >index e9dbf571181bb8f264004af2b0321c87b96fb228..dbc964e88d866c584dcce6cb61699148e27cd80a 100644 >--- a/LayoutTests/TestExpectations >+++ b/LayoutTests/TestExpectations >@@ -1904,6 +1904,19 @@ webkit.org/b/48451 animations/play-state.html [ Pass Failure ] > webkit.org/b/48451 animations/suspend-resume-animation.html [ Pass Failure ] > webkit.org/b/48451 animations/3d/transform-origin-vs-functions.html [ Pass Failure ] > >+# Regressions in the new animation engine. >+webkit.org/b/184563 animations/trigger-container-scroll-boundaries.html [ Failure ] >+webkit.org/b/184563 animations/trigger-container-scroll-empty.html [ Failure ] >+webkit.org/b/184563 animations/trigger-container-scroll-simple.html [ Failure ] >+webkit.org/b/184564 imported/blink/transitions/zero-duration-should-not-cancel.html [ Failure ] >+webkit.org/b/184565 compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html [ Failure ] >+webkit.org/b/184565 compositing/layer-creation/mismatched-transform-transition-overlap.html [ Failure ] >+webkit.org/b/184565 compositing/layer-creation/scale-rotation-transition-overlap.html [ Failure ] >+webkit.org/b/184565 compositing/layer-creation/translate-scale-transition-overlap.html [ Failure ] >+webkit.org/b/184565 compositing/layer-creation/translate-transition-overlap.html [ Failure ] >+webkit.org/b/184566 compositing/backing/transform-transition-from-outside-view.html [ Failure ] >+webkit.org/b/184579 fast/animation/css-animation-resuming-when-visible-with-style-change2.html [ Pass Failure ] >+ > webkit.org/b/184800 http/tests/workers/worker-importScripts-banned-mimetype.html [ Pass Timeout ] > > webkit.org/b/184802 http/tests/security/contentTypeOptions/nosniff-importScript-blocked.html [ Pass Timeout ] >diff --git a/LayoutTests/animations/3d/matrix-transform-type-animation.html b/LayoutTests/animations/3d/matrix-transform-type-animation.html >index a38d2091e201ca07049c4f2fc3a577a26aabfb3f..f8e7a14e0fb59b2d0a71630d28ea0a972b9d2102 100644 >--- a/LayoutTests/animations/3d/matrix-transform-type-animation.html >+++ b/LayoutTests/animations/3d/matrix-transform-type-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css"> >diff --git a/LayoutTests/animations/3d/replace-filling-transform.html b/LayoutTests/animations/3d/replace-filling-transform.html >index d372f1b7f34de99bc0641846b5ce5232919a632e..09ec341a8693be92b18418585e466a159f1b8eb9 100644 >--- a/LayoutTests/animations/3d/replace-filling-transform.html >+++ b/LayoutTests/animations/3d/replace-filling-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/3d/transform-origin-vs-functions.html b/LayoutTests/animations/3d/transform-origin-vs-functions.html >index 9c3c4d084bd0b00dc1d77fb437b3228ec18163eb..4859c3abe7a6e272063ca897415e1c37bfe3bf6d 100644 >--- a/LayoutTests/animations/3d/transform-origin-vs-functions.html >+++ b/LayoutTests/animations/3d/transform-origin-vs-functions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> > <html> > <head> > <meta http-equiv="Content-type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/3d/transform-perspective.html b/LayoutTests/animations/3d/transform-perspective.html >index 3e1ebcc2b073e3658ee5fb0c26c89dc249d81a5d..af9e4a9ab2d1a663ebc976c52c7d08f3d4355195 100644 >--- a/LayoutTests/animations/3d/transform-perspective.html >+++ b/LayoutTests/animations/3d/transform-perspective.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/additive-transform-animations.html b/LayoutTests/animations/additive-transform-animations.html >index 1a18fbb0f8b112406426ca3d7209ca2d3c4c3365..8762512cbaa13c332dca3249ec6a8d138fb23b95 100644 >--- a/LayoutTests/animations/additive-transform-animations.html >+++ b/LayoutTests/animations/additive-transform-animations.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/animation-border-overflow.html b/LayoutTests/animations/animation-border-overflow.html >index fb2f5aa2aa04eff62d67ecdddc500d1eb7d4b284..d46f789110b515693cd5258f80bf533f9eb2ac5f 100644 >--- a/LayoutTests/animations/animation-border-overflow.html >+++ b/LayoutTests/animations/animation-border-overflow.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <title>Unfilled Animation Test</title> >diff --git a/LayoutTests/animations/animation-callback-timestamp.html b/LayoutTests/animations/animation-callback-timestamp.html >index cd91fb4fc80b103cced4a685ad39b4dbdb44adf9..6d456325f44c90dea74e94869833234f963ec1c4 100644 >--- a/LayoutTests/animations/animation-callback-timestamp.html >+++ b/LayoutTests/animations/animation-callback-timestamp.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE HTML><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE HTML> > <html> > <head> > <script src="../resources/js-test-pre.js"></script> >diff --git a/LayoutTests/animations/animation-controller-drt-api.html b/LayoutTests/animations/animation-controller-drt-api.html >index 4f6542b993b976806dd4211fa99fadee36cd2f64..57622af87ea8a044808790b9bdea68940bdb01ca 100644 >--- a/LayoutTests/animations/animation-controller-drt-api.html >+++ b/LayoutTests/animations/animation-controller-drt-api.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/animation-direction-alternate-reverse-expected.txt b/LayoutTests/animations/animation-direction-alternate-reverse-expected.txt >index 282fa273ac96e87e1ec13a6e28b8a853a62932aa..636ce260ba80d617eaf5a7ebe3b6c1ae9e97215a 100644 >--- a/LayoutTests/animations/animation-direction-alternate-reverse-expected.txt >+++ b/LayoutTests/animations/animation-direction-alternate-reverse-expected.txt >@@ -1,5 +1,5 @@ > PASS - "left" property for "box" element at 1s saw something close to: 200 > PASS - "left" property for "box" element at 2s saw something close to: 0 > PASS - "left" property for "box" element at 3s saw something close to: 200 >-PASS - "left" property for "box" element at 4s saw something close to: 400 >+PASS - "left" property for "box" element at 4s saw something close to: 0 > >diff --git a/LayoutTests/animations/animation-direction-alternate-reverse.html b/LayoutTests/animations/animation-direction-alternate-reverse.html >index 66a16131443d12107e87a24ec27c8d6a5844827d..98627aaf3490e18e90f0435d8e0252e02146d178 100644 >--- a/LayoutTests/animations/animation-direction-alternate-reverse.html >+++ b/LayoutTests/animations/animation-direction-alternate-reverse.html >@@ -40,9 +40,8 @@ > // [animation-name, time, element-id, property, expected-value, tolerance] > ["move", 1.0, "box", "left", 200, 20], > ["move", 2.0, "box", "left", 0, 20], >- > ["move", 3.0, "box", "left", 200, 20], >- ["move", 4.0, "box", "left", 400, 20], >+ ["move", 4.0, "box", "left", 0, 20], > ]; > > runAnimationTest(expectedValues); >diff --git a/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html b/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html >index b7785c0c051e3af8a81669109b7e63ee3fc8e9ae..858f7f37ccdf5c3e2ca30bf34b9ba505926e0520 100644 >--- a/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html >+++ b/LayoutTests/animations/animation-direction-reverse-fill-mode-hardware.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>Test simple fill mode on transform</title> >diff --git a/LayoutTests/animations/animation-direction-reverse-hardware-opacity.html b/LayoutTests/animations/animation-direction-reverse-hardware-opacity.html >index 22c7f9191642d398aa0f48b42d950ef1727e531e..edcb44053a0c215ae063a100134ceb951a15a721 100644 >--- a/LayoutTests/animations/animation-direction-reverse-hardware-opacity.html >+++ b/LayoutTests/animations/animation-direction-reverse-hardware-opacity.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>Test of -webkit-animation-direction on composited elements (opacity)</title> >diff --git a/LayoutTests/animations/animation-direction-reverse-hardware.html b/LayoutTests/animations/animation-direction-reverse-hardware.html >index 1e47d4f8d04128f3808836369354688a7d199ebe..9a8b42820fddaa0c3025052f35ae5dfb50ff045b 100644 >--- a/LayoutTests/animations/animation-direction-reverse-hardware.html >+++ b/LayoutTests/animations/animation-direction-reverse-hardware.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>Test of -webkit-animation-direction on composited elements</title> >diff --git a/LayoutTests/animations/animation-direction-reverse-non-hardware.html b/LayoutTests/animations/animation-direction-reverse-non-hardware.html >index e76dbfd2cd9f8f9911d3358900810b2a4f65e8ae..673c2e4aa855b2d0843244abf6b5f530f9fd54c1 100644 >--- a/LayoutTests/animations/animation-direction-reverse-non-hardware.html >+++ b/LayoutTests/animations/animation-direction-reverse-non-hardware.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>Test of -webkit-animation-direction reverse on non-composited elements</title> >diff --git a/LayoutTests/animations/animation-direction-reverse-timing-functions-hardware.html b/LayoutTests/animations/animation-direction-reverse-timing-functions-hardware.html >index 84f3f6ed72ab1a3ede6d5858b8530257e1a8f11c..bab61e04b05f7c3b6da1249bc1629280ce19a51f 100644 >--- a/LayoutTests/animations/animation-direction-reverse-timing-functions-hardware.html >+++ b/LayoutTests/animations/animation-direction-reverse-timing-functions-hardware.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html lang="en"> > <head> > <title>Test of -webkit-animation-direction timing functions on composited elements</title> >diff --git a/LayoutTests/animations/animation-direction-reverse-timing-functions.html b/LayoutTests/animations/animation-direction-reverse-timing-functions.html >index cfbfaef35ad97f43e3259d5fb924897f5a0c1409..2b4c380daa59e6eb6eefe6e3299421f3030868d3 100644 >--- a/LayoutTests/animations/animation-direction-reverse-timing-functions.html >+++ b/LayoutTests/animations/animation-direction-reverse-timing-functions.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html lang="en"> > <head> > <title>Test of -webkit-animation-direction timing functions</title> >diff --git a/LayoutTests/animations/animation-direction.html b/LayoutTests/animations/animation-direction.html >index fd0935de1ebd456f095656a51811a7765b0cf285..bc6dfcebf93d14c8e10bffdb04a0307eb1c007f6 100644 >--- a/LayoutTests/animations/animation-direction.html >+++ b/LayoutTests/animations/animation-direction.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/animation-followed-by-transition.html b/LayoutTests/animations/animation-followed-by-transition.html >index 716641820802da5d93fe44d830c254b15e20c9ea..fe1f238d3751f7db09054df193c8679a9aee6eac 100644 >--- a/LayoutTests/animations/animation-followed-by-transition.html >+++ b/LayoutTests/animations/animation-followed-by-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/animation-hit-test-transform.html b/LayoutTests/animations/animation-hit-test-transform.html >index 7807bc7aca62770b31f10a861e864ff49f135811..d6d526c1f7d8720cd380443a2c4399ceeef1c693 100644 >--- a/LayoutTests/animations/animation-hit-test-transform.html >+++ b/LayoutTests/animations/animation-hit-test-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/animation-hit-test.html b/LayoutTests/animations/animation-hit-test.html >index b9123b0156bbed04c216ad1f26242c51649b03bb..e74e861cf5a46b162e69583bdba3e4941732eba6 100644 >--- a/LayoutTests/animations/animation-hit-test.html >+++ b/LayoutTests/animations/animation-hit-test.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/animation-internals-api-expected.txt b/LayoutTests/animations/animation-internals-api-expected.txt >deleted file mode 100644 >index ece4993777f05294efc09aa3ac9f6383cd7ff92b..0000000000000000000000000000000000000000 >--- a/LayoutTests/animations/animation-internals-api-expected.txt >+++ /dev/null >@@ -1 +0,0 @@ >-PASS: correctly paused animation >diff --git a/LayoutTests/animations/animation-internals-api-multiple-keyframes-expected.txt b/LayoutTests/animations/animation-internals-api-multiple-keyframes-expected.txt >deleted file mode 100644 >index ece4993777f05294efc09aa3ac9f6383cd7ff92b..0000000000000000000000000000000000000000 >--- a/LayoutTests/animations/animation-internals-api-multiple-keyframes-expected.txt >+++ /dev/null >@@ -1 +0,0 @@ >-PASS: correctly paused animation >diff --git a/LayoutTests/animations/animation-internals-api-multiple-keyframes.html b/LayoutTests/animations/animation-internals-api-multiple-keyframes.html >deleted file mode 100644 >index 4f3f46c49b0a3500f96025301716a55f14751f5f..0000000000000000000000000000000000000000 >--- a/LayoutTests/animations/animation-internals-api-multiple-keyframes.html >+++ /dev/null >@@ -1,60 +0,0 @@ >-<!DOCTYPE html> >- >-<html> >-<head> >- <style> >- #target { >- position: relative; >- left: 100px; >- height: 100px; >- width: 100px; >- background-color: blue; >- -webkit-animation-duration: 1s; >- -webkit-animation-timing-function: linear; >- } >- >- @-webkit-keyframes anim { >- from { left: 10px; } >- 40% { left: 30px; } >- 60% { left: 15px; } >- to { left: 20px; } >- } >- </style> >- >- <script src="resources/animation-test-helpers.js"></script> >- <script> >- if (window.testRunner) >- testRunner.dumpAsText(); >- >- function animationStarted() >- { >- if (window.testRunner) { >- var target = document.getElementById('target'); >- var paused = internals.pauseAnimationAtTimeOnElement("anim", 1, target); >- var result; >- if (paused) >- result = "PASS: correctly paused animation"; >- else >- result = "FAIL: failed to pause animation"; >- >- document.getElementById('results').innerText = result; >- testRunner.notifyDone(); >- } else >- document.getElementById('results').innerText = "This test requires WebCore Internals"; >- } >- >- function startTest() >- { >- var target = document.getElementById('target'); >- target.style.webkitAnimationName = "anim"; >- waitForAnimationToStart(target, animationStarted); >- } >- </script> >-</head> >-<body onload="startTest()"> >- <!-- Test for Internals' pauseAnimationAtTimeOnElement() API on animations with multiple keyframes --> >- <div id="target"></div> >- <div id="results"></div> >- >-</body> >-</html> >diff --git a/LayoutTests/animations/animation-internals-api.html b/LayoutTests/animations/animation-internals-api.html >deleted file mode 100644 >index 05454191a19c122767abbebf715c993cbb9df6c9..0000000000000000000000000000000000000000 >--- a/LayoutTests/animations/animation-internals-api.html >+++ /dev/null >@@ -1,61 +0,0 @@ >-<!DOCTYPE html> >-<html> >-<head> >- <style> >- #target { >- position: relative; >- left: 100px; >- height: 100px; >- width: 100px; >- background-color: blue; >- -webkit-animation-duration: 1s; >- -webkit-animation-timing-function: linear; >- } >- >- @-webkit-keyframes bounce { >- from { >- left: 100px; >- } >- to { >- left: 200px; >- } >- } >- >- </style> >- >- <script src="resources/animation-test-helpers.js"></script> >- <script> >- if (window.testRunner) >- testRunner.dumpAsText(); >- >- function animationStarted() >- { >- if (window.testRunner) { >- var target = document.getElementById('target'); >- var paused = internals.pauseAnimationAtTimeOnElement("bounce", 1.0, target); >- var result = ""; >- if (paused) >- result = "PASS: correctly paused animation"; >- else >- result = "FAIL: failed to pause animation"; >- >- document.getElementById('results').innerText = result; >- testRunner.notifyDone(); >- } else >- document.getElementById('results').innerText = "This test requires WebCore Internals"; >- } >- >- function startTest() >- { >- var target = document.getElementById('target'); >- target.style.webkitAnimationName = "bounce"; >- waitForAnimationToStart(target, animationStarted); >- } >- </script> >-</head> >-<body onload="startTest()"> >- <!-- Test for Internals pauseAnimationAtTimeOnElement() API --> >- <div id="target"></div> >- <div id="results"></div> >-</body> >-</html> >diff --git a/LayoutTests/animations/animation-offscreen-to-onscreen.html b/LayoutTests/animations/animation-offscreen-to-onscreen.html >index 5d372af0dff4d91bb43a61b72a36e507a02b650a..ec4b024e4d69b7ab2f7391df68929e3a2f5a3245 100644 >--- a/LayoutTests/animations/animation-offscreen-to-onscreen.html >+++ b/LayoutTests/animations/animation-offscreen-to-onscreen.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/big-rotation-expected.txt b/LayoutTests/animations/big-rotation-expected.txt >index d5d082ab4e6d3e5d7fbec221f6c6539bd908526c..1dd516a91dc99acc3e956b1f12c8164938fd672b 100644 >--- a/LayoutTests/animations/big-rotation-expected.txt >+++ b/LayoutTests/animations/big-rotation-expected.txt >@@ -2,5 +2,5 @@ This test shows rotation of > 180 degrees. The box should make one and a half ro > > PASS - "webkitTransform" property for "box" element at 1s saw something close to: -1,0,0,-1 > PASS - "webkitTransform" property for "box" element at 2s saw something close to: 1,0,0,1 >-PASS - "webkitTransform" property for "box" element at 3s saw something close to: -1,0,0,-1 >+PASS - "webkitTransform" property for "box" element at 3s saw something close to: none > >diff --git a/LayoutTests/animations/big-rotation.html b/LayoutTests/animations/big-rotation.html >index 27baf83882c9024f754f6403bae75ba7a10cd41e..416760da2bbf3530a6de1a7a872f182c18265399 100644 >--- a/LayoutTests/animations/big-rotation.html >+++ b/LayoutTests/animations/big-rotation.html >@@ -25,7 +25,7 @@ > // [animation-name, time, element-id, property, expected-value, tolerance] > ["rotate", 1, "box", "webkitTransform", [-1,0,0,-1], 0.2], > ["rotate", 2, "box", "webkitTransform", [1,0,0,1], 0.2], >- ["rotate", 3, "box", "webkitTransform", [-1,0,0,-1], 0.2], >+ ["rotate", 3, "box", "webkitTransform", "none", 0.2], > ]; > > runAnimationTest(expectedValues); >diff --git a/LayoutTests/animations/change-completed-animation-transform.html b/LayoutTests/animations/change-completed-animation-transform.html >index 83024bdcdd3df4209fecf6fd19f7aa9bf18181bd..f8405fe4e3acd927c4c11cfe04f0329ddf081d17 100644 >--- a/LayoutTests/animations/change-completed-animation-transform.html >+++ b/LayoutTests/animations/change-completed-animation-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/change-keyframes.html b/LayoutTests/animations/change-keyframes.html >index cf51841f45b3acc60af01b356885118f763e5c6d..1a8d3d73c56daece56a91097d83d7143edf7efba 100644 >--- a/LayoutTests/animations/change-keyframes.html >+++ b/LayoutTests/animations/change-keyframes.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/combo-transform-rotate+scale.html b/LayoutTests/animations/combo-transform-rotate+scale.html >index 6cd49308a080667c5d8babc65bd142706fe947f2..68169e56cdb6c172ce7bacec9ef74edc445834fc 100644 >--- a/LayoutTests/animations/combo-transform-rotate+scale.html >+++ b/LayoutTests/animations/combo-transform-rotate+scale.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/cross-fade-background-image.html b/LayoutTests/animations/cross-fade-background-image.html >index 1e11af3e558e1e4389d3f5ab4add624bb4d1955a..513199d48f0d765a6c9376ae01efea65a5516713 100644 >--- a/LayoutTests/animations/cross-fade-background-image.html >+++ b/LayoutTests/animations/cross-fade-background-image.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/cross-fade-border-image-source.html b/LayoutTests/animations/cross-fade-border-image-source.html >index 3dc2e1105da5f442c3f6067620a6106e15e7992a..d80331df929a6def94b78374d85c4f59f42d100d 100644 >--- a/LayoutTests/animations/cross-fade-border-image-source.html >+++ b/LayoutTests/animations/cross-fade-border-image-source.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/animations/cross-fade-list-style-image.html b/LayoutTests/animations/cross-fade-list-style-image.html >index c7ff6bc3a0e169484eca7596b106ca15aa10aa3a..d2655a7bcc165ea136088d1ad3f6a94b1865bdff 100644 >--- a/LayoutTests/animations/cross-fade-list-style-image.html >+++ b/LayoutTests/animations/cross-fade-list-style-image.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/animations/cross-fade-webkit-mask-box-image.html b/LayoutTests/animations/cross-fade-webkit-mask-box-image.html >index 8c8fa15c7d646f1e3ef9c1d8aeb9b580bb62eaeb..9bbb426d257c2b7f4badb554293dd32372dbe416 100644 >--- a/LayoutTests/animations/cross-fade-webkit-mask-box-image.html >+++ b/LayoutTests/animations/cross-fade-webkit-mask-box-image.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/animations/duplicate-keys-expected.html b/LayoutTests/animations/duplicate-keys-expected.html >index 7c29fa2801077ad41204aeb5e489c5efcb499f7d..4ba001e672b10c07bcb551ea81161a5d3c5f138e 100644 >--- a/LayoutTests/animations/duplicate-keys-expected.html >+++ b/LayoutTests/animations/duplicate-keys-expected.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <style> > .box { > height: 100px; >diff --git a/LayoutTests/animations/duplicate-keys.html b/LayoutTests/animations/duplicate-keys.html >index d7bce92d31a45f95d368329c7210b19e1136a60d..665aed35e1a1d507d803e9cd4ecd44a20b041698 100644 >--- a/LayoutTests/animations/duplicate-keys.html >+++ b/LayoutTests/animations/duplicate-keys.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <style> > .box { > height: 100px; >diff --git a/LayoutTests/animations/duplicated-keyframes-name.html b/LayoutTests/animations/duplicated-keyframes-name.html >index 222e16dc472175c634728f518732c2e1e26ee445..1ab642c159289d78f96f5d9387f6e7d07d59a9aa 100644 >--- a/LayoutTests/animations/duplicated-keyframes-name.html >+++ b/LayoutTests/animations/duplicated-keyframes-name.html >@@ -16,6 +16,7 @@ > -webkit-animation-duration: 1s; > -webkit-animation-timing-function: linear; > -webkit-animation-name: anim; >+ -webkit-animation-fill-mode: forwards; > } > @-webkit-keyframes anim { > from { left: 50px; } >diff --git a/LayoutTests/animations/fill-forwards-end-state.html b/LayoutTests/animations/fill-forwards-end-state.html >index 301361d8135e7bbd14f11e82c3a6709d92aa9033..62a8aad24a9d8fd5c9b66cb002b30776d0463432 100644 >--- a/LayoutTests/animations/fill-forwards-end-state.html >+++ b/LayoutTests/animations/fill-forwards-end-state.html >@@ -10,8 +10,7 @@ > height: 100px; > width: 100px; > background-color: blue; >- animation-fill-mode: forwards; >- animation: anim1 2s 0.2s linear; >+ animation: anim1 2s 0.2s linear forwards; > } > @keyframes anim1 { > from { left: 100px; } >diff --git a/LayoutTests/animations/fill-mode-forwards-zero-duration-expected.txt b/LayoutTests/animations/fill-mode-forwards-zero-duration-expected.txt >index df411d0d89be900b301d88a4e170ae7d2b62160b..da392563485b503f548afd90610f4d92e99b45a7 100644 >--- a/LayoutTests/animations/fill-mode-forwards-zero-duration-expected.txt >+++ b/LayoutTests/animations/fill-mode-forwards-zero-duration-expected.txt >@@ -1,4 +1,4 @@ > Fill-forwards state should be the last keyframe state, even with a zero-duration animation. > >-PASS - "left" property for "box1" element at 1s saw something close to: 100 >+PASS - "left" property for "box1" element at 3s saw something close to: 100 > >diff --git a/LayoutTests/animations/fill-mode-forwards-zero-duration.html b/LayoutTests/animations/fill-mode-forwards-zero-duration.html >index 0ac79a9fb6300d741e5fc767429c33a69462b1a0..c67e2b83c9d9d4158a0c2034a7cc2fe989f21bc2 100644 >--- a/LayoutTests/animations/fill-mode-forwards-zero-duration.html >+++ b/LayoutTests/animations/fill-mode-forwards-zero-duration.html >@@ -23,7 +23,7 @@ > > const expectedValues = [ > // [animation-name, time, element-id, property, expected-value, tolerance] >- ["anim1", 1, "box1", "left", 100, 2], >+ ["anim1", 3, "box1", "left", 100, 2], > ]; > > runAnimationTest(expectedValues); >diff --git a/LayoutTests/animations/font-variations/font-stretch.html b/LayoutTests/animations/font-variations/font-stretch.html >index ddc0de245ea65faddd25b24fdb9fe24ffb1f9f0c..261ac0d38c85e3ed245df7689d340409c412d857 100644 >--- a/LayoutTests/animations/font-variations/font-stretch.html >+++ b/LayoutTests/animations/font-variations/font-stretch.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/font-variations/font-style.html b/LayoutTests/animations/font-variations/font-style.html >index 8e6bd6ef2a93f1ac8bab10dbc14be343189909c4..d939b6450cb73aaf5df67585ae4e1ffd772635dd 100644 >--- a/LayoutTests/animations/font-variations/font-style.html >+++ b/LayoutTests/animations/font-variations/font-style.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/font-variations/font-variation-settings-order.html b/LayoutTests/animations/font-variations/font-variation-settings-order.html >index cc8d1ccd18f38a5851924b14021e4b4e3df4f38e..3aca9623bb39e06e128fd123bbed96beb7d29b54 100644 >--- a/LayoutTests/animations/font-variations/font-variation-settings-order.html >+++ b/LayoutTests/animations/font-variations/font-variation-settings-order.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/font-variations/font-variation-settings-unlike.html b/LayoutTests/animations/font-variations/font-variation-settings-unlike.html >index f08f81a97b79f566bdc02632b9a55bf5052c8112..941a1fccdfb486b2595574172a75afebd532199a 100644 >--- a/LayoutTests/animations/font-variations/font-variation-settings-unlike.html >+++ b/LayoutTests/animations/font-variations/font-variation-settings-unlike.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/font-variations/font-variation-settings.html b/LayoutTests/animations/font-variations/font-variation-settings.html >index 83a2e6ca8e3b12f8604df8afb4f4240c70994ad3..86ddefbca108453115eea4344e0df3e84f9632ec 100644 >--- a/LayoutTests/animations/font-variations/font-variation-settings.html >+++ b/LayoutTests/animations/font-variations/font-variation-settings.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/font-variations/font-weight.html b/LayoutTests/animations/font-variations/font-weight.html >index 9ae1689679228a8964094573188a7a0704a0a90e..1ac90da1d31a4795f58a4e0d65f9e2d931777c6a 100644 >--- a/LayoutTests/animations/font-variations/font-weight.html >+++ b/LayoutTests/animations/font-variations/font-weight.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../resources/animation-test-helpers.js"></script> >diff --git a/LayoutTests/animations/generic-from-to.html b/LayoutTests/animations/generic-from-to.html >index 53543465dbed1c1e9ad2b2a175516cac776c3308..0ea5187cabd073e20c51105c6ec30690e8a144e6 100644 >--- a/LayoutTests/animations/generic-from-to.html >+++ b/LayoutTests/animations/generic-from-to.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/import.html b/LayoutTests/animations/import.html >index 62f88eeb86b29edecc43bc2737d6bb8c385af0c4..c1455b495f428a3a5ef97fd09f4fb780db87229a 100644 >--- a/LayoutTests/animations/import.html >+++ b/LayoutTests/animations/import.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html b/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html >index a2c2121c201fa944e0ffcab95271d3671016ea61..a33c2d9d624366c5f355441f39c3c6ead1ae62ab 100644 >--- a/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html >+++ b/LayoutTests/animations/keyframe-multiple-timing-functions-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/keyframe-timing-functions-transform.html b/LayoutTests/animations/keyframe-timing-functions-transform.html >index e89b82d0039cf24551fe2f8efe11e59031de3a96..c142d791fa2e2d38835be592f850e169c1653532 100644 >--- a/LayoutTests/animations/keyframe-timing-functions-transform.html >+++ b/LayoutTests/animations/keyframe-timing-functions-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/keyframe-timing-functions.html b/LayoutTests/animations/keyframe-timing-functions.html >index 420ea074c40d8f2a251dc6b08ba55d5c6048fc16..40eddba74a6e88ee9f7bf64c1581b51199d7d3b4 100644 >--- a/LayoutTests/animations/keyframe-timing-functions.html >+++ b/LayoutTests/animations/keyframe-timing-functions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/keyframe-timing-functions2.html b/LayoutTests/animations/keyframe-timing-functions2.html >index 6e8010143f27549a2c2acb86aa1a82207613bbff..18ae4a7432152ea02fc9831579bb050078c64fee 100644 >--- a/LayoutTests/animations/keyframe-timing-functions2.html >+++ b/LayoutTests/animations/keyframe-timing-functions2.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/keyframes-comma-separated.html b/LayoutTests/animations/keyframes-comma-separated.html >index 1fb4aad02aaa657f806ad88180d01e10ccdd963d..49da6e306dcc0612209b74d55d51ae845e2a94f3 100644 >--- a/LayoutTests/animations/keyframes-comma-separated.html >+++ b/LayoutTests/animations/keyframes-comma-separated.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/keyframes-dynamic.html b/LayoutTests/animations/keyframes-dynamic.html >index cdd40c141953d35b11e9e3a5fbfd1aff4405efaa..7d6bc4c93cb3b54b6a637b2b79e2ee25a5343eb9 100644 >--- a/LayoutTests/animations/keyframes-dynamic.html >+++ b/LayoutTests/animations/keyframes-dynamic.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/keyframes-infinite-iterations.html b/LayoutTests/animations/keyframes-infinite-iterations.html >index 8fa3b79e6eb26258cc1e56c644869f5813213605..13daab9b57d3bc1a5bf11cff931f65f69c3447f9 100644 >--- a/LayoutTests/animations/keyframes-infinite-iterations.html >+++ b/LayoutTests/animations/keyframes-infinite-iterations.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/keyframes-invalid-keys.html b/LayoutTests/animations/keyframes-invalid-keys.html >index 6a513bcebb3f70168f8f33ac0c27f9a6ec2f7547..409a9b9dff5e8243a7b9e047b389e8d02adc9bc3 100644 >--- a/LayoutTests/animations/keyframes-invalid-keys.html >+++ b/LayoutTests/animations/keyframes-invalid-keys.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/keyframes-out-of-order.html b/LayoutTests/animations/keyframes-out-of-order.html >index f04a278ee28ccee3d1f73f18da748dff7aa4ca73..8f317086ae97cebc51a7f1dcd9d90fab684185ad 100644 >--- a/LayoutTests/animations/keyframes-out-of-order.html >+++ b/LayoutTests/animations/keyframes-out-of-order.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/keyframes.html b/LayoutTests/animations/keyframes.html >index 3f2631c75e9377a4a578d6ecb3f5e54959794c62..e52db70e2bbf176067ec4bc1267cfe659d055d91 100644 >--- a/LayoutTests/animations/keyframes.html >+++ b/LayoutTests/animations/keyframes.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html lang="en"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/animations/lineheight-animation.html b/LayoutTests/animations/lineheight-animation.html >index 0c72cbc9c8fef904eda89784e7e40f7cfee4d41f..7eb0819ad1aca9a93dc1fd33a19c090aeaa4e6e5 100644 >--- a/LayoutTests/animations/lineheight-animation.html >+++ b/LayoutTests/animations/lineheight-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/longhand-timing-function.html b/LayoutTests/animations/longhand-timing-function.html >index 2db488458b45ba45ac6bd938ad600c6dd172ecbc..15e5927d4dc0414034adc3e9fd2158c689c63741 100644 >--- a/LayoutTests/animations/longhand-timing-function.html >+++ b/LayoutTests/animations/longhand-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/matrix-anim.html b/LayoutTests/animations/matrix-anim.html >index b249dfcb3592940650387101ecac75ece33867ec..7ce4a305e605be5f6c62f2167f3be1da6943a3c9 100644 >--- a/LayoutTests/animations/matrix-anim.html >+++ b/LayoutTests/animations/matrix-anim.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/missing-from-to-transforms.html b/LayoutTests/animations/missing-from-to-transforms.html >index e86fef6fe324d4251d346b6beba908c5f89fdde6..e9d4dd42212adad0d87cd01c4c036d7751cc47c0 100644 >--- a/LayoutTests/animations/missing-from-to-transforms.html >+++ b/LayoutTests/animations/missing-from-to-transforms.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/missing-from-to.html b/LayoutTests/animations/missing-from-to.html >index 28c1f6ceb043f80397527debb0d48a02e0ec51ac..51219f4f1383a0ccaa86c82405def3b8efb0cf1b 100644 >--- a/LayoutTests/animations/missing-from-to.html >+++ b/LayoutTests/animations/missing-from-to.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/missing-keyframe-properties-repeating.html b/LayoutTests/animations/missing-keyframe-properties-repeating.html >index 33e045f07bcd5dd40637f9f77f20047f4fc6348a..5dc83d47decb802f92d01f2e5aa87d6a7e19ec82 100644 >--- a/LayoutTests/animations/missing-keyframe-properties-repeating.html >+++ b/LayoutTests/animations/missing-keyframe-properties-repeating.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/missing-keyframe-properties-timing-function.html b/LayoutTests/animations/missing-keyframe-properties-timing-function.html >index d1e292567278ce765ca579d64b84b6040863a5e3..53927c2c788f7d92257e05773cf85810e963c9f6 100644 >--- a/LayoutTests/animations/missing-keyframe-properties-timing-function.html >+++ b/LayoutTests/animations/missing-keyframe-properties-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/missing-keyframe-properties.html b/LayoutTests/animations/missing-keyframe-properties.html >index edb47705785ed002f7cca87b1a0a3d25b1e057c8..25bfe184365ba753bcc99ba45cf7c73db0034ab5 100644 >--- a/LayoutTests/animations/missing-keyframe-properties.html >+++ b/LayoutTests/animations/missing-keyframe-properties.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/missing-values-first-keyframe.html b/LayoutTests/animations/missing-values-first-keyframe.html >index 58a5f213089f235bfbcef09b7ac4ff927cd5d89a..d8798d1998ee578d90e8c1bc46e05422e33f0380 100644 >--- a/LayoutTests/animations/missing-values-first-keyframe.html >+++ b/LayoutTests/animations/missing-values-first-keyframe.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/missing-values-last-keyframe.html b/LayoutTests/animations/missing-values-last-keyframe.html >index d38d5d03a6bdb687a7b80118880ef63c0c7edb57..9c7a90db58b65363c84247bb8dde4d6891edd1f7 100644 >--- a/LayoutTests/animations/missing-values-last-keyframe.html >+++ b/LayoutTests/animations/missing-values-last-keyframe.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/animations/multiple-animations-timing-function.html b/LayoutTests/animations/multiple-animations-timing-function.html >index f44ee4662251d276bc47406248ab376f55a538d5..765f93a80fdc0dd04d5fc83a57cf3c541318fbc2 100644 >--- a/LayoutTests/animations/multiple-animations-timing-function.html >+++ b/LayoutTests/animations/multiple-animations-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/multiple-animations.html b/LayoutTests/animations/multiple-animations.html >index 0af7d4efb49a7114c6d48e639c3299b4af1c8a6b..a16260c90e6f7f0e0446eb686481780e3933db28 100644 >--- a/LayoutTests/animations/multiple-animations.html >+++ b/LayoutTests/animations/multiple-animations.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/multiple-keyframes.html b/LayoutTests/animations/multiple-keyframes.html >index df0ac20c5316ed5e562279ca5f06633f0b826797..226af7c2b44e5e4a22a370eca6ad414b86ef7816 100644 >--- a/LayoutTests/animations/multiple-keyframes.html >+++ b/LayoutTests/animations/multiple-keyframes.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/negative-delay.html b/LayoutTests/animations/negative-delay.html >index e4efe9e001de6ebd007a3add8d08388bbe319f66..95bba6fee6e2b58b6e3b36ee4482d5e919422712 100644 >--- a/LayoutTests/animations/negative-delay.html >+++ b/LayoutTests/animations/negative-delay.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <title>For Bug 26150 - Negative values for animation-delay are ignored</title> >diff --git a/LayoutTests/animations/pause-crash.html b/LayoutTests/animations/pause-crash.html >index 8517284a7359f56282468244297bf19716eb6fc3..863368c8d63f662d49d995d73913035f2cc0aa7c 100644 >--- a/LayoutTests/animations/pause-crash.html >+++ b/LayoutTests/animations/pause-crash.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <title>Pause and resume animation should not crash</title> >diff --git a/LayoutTests/animations/play-state-start-paused.html b/LayoutTests/animations/play-state-start-paused.html >index 9e9c9513e2b6ef4b7ffbbf6a68e718a2f0e15ab3..966a87b0307c7c957e3a442cf4c5085de3a64521 100644 >--- a/LayoutTests/animations/play-state-start-paused.html >+++ b/LayoutTests/animations/play-state-start-paused.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/animations/resources/animation-test-helpers.js b/LayoutTests/animations/resources/animation-test-helpers.js >index aac905d20320d09cde41a501106121e84d908f24..3dff4ddda68374ec2470d753386cdbea0a58eb11 100644 >--- a/LayoutTests/animations/resources/animation-test-helpers.js >+++ b/LayoutTests/animations/resources/animation-test-helpers.js >@@ -515,7 +515,7 @@ function checkExpectedValueCallback(expected, index) > function pauseAnimationAtTimeOnElement(animationName, time, element) > { > // If we haven't opted into CSS Animations and CSS Transitions as Web Animations, use the internal API. >- if ('internals' in window && !internals.settings.cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if ('internals' in window && !internals.settings.webAnimationsCSSIntegrationEnabled()) > return internals.pauseAnimationAtTimeOnElement(animationName, time, element); > > // Otherwise, use the Web Animations API. >diff --git a/LayoutTests/animations/simultaneous-start-left.html b/LayoutTests/animations/simultaneous-start-left.html >index 0d3c52557032102e93e5a4f3d3e0bda49cd20aba..af935ad0ca1fc9f1e30f6b18918859c9655fb6ef 100644 >--- a/LayoutTests/animations/simultaneous-start-left.html >+++ b/LayoutTests/animations/simultaneous-start-left.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/simultaneous-start-transform.html b/LayoutTests/animations/simultaneous-start-transform.html >index bb31943764b5c0fb0e38382bb96bf48641370b5f..b6dfa02b0a3597c440faf037dd61e776bf851b09 100644 >--- a/LayoutTests/animations/simultaneous-start-transform.html >+++ b/LayoutTests/animations/simultaneous-start-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/spring-function.html b/LayoutTests/animations/spring-function.html >index 64a5fa52a8f412b7a97d46423a67648713f1de8c..24893cbe6e6ffbcb7698123fecc4d8e1335febfa 100644 >--- a/LayoutTests/animations/spring-function.html >+++ b/LayoutTests/animations/spring-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <script> > if (window.internals) > internals.settings.setSpringTimingFunctionEnabled(true); >diff --git a/LayoutTests/animations/stacking-context-unchanged-while-running.html b/LayoutTests/animations/stacking-context-unchanged-while-running.html >index acb625cd6c59f60c5f0fd841ae2cd7a55c10103c..3f17be9287e12acecd37f0c31d540420c2edccf0 100644 >--- a/LayoutTests/animations/stacking-context-unchanged-while-running.html >+++ b/LayoutTests/animations/stacking-context-unchanged-while-running.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/timing-functions.html b/LayoutTests/animations/timing-functions.html >index 3f935ef6e1fdad647535ca0984ad607d1695732c..41a13b4101c4d9540d7430e4d6f9be9b7b21afa7 100644 >--- a/LayoutTests/animations/timing-functions.html >+++ b/LayoutTests/animations/timing-functions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/transition-and-animation-1.html b/LayoutTests/animations/transition-and-animation-1.html >index 180c2e90254e21a745545675c0ee790e65beff4b..f93ee5e2e83229835fedc38861fdc750fef029f1 100644 >--- a/LayoutTests/animations/transition-and-animation-1.html >+++ b/LayoutTests/animations/transition-and-animation-1.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/transition-and-animation-2.html b/LayoutTests/animations/transition-and-animation-2.html >index 653af307498ad88d176a6e0dd7db8df53576d925..44e5fd9f45b53ef64db6a624acf2cc336257acb9 100644 >--- a/LayoutTests/animations/transition-and-animation-2.html >+++ b/LayoutTests/animations/transition-and-animation-2.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/animations/transition-and-animation-3.html b/LayoutTests/animations/transition-and-animation-3.html >index 9c4849c46f9ddaac0eb3fa979040dd48ba8c5946..8e7d6d953dfbabf86c2c682b8f060906a8b4abca 100644 >--- a/LayoutTests/animations/transition-and-animation-3.html >+++ b/LayoutTests/animations/transition-and-animation-3.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/unanimated-style.html b/LayoutTests/animations/unanimated-style.html >index 35bf30cb1c688619a7b7115cf5ac43adf29b3f9c..345ecd8b33b3837720289d6789fcafdd7967a237 100644 >--- a/LayoutTests/animations/unanimated-style.html >+++ b/LayoutTests/animations/unanimated-style.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/animations/unprefixed-keyframes.html b/LayoutTests/animations/unprefixed-keyframes.html >index 815cafcd8b258df6b9fdcf86a0df685ba51a81f4..f0ad8db02697a93e426809b5d33c6401886ceebc 100644 >--- a/LayoutTests/animations/unprefixed-keyframes.html >+++ b/LayoutTests/animations/unprefixed-keyframes.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <title>Unprefixed keyframes test</title> >diff --git a/LayoutTests/animations/width-using-ems.html b/LayoutTests/animations/width-using-ems.html >index 2241422ead0486cfd86101a2e4b0dfe632dc237e..435c20cf8eca027e76f26680cf40d9ee3c94d337 100644 >--- a/LayoutTests/animations/width-using-ems.html >+++ b/LayoutTests/animations/width-using-ems.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/compositing/animation/animated-composited-inside-hidden.html b/LayoutTests/compositing/animation/animated-composited-inside-hidden.html >index 370086cf89d021eb109dca760991fac0f5fc8499..992a8de59f761487fc6c957a3e54a0cd176cb140 100644 >--- a/LayoutTests/compositing/animation/animated-composited-inside-hidden.html >+++ b/LayoutTests/compositing/animation/animated-composited-inside-hidden.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/animation/computed-style-during-delay.html b/LayoutTests/compositing/animation/computed-style-during-delay.html >index 9220e3fafa9c1a81d251979dc46bfa6aabbd35cd..55ec0e6a6d3a0aa5d9a835ff06496323f808120c 100644 >--- a/LayoutTests/compositing/animation/computed-style-during-delay.html >+++ b/LayoutTests/compositing/animation/computed-style-during-delay.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/animation/layer-for-filling-animation.html b/LayoutTests/compositing/animation/layer-for-filling-animation.html >index 5bfe981ff599a44cedb55c35daa258fa2cb36966..b3e9097424d9cbaadcaca823d2b36602deba3437 100644 >--- a/LayoutTests/compositing/animation/layer-for-filling-animation.html >+++ b/LayoutTests/compositing/animation/layer-for-filling-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/backing/backface-visibility-flip.html b/LayoutTests/compositing/backing/backface-visibility-flip.html >index 9c4ba70e64dc1f31f08f511c1fc80cd37d740354..ac499712cd39c964a210a30d8f784e7816acad24 100644 >--- a/LayoutTests/compositing/backing/backface-visibility-flip.html >+++ b/LayoutTests/compositing/backing/backface-visibility-flip.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/contents-scale/animating.html b/LayoutTests/compositing/contents-scale/animating.html >index e923a89ae2dbc2fbbb61baf20e3914f4addf15bc..ed1248682a3446319444df3e865b44af9fbe903b 100644 >--- a/LayoutTests/compositing/contents-scale/animating.html >+++ b/LayoutTests/compositing/contents-scale/animating.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html b/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html >index 47471a150d5879aba388f1257c2563115688474f..f583b92d71f7974efc8850653fac6a4ee7f54ab9 100644 >--- a/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html >+++ b/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html b/LayoutTests/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html >index 77eb0bd2fae8686dca1c503ce8f3e6a424abe529..8754c60fc33457824ca847fd79e0616376f93272 100644 >--- a/LayoutTests/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html >+++ b/LayoutTests/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/multiple-keyframes-animation-overlap.html b/LayoutTests/compositing/layer-creation/multiple-keyframes-animation-overlap.html >index 148c23e7a7bbede67f415885f5d6d4e8dc1a9d4c..6b310f452513bd9a103364f69c75089a723c6451 100644 >--- a/LayoutTests/compositing/layer-creation/multiple-keyframes-animation-overlap.html >+++ b/LayoutTests/compositing/layer-creation/multiple-keyframes-animation-overlap.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/overlap-animation-clipping.html b/LayoutTests/compositing/layer-creation/overlap-animation-clipping.html >index 2e31e6366b56779a93c9fb970bd187e42a10e497..b2a2cf3b5bf93775835396aa2d5ee1a10f5341e5 100644 >--- a/LayoutTests/compositing/layer-creation/overlap-animation-clipping.html >+++ b/LayoutTests/compositing/layer-creation/overlap-animation-clipping.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/overlap-animation-container.html b/LayoutTests/compositing/layer-creation/overlap-animation-container.html >index 9c33fe959d12ebf100f5c1a96ae9e615637cb824..92fed15f68b1dfa25b1e84e32fcbbbe94244006c 100644 >--- a/LayoutTests/compositing/layer-creation/overlap-animation-container.html >+++ b/LayoutTests/compositing/layer-creation/overlap-animation-container.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/overlap-animation.html b/LayoutTests/compositing/layer-creation/overlap-animation.html >index d1e14eb3ca196876e8ec93c8094bdd8869bd9bd7..70972d8660ce1fb277a6641ee02cb97f86309d6b 100644 >--- a/LayoutTests/compositing/layer-creation/overlap-animation.html >+++ b/LayoutTests/compositing/layer-creation/overlap-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/scale-rotation-animation-overlap.html b/LayoutTests/compositing/layer-creation/scale-rotation-animation-overlap.html >index 1c39e4f63325c4af441282103771ef1e5ad02946..8f225f32b67649ea5fae3a776d642c986d05180d 100644 >--- a/LayoutTests/compositing/layer-creation/scale-rotation-animation-overlap.html >+++ b/LayoutTests/compositing/layer-creation/scale-rotation-animation-overlap.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/translate-animation-overlap.html b/LayoutTests/compositing/layer-creation/translate-animation-overlap.html >index 2866c592e8ce1fa33ed0304915e6eed58d6d9122..a160cbedf9436a6a2e45722b1004c1a87c460658 100644 >--- a/LayoutTests/compositing/layer-creation/translate-animation-overlap.html >+++ b/LayoutTests/compositing/layer-creation/translate-animation-overlap.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/layer-creation/translate-scale-animation-overlap.html b/LayoutTests/compositing/layer-creation/translate-scale-animation-overlap.html >index 7b11c8e4cd3ba0092b1260290f1c790dd3cab72a..c49fd52ed6b85324671b55dc293f593d8136e899 100644 >--- a/LayoutTests/compositing/layer-creation/translate-scale-animation-overlap.html >+++ b/LayoutTests/compositing/layer-creation/translate-scale-animation-overlap.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/compositing/overflow/overflow-positioning.html b/LayoutTests/compositing/overflow/overflow-positioning.html >index 2ab2332502cba80ceed7585db6c00e3e07c68d32..155be14167f9ec6a9b4bfad507477100258ad671 100644 >--- a/LayoutTests/compositing/overflow/overflow-positioning.html >+++ b/LayoutTests/compositing/overflow/overflow-positioning.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> > > <html lang="en"> > <head> >diff --git a/LayoutTests/compositing/reflections/animation-inside-reflection.html b/LayoutTests/compositing/reflections/animation-inside-reflection.html >index 214b427ab902842a82f976fcab5cae208438949a..5b896f5fa957b06f86a5557f501e7ba8e042a333 100644 >--- a/LayoutTests/compositing/reflections/animation-inside-reflection.html >+++ b/LayoutTests/compositing/reflections/animation-inside-reflection.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/compositing/reflections/nested-reflection-animated.html b/LayoutTests/compositing/reflections/nested-reflection-animated.html >index 4488ac235c70bb19bbb419bf9ffe3e4bfebb9ade..4927117563e32516699a64dd8c797bf9da4d6ec7 100644 >--- a/LayoutTests/compositing/reflections/nested-reflection-animated.html >+++ b/LayoutTests/compositing/reflections/nested-reflection-animated.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/compositing/reflections/nested-reflection-transition.html b/LayoutTests/compositing/reflections/nested-reflection-transition.html >index 9959735d2a2a8a4d6aa327115823932357580a38..af5b84b273e6eee4399339ddd923cc096c20f29c 100644 >--- a/LayoutTests/compositing/reflections/nested-reflection-transition.html >+++ b/LayoutTests/compositing/reflections/nested-reflection-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> >diff --git a/LayoutTests/compositing/transitions/scale-transition-no-start.html b/LayoutTests/compositing/transitions/scale-transition-no-start.html >index 29b67821960f246378d03b6b0451c9a8680e58e8..fdd0478775d81c090d3e98e46ef82daa874fb7be 100644 >--- a/LayoutTests/compositing/transitions/scale-transition-no-start.html >+++ b/LayoutTests/compositing/transitions/scale-transition-no-start.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/compositing/transitions/singular-scale-transition.html b/LayoutTests/compositing/transitions/singular-scale-transition.html >index 87352072565871b445654279265373fa82e6ef38..b70244de8f5040b60d1f69a00058f92006734e76 100644 >--- a/LayoutTests/compositing/transitions/singular-scale-transition.html >+++ b/LayoutTests/compositing/transitions/singular-scale-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/compositing/visible-rect/animated.html b/LayoutTests/compositing/visible-rect/animated.html >index a726f9bb01837e72aaae9921e672c19365c6e20e..bfbe32b670c7936c8650ed48417bd2ab1fa60e65 100644 >--- a/LayoutTests/compositing/visible-rect/animated.html >+++ b/LayoutTests/compositing/visible-rect/animated.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/calc/transitions-dependent.html b/LayoutTests/css3/calc/transitions-dependent.html >index 730f29bf6c314b4b4cd078b555959f25269dcc46..344753e15e929d630ff5e7e9fecf5fe8d1ae72f8 100644 >--- a/LayoutTests/css3/calc/transitions-dependent.html >+++ b/LayoutTests/css3/calc/transitions-dependent.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <style> > .outerBlock { > border: 1px solid black; >diff --git a/LayoutTests/css3/calc/transitions.html b/LayoutTests/css3/calc/transitions.html >index 07dc17f9692ceacf4d3328dec6f789a839a47471..433b67f57f3935bf969cbe886a4474880728349e 100644 >--- a/LayoutTests/css3/calc/transitions.html >+++ b/LayoutTests/css3/calc/transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <style> > .transitionTest { > background-color: green; >diff --git a/LayoutTests/css3/filters/backdrop/animation.html b/LayoutTests/css3/filters/backdrop/animation.html >index fc169d3dbbd2e27b65b4d57505c658d3beb90ab7..ca1c534fddcc95e3b4d77b9abf6a6ef73b848aee 100644 >--- a/LayoutTests/css3/filters/backdrop/animation.html >+++ b/LayoutTests/css3/filters/backdrop/animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/composited-during-animation.html b/LayoutTests/css3/filters/composited-during-animation.html >index 99db3ae2926c8c948cd32fb7efc616b12c3531c0..3f462d09aaf83b45f783329880454b3f463ba86a 100644 >--- a/LayoutTests/css3/filters/composited-during-animation.html >+++ b/LayoutTests/css3/filters/composited-during-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-from-none-hw.html b/LayoutTests/css3/filters/filter-animation-from-none-hw.html >index 878009acd350e5249da7998b03328c8cf6c3a9b6..6d31b288bfdb249db8d5799fbd2f78f82cb4cfc7 100644 >--- a/LayoutTests/css3/filters/filter-animation-from-none-hw.html >+++ b/LayoutTests/css3/filters/filter-animation-from-none-hw.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-from-none-multi-hw.html b/LayoutTests/css3/filters/filter-animation-from-none-multi-hw.html >index 5d55a30cbb53a3aaaca59b726e072aa2f5b085fa..fccb34322670a9b8315675a3e9456295dd44b4cf 100644 >--- a/LayoutTests/css3/filters/filter-animation-from-none-multi-hw.html >+++ b/LayoutTests/css3/filters/filter-animation-from-none-multi-hw.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-from-none-multi.html b/LayoutTests/css3/filters/filter-animation-from-none-multi.html >index 47530566b63e8fbcd0b1ed978090b21dc39194c8..2189b300f0b1b0709f0325f72b2dad6b708746c0 100644 >--- a/LayoutTests/css3/filters/filter-animation-from-none-multi.html >+++ b/LayoutTests/css3/filters/filter-animation-from-none-multi.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-from-none.html b/LayoutTests/css3/filters/filter-animation-from-none.html >index 6164ee25c6c7ed558697ca9ba8d01393fb33705d..e6006ca43b0e2b42f1f9d30d5e2ce911b1946b1a 100644 >--- a/LayoutTests/css3/filters/filter-animation-from-none.html >+++ b/LayoutTests/css3/filters/filter-animation-from-none.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-hw.html b/LayoutTests/css3/filters/filter-animation-hw.html >index 90ff45eed0333a34d347b20b6128d63295d1cdc0..11a28d123b0dd5c3c48e8adb6c5c98798d56ae3c 100644 >--- a/LayoutTests/css3/filters/filter-animation-hw.html >+++ b/LayoutTests/css3/filters/filter-animation-hw.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-multi-hw.html b/LayoutTests/css3/filters/filter-animation-multi-hw.html >index b1b71f63aa6393c090bb8f3165cc5cea91f53208..54360203a4cd0636c39ca0ec42b3099347c803bd 100644 >--- a/LayoutTests/css3/filters/filter-animation-multi-hw.html >+++ b/LayoutTests/css3/filters/filter-animation-multi-hw.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation-multi.html b/LayoutTests/css3/filters/filter-animation-multi.html >index b1b71f63aa6393c090bb8f3165cc5cea91f53208..54360203a4cd0636c39ca0ec42b3099347c803bd 100644 >--- a/LayoutTests/css3/filters/filter-animation-multi.html >+++ b/LayoutTests/css3/filters/filter-animation-multi.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/filters/filter-animation.html b/LayoutTests/css3/filters/filter-animation.html >index bcf47751359ad2ee6031694dfc7d4c2b375ed7e6..6431d7d1ca3822f6158361f8a0ae24755267cf84 100644 >--- a/LayoutTests/css3/filters/filter-animation.html >+++ b/LayoutTests/css3/filters/filter-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/css3/masking/clip-path-animation.html b/LayoutTests/css3/masking/clip-path-animation.html >index a59b04acf8e207528436555cf71ab42ea3e74a2d..21ffb9f1b058d1692ec5b6ed13455368d0ebefb1 100644 >--- a/LayoutTests/css3/masking/clip-path-animation.html >+++ b/LayoutTests/css3/masking/clip-path-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/fast/animation/css-animation-resuming-when-visible-with-style-change.html b/LayoutTests/fast/animation/css-animation-resuming-when-visible-with-style-change.html >index 824421f34ef03068538964efbfedf5efa2fd3475..c682622f9a6ac407d01adcc5301f3764aa1676d1 100644 >--- a/LayoutTests/fast/animation/css-animation-resuming-when-visible-with-style-change.html >+++ b/LayoutTests/fast/animation/css-animation-resuming-when-visible-with-style-change.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/fast/animation/css-animation-resuming-when-visible.html b/LayoutTests/fast/animation/css-animation-resuming-when-visible.html >index e411b73ac324b51ba00e83cf50d331ae08349091..330bf84d80ca984c4c6c8740c0b8e811593a953a 100644 >--- a/LayoutTests/fast/animation/css-animation-resuming-when-visible.html >+++ b/LayoutTests/fast/animation/css-animation-resuming-when-visible.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/fast/animation/css-animation-throttling-lowPowerMode.html b/LayoutTests/fast/animation/css-animation-throttling-lowPowerMode.html >index c0459a6ae707c57b29eed52f04e0f5f3e613bf99..b7d05642b31e5f28b28fc5438d233fa5bea79fd4 100644 >--- a/LayoutTests/fast/animation/css-animation-throttling-lowPowerMode.html >+++ b/LayoutTests/fast/animation/css-animation-throttling-lowPowerMode.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <script src="../../resources/js-test-pre.js"></script> >diff --git a/LayoutTests/fast/css-generated-content/pseudo-animation.html b/LayoutTests/fast/css-generated-content/pseudo-animation.html >index b05132ce33e34a81594bde6c6acf7fea19c8fb9f..e30865aa33cffba29fb60339c26034f0ccdaf8c7 100644 >--- a/LayoutTests/fast/css-generated-content/pseudo-animation.html >+++ b/LayoutTests/fast/css-generated-content/pseudo-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <script src="../../resources/js-test-pre.js"></script> > >diff --git a/LayoutTests/fast/css-generated-content/pseudo-transition.html b/LayoutTests/fast/css-generated-content/pseudo-transition.html >index 2499e88f2abb53c0f86dd16dd5963069cd7c3cd9..9a742fe8a16fdf30049ff7112361643ebb9d2a86 100644 >--- a/LayoutTests/fast/css-generated-content/pseudo-transition.html >+++ b/LayoutTests/fast/css-generated-content/pseudo-transition.html >@@ -53,6 +53,33 @@ function getPseudoComputedTop(id) > // FIXME: This test should be modified so subpixel doesn't cause off by one > // below and it no longer needs shouldBeCloseTo. > >+const prefix = "-webkit-"; >+const propertiesRequiringPrefix = ["-webkit-text-stroke-color", "-webkit-text-fill-color"]; >+ >+function pauseTransitionAtTimeOnPseudoElement(transitionProperty, time, element, pseudoId) >+{ >+ const pseudoElement = internals.pseudoElement(element, pseudoId); >+ if (!pseudoElement) { >+ console.log("Failed to find pseudo element"); >+ return; >+ } >+ >+ if (transitionProperty.startsWith(prefix) && !propertiesRequiringPrefix.includes(transitionProperty)) >+ transitionProperty = transitionProperty.substr(prefix.length); >+ >+ // Otherwise, use the Web Animations API. >+ const animations = pseudoElement.getAnimations(); >+ for (let animation of animations) { >+ if (animation instanceof CSSTransition && animation.transitionProperty == transitionProperty) { >+ animation.currentTime = time * 1000; >+ animation.pause(); >+ return true; >+ } >+ } >+ console.log(`A transition for property ${transitionProperty} could not be found`); >+ return false; >+} >+ > function testTransition(id) > { > var div = document.getElementById(id); >@@ -60,14 +87,14 @@ function testTransition(id) > window.div = div; > shouldBe('div.offsetWidth', '52'); > if (window.internals) { >- internals.pauseTransitionAtTimeOnPseudoElement('width', 1.0, div, id); >+ pauseTransitionAtTimeOnPseudoElement('width', 1.0, div, id); > shouldBeCloseTo('div.offsetWidth', 20, 1); >- internals.pauseTransitionAtTimeOnPseudoElement('top', 1.0, div, id); >+ pauseTransitionAtTimeOnPseudoElement('top', 1.0, div, id); > computedTop = getPseudoComputedTop(id); > shouldBeCloseTo('computedTop', 170, 1); >- internals.pauseTransitionAtTimeOnPseudoElement('width', 2.0, div, id); >+ pauseTransitionAtTimeOnPseudoElement('width', 2.0, div, id); > shouldBeCloseTo('div.offsetWidth', 12, 1); >- internals.pauseTransitionAtTimeOnPseudoElement('top', 2.0, div, id); >+ pauseTransitionAtTimeOnPseudoElement('top', 2.0, div, id); > computedTop = getPseudoComputedTop(id); > shouldBeCloseTo('computedTop', 200, 1); > } else { >diff --git a/LayoutTests/fast/filter-image/filter-image-animation.html b/LayoutTests/fast/filter-image/filter-image-animation.html >index be69784b210e537a1422c4e3c592320659dbb9b5..6307babbdcb8275e1cb06b3014a284c25986a48e 100644 >--- a/LayoutTests/fast/filter-image/filter-image-animation.html >+++ b/LayoutTests/fast/filter-image/filter-image-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html >index b44e930b08ac93e58ef5276993385fc94354e890..18d274cee3377b62174c7546f67bd5dd0c128fd8 100644 >--- a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html >+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html >index 3b7bcf4b27fe55b89d7d3efb02b4c194ad963a37..39de5bd4af8d28efe0d1018938f9e126ed9cbd83 100644 >--- a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html >+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html >index 8693f8cd22a5305cf2c52df8c771aa51fa0f9bc0..d8cf96c527d1875eeee435abff09be44d84d6065 100644 >--- a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html >+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/imported/blink/transitions/unprefixed-transform.html b/LayoutTests/imported/blink/transitions/unprefixed-transform.html >index 9fb868419189c2ed1f04e9836b747a0046b82c72..f7eb93bff9f6c3a49733238aa0875abd2aad2869 100644 >--- a/LayoutTests/imported/blink/transitions/unprefixed-transform.html >+++ b/LayoutTests/imported/blink/transitions/unprefixed-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <div class="target">-webkit-transform 10ms</div><br> > <div class="target">transform 10ms</div><br> > <div class="target">transform 10ms, -webkit-transform 10ms</div><br> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-cancel.html b/LayoutTests/imported/mozilla/css-animations/test_animation-cancel.html >index c6d0141662423e1d921a8f4e194ac238a1ce1967..fa877a2b0b8665ffebb07c2dbf3473c6e451b9d3 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-cancel.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-cancel.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html b/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html >index b7e8367c7b5961d1e8532bd41e9878a03572616d..45ae9407069f6ea5174a49c07786d4538d377889 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-currenttime.html b/LayoutTests/imported/mozilla/css-animations/test_animation-currenttime.html >index d63563f6321a032e71319cc06740482e7d23981a..e867fa76359728bfe8a2e0a043f60487de515705 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-currenttime.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-currenttime.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <meta charset=utf-8> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-finish.html b/LayoutTests/imported/mozilla/css-animations/test_animation-finish.html >index f90eef4886f2a0ef697b3af93b44f8538279013b..99ed1f2ed57889640473ea0014c1d28e6fe5d625 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-finish.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-finish.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-finished.html b/LayoutTests/imported/mozilla/css-animations/test_animation-finished.html >index cbab1a02c00f9e0d94dab2b5b191a410a1d74c23..21b2df0413513803dc466438b283277365d86763 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-finished.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-finished.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-id.html b/LayoutTests/imported/mozilla/css-animations/test_animation-id.html >index 106996f3606d98c3ff696b4f45742938eb6c62e7..e7bb60571a9fd9bff99179206da7689fc7980244 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-id.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-id.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-pausing.html b/LayoutTests/imported/mozilla/css-animations/test_animation-pausing.html >index 2633980799de6c63ed199f1284268982e6518770..00c66df50f1867898b998de19c39b72312a649e6 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-pausing.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-pausing.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-playstate.html b/LayoutTests/imported/mozilla/css-animations/test_animation-playstate.html >index 5ad428976888c02a6a11e486234852dbbe692bb8..562f766971b0e44347fa709fbc989ae4df2fcd04 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-playstate.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-playstate.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-ready.html b/LayoutTests/imported/mozilla/css-animations/test_animation-ready.html >index 20500122680a82beaddad34778fd827c401cf54c..cec2bdb062dc24d6f6e701316bb692fc2cf0ecb2 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-ready.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-ready.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-reverse.html b/LayoutTests/imported/mozilla/css-animations/test_animation-reverse.html >index 31b5bab8a7b458ef0199efaf5b24339c777005c0..2f4a84111a311e00bef4faa2e264ef3a012305bb 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-reverse.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-reverse.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animation-starttime.html b/LayoutTests/imported/mozilla/css-animations/test_animation-starttime.html >index 883f74dd66f3b8a180561109638d53fe856d9f03..6ceb8ab691ab0218def0a4148e3ec87b98c5e17c 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animation-starttime.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animation-starttime.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <meta charset=utf-8> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes.html b/LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes.html >index 53f9fa97e05937b77a2dba6ef9e19f47ed843636..d213b09dae2db8654c9d22095d955a5a71b3b4f0 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html b/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html >index 9eb22872202a59b57d4495f94d164e1c49159faf..2a077b4c83af81a5adc5999d506d297ab3e0fd9c 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html b/LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html >index 40b723833b3896586d611805ddab91c76be4553f..78d830b73c2d4a208260b1aa83edb019e0ba4725 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_effect-target.html b/LayoutTests/imported/mozilla/css-animations/test_effect-target.html >index 9b5bac04269a6a74678c84a555f8c123ca8d3569..73dc1ebc9c5e04b18a3aa82253ca302472118a24 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_effect-target.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_effect-target.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html b/LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html >index 78e5be3e3bb636f9a034ed136d2e9e38917c6eca..c77e080573000e25178d7cdb53e70bbe6602b013 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_event-dispatch.html b/LayoutTests/imported/mozilla/css-animations/test_event-dispatch.html >index b8a3ef688c1da88b0830594b500dc7f84fb7ff62..13281f9f5460f0476ba2a6476d968fa73ee5188b 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_event-dispatch.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_event-dispatch.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <title>Tests for CSS animation event dispatch</title> > <link rel="help" href="https://drafts.csswg.org/css-animations-2/#event-dispatch"/> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_event-order.html b/LayoutTests/imported/mozilla/css-animations/test_event-order.html >index 58e9f7c17730195bd863a48e057e669334b3a12a..9e65fe8ac8e7470e0127959081fabb0d8818019b 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_event-order.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_event-order.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <title>Tests for CSS animation event order</title> > <link rel="help" href="https://drafts.csswg.org/css-animations-2/#event-dispatch"/> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html b/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html >index efb5748214f67e0c6d54e2e4db607d33cfd6ea6d..f93f8ceeb40ec78208577f2c399761dfdbc48527 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html b/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html >index e013c56f6f2e2209a6fdc3ae3118e5f0df5d6df3..dfa4b0d2fa9c81a602ddb6724f416201e2d1fa9e 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-animations/test_setting-effect.html b/LayoutTests/imported/mozilla/css-animations/test_setting-effect.html >index 8fff36e3942d90b45d3353478956d6c70adf5d21..1789026d6acc83eeb5c7c369042c9b5d4cd74a0b 100644 >--- a/LayoutTests/imported/mozilla/css-animations/test_setting-effect.html >+++ b/LayoutTests/imported/mozilla/css-animations/test_setting-effect.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-cancel.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-cancel.html >index d809a1ac376763314277271e0a8246f7775c797c..ec6f4643ab813c5dcb3baa897577d992040533e6 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-cancel.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-cancel.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html >index 8c617bcbe3872d54f5427931a7793764dbff6fd1..6628a69f001019edeae3997be64a21f3c45729f8 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-currenttime.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-currenttime.html >index 650178388073002d873cd42558106931bd5f23d8..c165877ab3970c037c6e049f2fe143ca996adeec 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-currenttime.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-currenttime.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <meta charset=utf-8> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-finished.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-finished.html >index 1d9442253e5357fed1c792a82de32e6b02a77a4c..61f761bb9d4af26263b247fa18225603612ee403 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-finished.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-finished.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-pausing.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-pausing.html >index 93451c0d1c79c517a23a376c6f1039499c53c6bd..ac1a8d363b42db93b997f7e692b6059a61c21c41 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-pausing.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-pausing.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-ready.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-ready.html >index 4f9a9e6c440e966e7eb363614ffaa77cc347405a..07d5cf106d26c00dabe2ab17f01080a03b548852 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-ready.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-ready.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_animation-starttime.html b/LayoutTests/imported/mozilla/css-transitions/test_animation-starttime.html >index 38c9aa9e564b425c6fe1dc5ff0eacceba614d973..ba4e0d2396765139229533ab0257af8b29cb04cc 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_animation-starttime.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_animation-starttime.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <meta charset=utf-8> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty.html b/LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty.html >index e7979fbf3242382bf07cce29c5fa6fda0d8151e8..9aa2edec3a3a90db4e77748ee6dcefb9d1352be2 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_document-get-animations.html b/LayoutTests/imported/mozilla/css-transitions/test_document-get-animations.html >index c7f5b88b15fc3487e7daeb09915d76ffe2f0fa69..1902da1b882ab705f942cbab4b75ecd410f7dbfb 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_document-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_document-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_effect-target.html b/LayoutTests/imported/mozilla/css-transitions/test_effect-target.html >index 4dbcd249b34b87bd04d6f6673e8f2f6b9ce1e195..ae55c1e0a5347ce617778f0fd0ff0f7118a8993d 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_effect-target.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_effect-target.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_element-get-animations.html b/LayoutTests/imported/mozilla/css-transitions/test_element-get-animations.html >index e22fb35c3e5374340ca4b828a930ed2e18b7428c..cb600966e4e6982da91ac18364fd4d5cafbac186 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_element-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_element-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_event-dispatch.html b/LayoutTests/imported/mozilla/css-transitions/test_event-dispatch.html >index 3245cf2eba67eb05255d0ac9e7e51b7c680980c5..eed71cc24207565d79c08fee611b3f489971af1a 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_event-dispatch.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_event-dispatch.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <title>Tests for CSS-Transition events</title> > <link rel="help" href="https://drafts.csswg.org/css-transitions-2/#transition-events"> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes.html b/LayoutTests/imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes.html >index a2ca692296abcbb314446eb931d404d61df6aded..6e88a15d22006bdd5548fa1ae33c087dbd73a9b8 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html b/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html >index 0d5665c6694a4c14a8accbe6b75d57a04880ad6e..d3ee0bfcdd5ed52417b542c3867709accc4b6a21 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/mozilla/css-transitions/test_setting-effect.html b/LayoutTests/imported/mozilla/css-transitions/test_setting-effect.html >index add909cb9955d29183ece52a9d5856fadb793a5f..5e9ea5ce3c8faee3b829e7349119cd4b3c4381c2 100644 >--- a/LayoutTests/imported/mozilla/css-transitions/test_setting-effect.html >+++ b/LayoutTests/imported/mozilla/css-transitions/test_setting-effect.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <meta charset=utf-8> > <script src="../../../resources/testharness.js"></script> > <script src="../../../resources/testharnessreport.js"></script> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/css-timing-1/frames-timing-functions-output.html b/LayoutTests/imported/w3c/web-platform-tests/css-timing-1/frames-timing-functions-output.html >index 51cb8758711648336bfc8c61ee2f03f221416994..40e03286e71f7126bfbbdd50bc74e25c191a4d30 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/css-timing-1/frames-timing-functions-output.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/css-timing-1/frames-timing-functions-output.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <meta name="assert" > content="This test checks the output of frame timing functions with different frame numbers" /> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt >index f2a5e73b9876c04755093918cca31fd5bad93f17..7f03af86ced44573e9eb169f694c17fdf54c0da9 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt >+++ b/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-expected.txt >@@ -118,6 +118,6 @@ PASS Element.animate() correctly sets the id attribute > PASS Element.animate() correctly sets the Animation's timeline > PASS Element.animate() correctly sets the Animation's timeline when triggered on an element in a different document > PASS Element.animate() calls play on the Animation >-FAIL CSSPseudoElement.animate() creates an Animation object assert_true: expected true got false >-FAIL CSSPseudoElement.animate() creates an Animation object targeting to the correct CSSPseudoElement object assert_true: expected true got false >+FAIL CSSPseudoElement.animate() creates an Animation object assert_equals: expected Element node <div class="pseudo"></div> but got null >+FAIL CSSPseudoElement.animate() creates an Animation object targeting to the correct CSSPseudoElement object assert_equals: expected Element node <div class="pseudo"></div> but got null > >diff --git a/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/ready.html b/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/ready.html >index e272393034894594152975455dada52ad5785faa..461c4e95814c2ff3e5e0211ef89a6dfdc05b0606 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/ready.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/ready.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <title>Animation.ready</title> > <link rel="help" href="https://drafts.csswg.org/web-animations/#dom-animation-ready"> >diff --git a/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/playing-an-animation.html b/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/playing-an-animation.html >index c378d6af4b535f95161310221dab8f5b9f7c2102..1064192051442e0e47a8c27579f7d306ea734fca 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/playing-an-animation.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/playing-an-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <title>Playing an animation</title> > <link rel="help" >diff --git a/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/reversing-an-animation.html b/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/reversing-an-animation.html >index 166cfbc657ce89db7a3686a9076655510ffef600..2d5d4e5d0f80766a598a5d8e5a002946be166d1a 100644 >--- a/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/reversing-an-animation.html >+++ b/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/animations/reversing-an-animation.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <title>Reverse an animation</title> > <link rel="help" >diff --git a/LayoutTests/platform/ios/TestExpectations b/LayoutTests/platform/ios/TestExpectations >index 735f369d7b0e4131b116454ee0ffc78d34e2a778..fef9921b7ce365a3af38c83071be067b97dffda8 100644 >--- a/LayoutTests/platform/ios/TestExpectations >+++ b/LayoutTests/platform/ios/TestExpectations >@@ -3296,3 +3296,5 @@ webkit.org/b/180260 http/wpt/resource-timing/rt-resources-per-worker.html [ Pass > webkit.org/b/185028 imported/w3c/web-platform-tests/service-workers/service-worker/fetch-request-redirect.https.html [ Failure ] > > webkit.org/b/185332 animations/duplicate-keys.html [ Pass ImageOnlyFailure ] >+ >+webkit.org/b/184580 animations/stop-animation-on-suspend.html [ Failure ] >diff --git a/LayoutTests/platform/mac-wk1/TestExpectations b/LayoutTests/platform/mac-wk1/TestExpectations >index b9d6df197836684b589a0b7d6b12480d89518a6f..7c7ad3a419676f72297101939193a5d0dd4997a8 100644 >--- a/LayoutTests/platform/mac-wk1/TestExpectations >+++ b/LayoutTests/platform/mac-wk1/TestExpectations >@@ -546,6 +546,8 @@ webkit.org/b/184456 imported/w3c/web-platform-tests/html/semantics/embedded-cont > > webkit.org/b/184569 [ Debug ] animations/missing-from-to.html [ Skip ] > >+webkit.org/b/184457 media/video-aspect-ratio.html [ Pass Failure ] >+ > webkit.org/b/184458 media/remote-control-command-is-user-gesture.html [ Pass Timeout ] > > webkit.org/b/185404 http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html [ Pass Failure ] >diff --git a/LayoutTests/platform/win/TestExpectations b/LayoutTests/platform/win/TestExpectations >index 8159feec6873ee2ad390ae6e238939f8760550e0..f1e2c4e200e6c824a5b4b234effea0b6d49bfc84 100644 >--- a/LayoutTests/platform/win/TestExpectations >+++ b/LayoutTests/platform/win/TestExpectations >@@ -1745,11 +1745,9 @@ legacy-animation-engine/animations/transition-and-animation-2.html [ Pass Failur > [ Debug ] legacy-animation-engine/animations/animation-hit-test-transform.html [ Skip ] # Debug assertion > [ Debug ] animations/animation-hit-test.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-hit-test.html [ Skip ] # Debug assertion >-[ Debug ] animations/animation-internals-api.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-internals-api.html [ Skip ] # Debug assertion > [ Debug ] animations/animation-direction-reverse-fill-mode-hardware.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-direction-reverse-fill-mode-hardware.html [ Skip ] # Debug assertion >-[ Debug ] animations/animation-internals-api-multiple-keyframes.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-internals-api-multiple-keyframes.html [ Skip ] # Debug assertion > [ Debug ] animations/animation-shorthand-name-order.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-shorthand-name-order.html [ Skip ] # Debug assertion >@@ -1777,7 +1775,6 @@ legacy-animation-engine/animations/transition-and-animation-2.html [ Pass Failur > [ Debug ] legacy-animation-engine/animations/animation-on-inline-crash.html [ Skip ] # Debug assertion > [ Debug ] animations/animation-css-rule-types.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-css-rule-types.html [ Skip ] # Debug assertion >-[ Debug ] animations/animation-direction-alternate-reverse.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-direction-alternate-reverse.html [ Skip ] # Debug assertion > [ Debug ] animations/animation-direction-reverse-timing-functions.html [ Skip ] # Debug assertion > [ Debug ] legacy-animation-engine/animations/animation-direction-reverse-timing-functions.html [ Skip ] # Debug assertion >@@ -4065,6 +4062,12 @@ webkit.org/b/184482 legacy-animation-engine/compositing/reflections/nested-refle > > webkit.org/b/184537 fast/forms/file/entries-api/webkitEntries-nonascii-folder-name.html [ Skip ] > >+webkit.org/b/184589 transitions/zero-duration-with-non-zero-delay-end.html [ Skip ] >+webkit.org/b/184589 animations/big-rotation.html [ Skip ] >+webkit.org/b/184589 fast/css-generated-content/pseudo-transition.html [ Skip ] >+webkit.org/b/184589 animations/animation-direction-alternate-reverse.html [ Skip ] >+webkit.org/b/184589 fast/css-generated-content/pseudo-animation.html [ Skip ] >+ > webkit.org/b/184649 css3/filters/blur-various-radii.html [ Crash ] > > webkit.org/b/184428 http/tests/misc/submit-post-keygen.html [ Skip ] >diff --git a/LayoutTests/transitions/background-position-transitions.html b/LayoutTests/transitions/background-position-transitions.html >index ad7a828e352f42609cfb4d741cbeaae136f29d3b..cdf7494a2aca6f41db57daeb3829194fb33cb5d7 100644 >--- a/LayoutTests/transitions/background-position-transitions.html >+++ b/LayoutTests/transitions/background-position-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/background-transitions.html b/LayoutTests/transitions/background-transitions.html >index b2027310ec0cc7209c00eb0929b7f1c729ac0f81..ba400cac9ebfe1ca10e290a798e99d72b34880ba 100644 >--- a/LayoutTests/transitions/background-transitions.html >+++ b/LayoutTests/transitions/background-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/blendmode-transitions.html b/LayoutTests/transitions/blendmode-transitions.html >index 45294688c2428c28fa3321a5872b3f8180dd06a0..a5bfa27d3ad3219920892161530b5d73e19d5696 100644 >--- a/LayoutTests/transitions/blendmode-transitions.html >+++ b/LayoutTests/transitions/blendmode-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/border-radius-transition.html b/LayoutTests/transitions/border-radius-transition.html >index 16b1da0b827fb6cb77f39faf252ff7969749273f..563ba9c8ff4f8ac2db3d514ab1b361624cce330c 100644 >--- a/LayoutTests/transitions/border-radius-transition.html >+++ b/LayoutTests/transitions/border-radius-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/clip-path-path-transitions.html b/LayoutTests/transitions/clip-path-path-transitions.html >index 014ed615106ed1a779a59a2fc522599162bb7043..c1faa5cf421218035b410e2aec2bd623b740a76d 100644 >--- a/LayoutTests/transitions/clip-path-path-transitions.html >+++ b/LayoutTests/transitions/clip-path-path-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/clip-path-transitions.html b/LayoutTests/transitions/clip-path-transitions.html >index 2574567a2a4be8269a2eaff34ab16b5bfda67e21..5e6644a884fccd607bb760b198d990f71e29afdb 100644 >--- a/LayoutTests/transitions/clip-path-transitions.html >+++ b/LayoutTests/transitions/clip-path-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/clip-transition.html b/LayoutTests/transitions/clip-transition.html >index e9217515d66f07412922f4a9cbc4d54a9618d668..fde1f173abc96b91aa46bef97a8f909ecf7d01b9 100644 >--- a/LayoutTests/transitions/clip-transition.html >+++ b/LayoutTests/transitions/clip-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/color-transition-all.html b/LayoutTests/transitions/color-transition-all.html >index 23dbe42b2f0cfd3b87f4e5b6164da32eee4b826d..a492e713394400c26d347e88ae1d13c317e3dc7f 100644 >--- a/LayoutTests/transitions/color-transition-all.html >+++ b/LayoutTests/transitions/color-transition-all.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/color-transition-premultiplied.html b/LayoutTests/transitions/color-transition-premultiplied.html >index 6f73bae45a620b8191c177d16c643f458d0cb716..57c63ec9a8c1ae07dad8c3785df3b8144b928f20 100644 >--- a/LayoutTests/transitions/color-transition-premultiplied.html >+++ b/LayoutTests/transitions/color-transition-premultiplied.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/color-transition-rounding.html b/LayoutTests/transitions/color-transition-rounding.html >index 0616a5e88d081af91cd41b7e86343ce81af9ec8f..caaa11579f9b0df86e08194c0d90f1ddf8b50317 100644 >--- a/LayoutTests/transitions/color-transition-rounding.html >+++ b/LayoutTests/transitions/color-transition-rounding.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/cross-fade-background-image.html b/LayoutTests/transitions/cross-fade-background-image.html >index 2b333dc673ad6bf3c090900a6a6443dd55f9db55..b8d70a27935155beab28e785caef8f2538dc956b 100644 >--- a/LayoutTests/transitions/cross-fade-background-image.html >+++ b/LayoutTests/transitions/cross-fade-background-image.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/cross-fade-border-image.html b/LayoutTests/transitions/cross-fade-border-image.html >index f5907d551ae2695de9d10c121877af798eaf262e..87dc007edf5fb76ff1451ca9aff8cb9caaa41895 100644 >--- a/LayoutTests/transitions/cross-fade-border-image.html >+++ b/LayoutTests/transitions/cross-fade-border-image.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/cubic-bezier-overflow-color.html b/LayoutTests/transitions/cubic-bezier-overflow-color.html >index 0f863a502a4bdecebecd2b17fdd989491121682d..7474f66d116c6f2a23a2af633a5044e28c2b7673 100644 >--- a/LayoutTests/transitions/cubic-bezier-overflow-color.html >+++ b/LayoutTests/transitions/cubic-bezier-overflow-color.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>cubic-bezier value overflow: Colors</title> >diff --git a/LayoutTests/transitions/cubic-bezier-overflow-length.html b/LayoutTests/transitions/cubic-bezier-overflow-length.html >index 198ac7a81a9d2e379e425c36dc49ed6dbfed7e4b..1b5ddafdf648d9f10f0ec8f20d949ba3616fe84f 100644 >--- a/LayoutTests/transitions/cubic-bezier-overflow-length.html >+++ b/LayoutTests/transitions/cubic-bezier-overflow-length.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>cubic-bezier value overflow: Lengths</title> >diff --git a/LayoutTests/transitions/cubic-bezier-overflow-shadow.html b/LayoutTests/transitions/cubic-bezier-overflow-shadow.html >index 330450d6306c7c78901bdd7dcddf5f3706175c62..0bcca88e8717dadf59e3cebd06919ceac4a2a76e 100644 >--- a/LayoutTests/transitions/cubic-bezier-overflow-shadow.html >+++ b/LayoutTests/transitions/cubic-bezier-overflow-shadow.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>cubic-bezier value overflow: Shadows</title> >diff --git a/LayoutTests/transitions/cubic-bezier-overflow-svg-length.html b/LayoutTests/transitions/cubic-bezier-overflow-svg-length.html >index cb71bd7f22832cbb67dd21873906fed060257d55..35553039fc9da8db6eea32956d91ac1e642ca1d3 100644 >--- a/LayoutTests/transitions/cubic-bezier-overflow-svg-length.html >+++ b/LayoutTests/transitions/cubic-bezier-overflow-svg-length.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>cubic-bezier value overflow: SVG Lengths</title> >diff --git a/LayoutTests/transitions/cubic-bezier-overflow-transform.html b/LayoutTests/transitions/cubic-bezier-overflow-transform.html >index bdc73fb9ecf343ea62d7920c485749e9db9e72bf..6529112b11d64f1ec40abac575a686815405d575 100644 >--- a/LayoutTests/transitions/cubic-bezier-overflow-transform.html >+++ b/LayoutTests/transitions/cubic-bezier-overflow-transform.html >@@ -1,4 +1,4 @@ >-<!doctype html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!doctype html> > <html> > <head> > <title>cubic-bezier value overflow: Transforms</title> >diff --git a/LayoutTests/transitions/default-timing-function.html b/LayoutTests/transitions/default-timing-function.html >index 361e5d0fd8662a5a5350d6edb7bc17b7ff4fd1c9..35087c364a3f1c98e440d9a799e0bdd0cbf000ae 100644 >--- a/LayoutTests/transitions/default-timing-function.html >+++ b/LayoutTests/transitions/default-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/delay.html b/LayoutTests/transitions/delay.html >index ec85651726932e2a3e0b89e0a4dfbcb28e2b13d6..3a02b62798105a36d60eea1821af70380eccea2d 100644 >--- a/LayoutTests/transitions/delay.html >+++ b/LayoutTests/transitions/delay.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/flex-transitions.html b/LayoutTests/transitions/flex-transitions.html >index 79fa518c162387dfa20b20e027a57a16bdadbb34..61f456ace91730e7b24cff6c5418f7205d753cd7 100644 >--- a/LayoutTests/transitions/flex-transitions.html >+++ b/LayoutTests/transitions/flex-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/font-family-during-transition.html b/LayoutTests/transitions/font-family-during-transition.html >index 793601bf859d7ee76c734c59de645a16305d9d90..03f952da1b733e8496914c5a1769a8017bc6c8ff 100644 >--- a/LayoutTests/transitions/font-family-during-transition.html >+++ b/LayoutTests/transitions/font-family-during-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/frames-timing-function.html b/LayoutTests/transitions/frames-timing-function.html >index f8e7cb4dcb7779d969da8adf89002e193c57c0ee..e8b16210ea7657e470b0da2814039f85522a4309 100644 >--- a/LayoutTests/transitions/frames-timing-function.html >+++ b/LayoutTests/transitions/frames-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/interrupted-all-transition.html b/LayoutTests/transitions/interrupted-all-transition.html >index 3b9ad2fd53478b75955fe061dd4a2ce8a61571f8..9e66cd4f92614e1e507f2cfa6423f7d2e61009dd 100644 >--- a/LayoutTests/transitions/interrupted-all-transition.html >+++ b/LayoutTests/transitions/interrupted-all-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/longhand-vs-shorthand-initial.html b/LayoutTests/transitions/longhand-vs-shorthand-initial.html >index 224a9ab4ae571fd3d4792e73e711c814e832e30f..202e64d644df5c8d5f5e4f99187b477a3a8fbd1e 100644 >--- a/LayoutTests/transitions/longhand-vs-shorthand-initial.html >+++ b/LayoutTests/transitions/longhand-vs-shorthand-initial.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/mask-transitions.html b/LayoutTests/transitions/mask-transitions.html >index f4e959b89e49dbd47f0406841e50d10bc9073525..0c3d39ab9f21ad1fb097862f03ed12ee5fca16b3 100644 >--- a/LayoutTests/transitions/mask-transitions.html >+++ b/LayoutTests/transitions/mask-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/min-max-width-height-transitions.html b/LayoutTests/transitions/min-max-width-height-transitions.html >index 45bca4029bbaa4a109600675f606ee020aa67d00..9ddf3938a29bf3e10c8c8b6b746e31b03d74260b 100644 >--- a/LayoutTests/transitions/min-max-width-height-transitions.html >+++ b/LayoutTests/transitions/min-max-width-height-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/mismatched-shadow-styles.html b/LayoutTests/transitions/mismatched-shadow-styles.html >index c178042c7077e36319da76dbc4808f5a3905ac67..8723c2741688bed4903c78c829684b45d4cc7601 100644 >--- a/LayoutTests/transitions/mismatched-shadow-styles.html >+++ b/LayoutTests/transitions/mismatched-shadow-styles.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/mismatched-shadow-transitions.html b/LayoutTests/transitions/mismatched-shadow-transitions.html >index 3ac60ce0740ba29a517fbbe8220f4dcf7e4c9217..687d10f1208a835cd25fe9009d4537d4a08c6704 100644 >--- a/LayoutTests/transitions/mismatched-shadow-transitions.html >+++ b/LayoutTests/transitions/mismatched-shadow-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/mixed-type.html b/LayoutTests/transitions/mixed-type.html >index b393ea3da31580d243bf4090b55b33a02d1d1d35..3332368d6e448520fb816837d49f7c978e4489fa 100644 >--- a/LayoutTests/transitions/mixed-type.html >+++ b/LayoutTests/transitions/mixed-type.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <style> > #box { > width: 10%; >diff --git a/LayoutTests/transitions/move-after-transition.html b/LayoutTests/transitions/move-after-transition.html >index 0f75a1baf365a34b2befb474316272e1fd84d814..dc4458f2d527676c8cd732e0e2bec960ed8b3b6f 100644 >--- a/LayoutTests/transitions/move-after-transition.html >+++ b/LayoutTests/transitions/move-after-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/multiple-background-size-transitions.html b/LayoutTests/transitions/multiple-background-size-transitions.html >index a412e38d77d21ec5ab1b12ba3809fc8899343e08..14d751c649733c1c30a07bdc4ffb8ee361c52029 100644 >--- a/LayoutTests/transitions/multiple-background-size-transitions.html >+++ b/LayoutTests/transitions/multiple-background-size-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/multiple-background-transitions.html b/LayoutTests/transitions/multiple-background-transitions.html >index 1ab02b03ca88e1e1c19ab5d7c94f0be567eede99..503067c164ca607957ad58f366dffda274e75857 100644 >--- a/LayoutTests/transitions/multiple-background-transitions.html >+++ b/LayoutTests/transitions/multiple-background-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/multiple-mask-transitions.html b/LayoutTests/transitions/multiple-mask-transitions.html >index 05f8e48e388ddb2d32dece65054dfff1d33bbb97..5cbe69fc047572eabe60a0487f15365a4ca9a919 100644 >--- a/LayoutTests/transitions/multiple-mask-transitions.html >+++ b/LayoutTests/transitions/multiple-mask-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/multiple-shadow-transitions.html b/LayoutTests/transitions/multiple-shadow-transitions.html >index 2c094dda795dc61c80c5c8dac77caa023e7d1053..4a9d4ec564f33c55473317e118f4f907ece75088 100644 >--- a/LayoutTests/transitions/multiple-shadow-transitions.html >+++ b/LayoutTests/transitions/multiple-shadow-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/negative-delay.html b/LayoutTests/transitions/negative-delay.html >index 46ed969cf7cb5ab82ab01a1b56c111fd3b985d2b..d33e4b5760f553c7ccd70b7d4c7d8366553d1f4d 100644 >--- a/LayoutTests/transitions/negative-delay.html >+++ b/LayoutTests/transitions/negative-delay.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/opacity-transition-zindex.html b/LayoutTests/transitions/opacity-transition-zindex.html >index d582d65ba30df737e7a8582630b4ae11de7b9e70..862ba02b15f62eb34287fa58f44cb5eb47f9c9b6 100644 >--- a/LayoutTests/transitions/opacity-transition-zindex.html >+++ b/LayoutTests/transitions/opacity-transition-zindex.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/remove-transition-style.html b/LayoutTests/transitions/remove-transition-style.html >index 3d8b7c96a7751a121c776eb222c5d9a31f67d0f3..a52a0ba9a83dedb8db21343795b7c30b976850db 100644 >--- a/LayoutTests/transitions/remove-transition-style.html >+++ b/LayoutTests/transitions/remove-transition-style.html >@@ -29,7 +29,7 @@ > function testTransitions() > { > if (window.testRunner) { >- var numAnims = internals.numberOfActiveAnimations(); >+ var numAnims = document.getAnimations().length; > if (numAnims == 0) > log('No running transitions: PASS'); > else >diff --git a/LayoutTests/transitions/resources/transition-test-helpers.js b/LayoutTests/transitions/resources/transition-test-helpers.js >index ee50ab3062baa84fd8ca4b59bbc8de9037d16c9b..ed39e252854e1cac86ac76264c66aad7216589ec 100644 >--- a/LayoutTests/transitions/resources/transition-test-helpers.js >+++ b/LayoutTests/transitions/resources/transition-test-helpers.js >@@ -356,7 +356,7 @@ const propertiesRequiringPrefix = ["-webkit-text-stroke-color", "-webkit-text-fi > function pauseTransitionAtTimeOnElement(transitionProperty, time, element) > { > // If we haven't opted into CSS Animations and CSS Transitions as Web Animations, use the internal API. >- if ('internals' in window && !internals.settings.cssAnimationsAndCSSTransitionsBackedByWebAnimationsEnabled()) >+ if ('internals' in window && !internals.settings.webAnimationsCSSIntegrationEnabled()) > return internals.pauseTransitionAtTimeOnElement(transitionProperty, time, element); > > if (transitionProperty.startsWith(prefix) && !propertiesRequiringPrefix.includes(transitionProperty)) >diff --git a/LayoutTests/transitions/shape-outside-transitions.html b/LayoutTests/transitions/shape-outside-transitions.html >index aa95389e4057478309a6f855c7db0e4f40e3383a..aefc9a0538feb04f83ae15e48b252399dd8165f1 100644 >--- a/LayoutTests/transitions/shape-outside-transitions.html >+++ b/LayoutTests/transitions/shape-outside-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/shorthand-border-transitions.html b/LayoutTests/transitions/shorthand-border-transitions.html >index 198c5aff8c42e228715dcdd7f8820e298666acae..faa745c1b1e7e1a391d624ceb1f5154c3d008728 100644 >--- a/LayoutTests/transitions/shorthand-border-transitions.html >+++ b/LayoutTests/transitions/shorthand-border-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/shorthand-transitions.html b/LayoutTests/transitions/shorthand-transitions.html >index 5461ccb3486bc5a1386b5b0c4fba10990150170d..b551a2cbc764bce2ecfdb57162b4a17a24d316d0 100644 >--- a/LayoutTests/transitions/shorthand-transitions.html >+++ b/LayoutTests/transitions/shorthand-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/steps-timing-function.html b/LayoutTests/transitions/steps-timing-function.html >index 95ca990150f9b06b7b78599963fef51d3156ce4b..bb962bcb97043229629b84a92e4a0ce05801541e 100644 >--- a/LayoutTests/transitions/steps-timing-function.html >+++ b/LayoutTests/transitions/steps-timing-function.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/svg-layout-transition.html b/LayoutTests/transitions/svg-layout-transition.html >index 6c02cac4d59a32a98d83a1b00d64ef799a83d99b..0058ab5d1416da4b7cdebbd2d14ead2860f7bcbe 100644 >--- a/LayoutTests/transitions/svg-layout-transition.html >+++ b/LayoutTests/transitions/svg-layout-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/svg-text-shadow-transition.html b/LayoutTests/transitions/svg-text-shadow-transition.html >index ede40c8b4259e245fc859d229e50dd673af9416e..5797e5ede3deadd72d3c3aa35156a12a104c7aab 100644 >--- a/LayoutTests/transitions/svg-text-shadow-transition.html >+++ b/LayoutTests/transitions/svg-text-shadow-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/svg-transitions.html b/LayoutTests/transitions/svg-transitions.html >index 5722666b1a4365dd671ac00a7053b8476c7ec42f..aa3988078fc9edca6e20e2258f13ec9e19e9de77 100644 >--- a/LayoutTests/transitions/svg-transitions.html >+++ b/LayoutTests/transitions/svg-transitions.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/text-indent-transition.html b/LayoutTests/transitions/text-indent-transition.html >index 488cddecb68bfc960c82f3ae9cd50b615bd19a32..16f8af1882a5a76cad3cf73544af593a9f20071c 100644 >--- a/LayoutTests/transitions/text-indent-transition.html >+++ b/LayoutTests/transitions/text-indent-transition.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/transform-op-list-match.html b/LayoutTests/transitions/transform-op-list-match.html >index a61ac8ed490e3941d706c5c528df46cb50e02784..0d3f33ed152793403159c32260d2b2fd802d635f 100644 >--- a/LayoutTests/transitions/transform-op-list-match.html >+++ b/LayoutTests/transitions/transform-op-list-match.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transform-op-list-no-match.html b/LayoutTests/transitions/transform-op-list-no-match.html >index b49d79a203b2b84d0eedf16cf46d7fe88d338dc5..bf6d30dd3da6a28c781580d641f7bd2c2ec0a99e 100644 >--- a/LayoutTests/transitions/transform-op-list-no-match.html >+++ b/LayoutTests/transitions/transform-op-list-no-match.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-drt-api-delay-expected.txt b/LayoutTests/transitions/transition-drt-api-delay-expected.txt >deleted file mode 100644 >index 9429f27de6a7fd577f18ebb27edb7ab4b5d8cea7..0000000000000000000000000000000000000000 >--- a/LayoutTests/transitions/transition-drt-api-delay-expected.txt >+++ /dev/null >@@ -1,5 +0,0 @@ >-Test for transition delay on testRunner API >- >-This test works only in DumpRenderTree. It uses an API exposed only there to jump to a particular time in a running transition. Tests bug 22368 >- >-PASS >diff --git a/LayoutTests/transitions/transition-drt-api-delay.html b/LayoutTests/transitions/transition-drt-api-delay.html >deleted file mode 100644 >index 01d8097da92c5b796d7c76f443f5356c4ebb7ec9..0000000000000000000000000000000000000000 >--- a/LayoutTests/transitions/transition-drt-api-delay.html >+++ /dev/null >@@ -1,62 +0,0 @@ >-<!DOCTYPE html> >- >-<html> >-<head> >- <style> >- #target { >- position: relative; >- left: 100px; >- height: 50px; >- width: 50px; >- background-color: green; >- -webkit-transition-property: left; >- -webkit-transition-duration: 4s; >- -webkit-transition-timing-function: linear; >- -webkit-transition-delay: 1s; >- } >- >- #target.moved { >- left: 200px; >- } >- </style> >- <script src="resources/transition-test-helpers.js"></script> >- <script> >- function endTest() { >- if (window.testRunner) { >- var target = document.getElementById('target'); >- internals.pauseTransitionAtTimeOnElement("left", 2.0, target); >- var left = window.getComputedStyle(target).left; >- var result = "PASS"; >- if (left != "125px") { >- result = "FAIL - expected 125px got " + left; >- } >- document.getElementById('result').innerHTML = "<p>" + result + "</p>"; >- testRunner.notifyDone(); >- } >- } >- >- function startTest() { >- if (window.testRunner) { >- testRunner.dumpAsText(); >- testRunner.waitUntilDone(); >- } >- >- document.getElementById("target").className = "moved"; >- waitForAnimationStart(endTest, 1); >- } >- </script> >-</head> >-<body onload="startTest()"> >- <h1>Test for transition delay on testRunner API</h1> >- >- <p>This test works only in DumpRenderTree. It uses an API exposed >- only there to jump to a particular time in a running transition. >- Tests bug <a href="https://bugs.webkit.org/show_bug.cgi?id=22368">22368</a> >- </p> >- >- <div id="target"></div> >- >- <div id="result"></div> >- >-</body> >-</html> >diff --git a/LayoutTests/transitions/transition-drt-api-expected.txt b/LayoutTests/transitions/transition-drt-api-expected.txt >deleted file mode 100644 >index 7437ecefaf0343deb0a0c377288ad4e370c75042..0000000000000000000000000000000000000000 >--- a/LayoutTests/transitions/transition-drt-api-expected.txt >+++ /dev/null >@@ -1 +0,0 @@ >-PASS: correctly paused transition >diff --git a/LayoutTests/transitions/transition-drt-api.html b/LayoutTests/transitions/transition-drt-api.html >deleted file mode 100644 >index 15c30f08999b3553fb944aa3ea4b144c41797117..0000000000000000000000000000000000000000 >--- a/LayoutTests/transitions/transition-drt-api.html >+++ /dev/null >@@ -1,56 +0,0 @@ >-<!DOCTYPE html> >- >-<html> >-<head> >- <style> >- #target { >- position: relative; >- left: 100px; >- height: 100px; >- width: 100px; >- background-color: blue; >- -webkit-transition-property: left; >- -webkit-transition-duration: 4s; >- -webkit-transition-timing-function: linear; >- } >- >- #target.moved { >- left: 200px; >- } >- </style> >- <script> >- if (window.testRunner) >- testRunner.dumpAsText(); >- >- function endTest() { >- if (window.testRunner) { >- var target = document.getElementById('target'); >- var paused = internals.pauseTransitionAtTimeOnElement("left", 1.0, target); >- var result = ""; >- if (paused) >- result = "PASS: correctly paused transition"; >- else >- result = "FAIL: failed to pause transition"; >- >- document.getElementById('results').innerText = result; >- testRunner.notifyDone(); >- } else >- document.getElementById('results').innerText = "This test requires DRT"; >- } >- >- function startTest() { >- if (window.testRunner) >- testRunner.waitUntilDone(); >- >- document.getElementById("target").className = "moved"; >- window.setTimeout(endTest, 0); >- } >- </script> >-</head> >-<body onload="startTest()"> >- <!-- Test for Interals pauseTransitionAtTimeOnElement() API --> >- <div id="target"></div> >- <div id="results"></div> >- >-</body> >-</html> >diff --git a/LayoutTests/transitions/transition-end-event-rendering.html b/LayoutTests/transitions/transition-end-event-rendering.html >index 2631f716b4ba5e662987c9ec1e4dad2501d3efcc..959afd60d09b011bce3ae106d679ca9b6d0c3a9f 100644 >--- a/LayoutTests/transitions/transition-end-event-rendering.html >+++ b/LayoutTests/transitions/transition-end-event-rendering.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-hit-test-transform.html b/LayoutTests/transitions/transition-hit-test-transform.html >index 88748161f8458b07f681518737fe146a4c644d01..ef806c711a1e15abdd3796c5a5871b6912dc7d38 100644 >--- a/LayoutTests/transitions/transition-hit-test-transform.html >+++ b/LayoutTests/transitions/transition-hit-test-transform.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-hit-test.html b/LayoutTests/transitions/transition-hit-test.html >index 6324b989f4732b6a71a51ee669f66108b82a7f2e..83a60a6e2e553f37a7f59e6721b985bed73a0165 100644 >--- a/LayoutTests/transitions/transition-hit-test.html >+++ b/LayoutTests/transitions/transition-hit-test.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-in-delay-phase.html b/LayoutTests/transitions/transition-in-delay-phase.html >index 903a81e86be1f01e94b2e8ef67d98fb53b431d0f..fc2ce99510ade72d6ce815691745b990080a682c 100644 >--- a/LayoutTests/transitions/transition-in-delay-phase.html >+++ b/LayoutTests/transitions/transition-in-delay-phase.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/transition-on-element-with-content.html b/LayoutTests/transitions/transition-on-element-with-content.html >index 60ca3d662a3303085b0b87a2de87325d220704d4..3c472949167d68322a27371ea071f27611f65369 100644 >--- a/LayoutTests/transitions/transition-on-element-with-content.html >+++ b/LayoutTests/transitions/transition-on-element-with-content.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-shorthand-delay.html b/LayoutTests/transitions/transition-shorthand-delay.html >index 2a485ef9ab4e31cedee1c6bf84033744402069b9..df0989d9f64fa7de4e4eb35083ae8d449bef46f6 100644 >--- a/LayoutTests/transitions/transition-shorthand-delay.html >+++ b/LayoutTests/transitions/transition-shorthand-delay.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-timing-function.html b/LayoutTests/transitions/transition-timing-function.html >index 3479ff1ace4d77fb73fc848b0d2ccc35440534a1..050c52d3171c86296fc27655cb1343a544f19bf4 100644 >--- a/LayoutTests/transitions/transition-timing-function.html >+++ b/LayoutTests/transitions/transition-timing-function.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/transition-to-from-auto.html b/LayoutTests/transitions/transition-to-from-auto.html >index c04dc6ea93678df4a8cbfd4d7d4f2a3e13123d0f..8c17ae0b6d8a793a391f10b8257a0aee78a65d21 100644 >--- a/LayoutTests/transitions/transition-to-from-auto.html >+++ b/LayoutTests/transitions/transition-to-from-auto.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/transition-to-from-undefined.html b/LayoutTests/transitions/transition-to-from-undefined.html >index 5dfcc54f0f56819ba6df64ea20aafc3df94190c6..628cf26852eaa8f9356624d9119c6e878ebaf788 100644 >--- a/LayoutTests/transitions/transition-to-from-undefined.html >+++ b/LayoutTests/transitions/transition-to-from-undefined.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/visited-link-color.html b/LayoutTests/transitions/visited-link-color.html >index c1307a5c8607c2d303a8f2ae9a35d7e0cab8a750..b1878d3190521768e63ba5e5ad7c6d532dee73e1 100644 >--- a/LayoutTests/transitions/visited-link-color.html >+++ b/LayoutTests/transitions/visited-link-color.html >@@ -1,4 +1,4 @@ >-<!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+ > <html> > <head> > <style> >diff --git a/LayoutTests/transitions/zero-duration-in-list.html b/LayoutTests/transitions/zero-duration-in-list.html >index a996fde2742e2dbce48a8891a973592f57b921e6..08d6f19e614034fb88c948ea1b54ceb496c90a19 100644 >--- a/LayoutTests/transitions/zero-duration-in-list.html >+++ b/LayoutTests/transitions/zero-duration-in-list.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/transitions/zero-duration-with-non-zero-delay-end.html b/LayoutTests/transitions/zero-duration-with-non-zero-delay-end.html >index 20c0180a93d52c9d88d16af8465e3084e1388e92..5fa4e3b3130faea870f5999004d68fb717f63ca5 100644 >--- a/LayoutTests/transitions/zero-duration-with-non-zero-delay-end.html >+++ b/LayoutTests/transitions/zero-duration-with-non-zero-delay-end.html >@@ -20,9 +20,18 @@ > } > </style> > <script> >+ >+ function numberOfActiveAnimations() >+ { >+ return document.getAnimations().filter(animation => { >+ const playState = animation.playState; >+ return playState == "running" || playState == "paused"; >+ }).length; >+ } >+ > function sample0() { > var expected = 1; >- var current = internals.numberOfActiveAnimations(); >+ var current = numberOfActiveAnimations(); > if (current == expected) > document.getElementById('result0').innerHTML = "Number of active animations before transition is (" + current + ") as expected"; > else >@@ -31,7 +40,7 @@ > > function sample1() { > var expected = 0; >- var current = internals.numberOfActiveAnimations(); >+ var current = numberOfActiveAnimations(); > if (current == expected) > document.getElementById('result1').innerHTML = "Number of active animations after transition is (" + current + ") as expected"; > else >diff --git a/LayoutTests/transitions/zero-duration-with-non-zero-delay-start.html b/LayoutTests/transitions/zero-duration-with-non-zero-delay-start.html >index 145c927d47147dc72a2bf4f4b015990220cee939..608e003f5c0de7f630358a6b0473a4359545c226 100644 >--- a/LayoutTests/transitions/zero-duration-with-non-zero-delay-start.html >+++ b/LayoutTests/transitions/zero-duration-with-non-zero-delay-start.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > > <html> > <head> >diff --git a/LayoutTests/webanimations/css-animations.html b/LayoutTests/webanimations/css-animations.html >index 949b2ced772d3e0ab48bd0780511c0b266e5a0a3..9b5c028be33de8c7701778673abea712df5d166f 100644 >--- a/LayoutTests/webanimations/css-animations.html >+++ b/LayoutTests/webanimations/css-animations.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <title>CSS Animations</title> > <style type="text/css" media="screen"> >diff --git a/LayoutTests/webanimations/css-transitions.html b/LayoutTests/webanimations/css-transitions.html >index 9acddbafaa0101ed5214d9d97ccd9c80e0b514e5..16d69e2f218cfbe5410beaee253e300d36a11044 100644 >--- a/LayoutTests/webanimations/css-transitions.html >+++ b/LayoutTests/webanimations/css-transitions.html >@@ -1,4 +1,4 @@ >-<!DOCTYPE html><!-- webkit-test-runner [ enableCSSAnimationsAndCSSTransitionsBackedByWebAnimations=true ] --> >+<!DOCTYPE html> > <meta charset=utf-8> > <title>CSS Transitions</title> > <body>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 184819
:
338428
|
338450
|
338480
|
338517
|
340308
|
340315
|
340335
|
340345
|
340407
|
340409
|
340420
|
340427
|
340432
|
340478
|
340486
|
340487
|
340581
|
340586
|
341276
|
341283
|
341286
|
341288
|
341321
|
341327
|
350754
|
350764
|
350767
|
350768
|
350786
|
350789
|
350858
|
350863
|
350865