Title: [249992] branches/safari-608-branch/LayoutTests
- Revision
- 249992
- Author
- [email protected]
- Date
- 2019-09-17 15:29:27 -0700 (Tue, 17 Sep 2019)
Log Message
Cherry-pick r249734. rdar://problem/55291693
Attempt to make this test not flakey.
https://bugs.webkit.org/show_bug.cgi?id=201482
* legacy-animation-engine/compositing/transitions/add-remove-transition.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-608-branch/LayoutTests/ChangeLog (249991 => 249992)
--- branches/safari-608-branch/LayoutTests/ChangeLog 2019-09-17 22:29:25 UTC (rev 249991)
+++ branches/safari-608-branch/LayoutTests/ChangeLog 2019-09-17 22:29:27 UTC (rev 249992)
@@ -1,95 +1,106 @@
2019-09-17 Kocsen Chung <[email protected]>
- Cherry-pick r249511. rdar://problem/55291693
+ Cherry-pick r249734. rdar://problem/55291693
- Cancelled transitions on Google image search leave content with opacity 0 sometimes
+ Attempt to make this test not flakey.
https://bugs.webkit.org/show_bug.cgi?id=201482
- rdar://problem/54921036
- Reviewed by Tim Horton.
- Source/WebCore:
+ * legacy-animation-engine/compositing/transitions/add-remove-transition.html:
- If, in a single rendering update, we started an accelerated opacity transition, and then removed
- it, we'd still push the transition onto the CALayer with fillForwards and never remove it, so its
- effects would last forever.
-
- Fix by making GraphicsLayerCA::removeAnimation() remove animations from the uncomittedAnimations
- list as well.
-
- Also fix layer names in debug; if a layer's primaryLayerID changed, we'd fail to rename the
- CALayer, causing confusion when logging at layer dumps. Fix by adding the layer ID just
- before pushing the name to the platform layer.
-
- Some drive-by logging cleanup.
-
- Test: legacy-animation-engine/compositing/transitions/add-remove-transition.html
-
- * platform/graphics/GraphicsLayer.cpp:
- (WebCore::GraphicsLayer::debugName const):
- * platform/graphics/GraphicsLayer.h:
- * platform/graphics/ca/GraphicsLayerCA.cpp:
- (WebCore::GraphicsLayerCA::setName):
- (WebCore::GraphicsLayerCA::debugName const):
- (WebCore::GraphicsLayerCA::addAnimation):
- (WebCore::GraphicsLayerCA::pauseAnimation):
- (WebCore::GraphicsLayerCA::seekAnimation):
- (WebCore::GraphicsLayerCA::removeAnimation):
- (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
- (WebCore::GraphicsLayerCA::platformCALayerAnimationEnded):
- (WebCore::GraphicsLayerCA::updateNames):
- (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
- * platform/graphics/ca/GraphicsLayerCA.h:
- * rendering/RenderLayerCompositor.cpp:
- (WebCore::RenderLayerCompositor::logLayerInfo):
-
- LayoutTests:
-
- * legacy-animation-engine/compositing/transitions/add-remove-transition-expected.html: Added.
- * legacy-animation-engine/compositing/transitions/add-remove-transition.html: Added.
-
- git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-17 Kocsen Chung <[email protected]>
- Cherry-pick r249507. rdar://problem/55427491
+ Cherry-pick r249511. rdar://problem/55291693
- Line artifacts in note body after viewing note with <attachment>s
- https://bugs.webkit.org/show_bug.cgi?id=201474
- <rdar://problem/51306108>
+ Cancelled transitions on Google image search leave content with opacity 0 sometimes
+ https://bugs.webkit.org/show_bug.cgi?id=201482
+ rdar://problem/54921036
- Reviewed by Simon Fraser.
-
+ Reviewed by Tim Horton.
Source/WebCore:
- Test: fast/attachment/attachment-border-should-stay-inside-attachment.html
+ If, in a single rendering update, we started an accelerated opacity transition, and then removed
+ it, we'd still push the transition onto the CALayer with fillForwards and never remove it, so its
+ effects would last forever.
- * rendering/RenderThemeIOS.mm:
- (WebCore::attachmentBorderPath):
- (WebCore::paintAttachmentBorder):
- Inset the border rect by half the width, so that <attachment> doesn't
- paint out-of-bounds.
+ Fix by making GraphicsLayerCA::removeAnimation() remove animations from the uncomittedAnimations
+ list as well.
+ Also fix layer names in debug; if a layer's primaryLayerID changed, we'd fail to rename the
+ CALayer, causing confusion when logging at layer dumps. Fix by adding the layer ID just
+ before pushing the name to the platform layer.
+
+ Some drive-by logging cleanup.
+
+ Test: legacy-animation-engine/compositing/transitions/add-remove-transition.html
+
+ * platform/graphics/GraphicsLayer.cpp:
+ (WebCore::GraphicsLayer::debugName const):
+ * platform/graphics/GraphicsLayer.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::setName):
+ (WebCore::GraphicsLayerCA::debugName const):
+ (WebCore::GraphicsLayerCA::addAnimation):
+ (WebCore::GraphicsLayerCA::pauseAnimation):
+ (WebCore::GraphicsLayerCA::seekAnimation):
+ (WebCore::GraphicsLayerCA::removeAnimation):
+ (WebCore::GraphicsLayerCA::platformCALayerAnimationStarted):
+ (WebCore::GraphicsLayerCA::platformCALayerAnimationEnded):
+ (WebCore::GraphicsLayerCA::updateNames):
+ (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::logLayerInfo):
+
LayoutTests:
- * fast/attachment/attachment-border-should-stay-inside-attachment-expected.html: Added.
- * fast/attachment/attachment-border-should-stay-inside-attachment.html: Added.
- Add a test that ensures that <attachment> stays inside its bounds.
+ * legacy-animation-engine/compositing/transitions/add-remove-transition-expected.html: Added.
+ * legacy-animation-engine/compositing/transitions/add-remove-transition.html: Added.
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+ 2019-09-17 Kocsen Chung <[email protected]>
- 2019-09-04 Tim Horton <[email protected]>
+ Cherry-pick r249507. rdar://problem/55427491
- Line artifacts in note body after viewing note with <attachment>s
- https://bugs.webkit.org/show_bug.cgi?id=201474
- <rdar://problem/51306108>
+ Line artifacts in note body after viewing note with <attachment>s
+ https://bugs.webkit.org/show_bug.cgi?id=201474
+ <rdar://problem/51306108>
- Reviewed by Simon Fraser.
+ Reviewed by Simon Fraser.
- * fast/attachment/attachment-border-should-stay-inside-attachment-expected.html: Added.
- * fast/attachment/attachment-border-should-stay-inside-attachment.html: Added.
- Add a test that ensures that <attachment> stays inside its bounds.
+ Source/WebCore:
+ Test: fast/attachment/attachment-border-should-stay-inside-attachment.html
+
+ * rendering/RenderThemeIOS.mm:
+ (WebCore::attachmentBorderPath):
+ (WebCore::paintAttachmentBorder):
+ Inset the border rect by half the width, so that <attachment> doesn't
+ paint out-of-bounds.
+
+ LayoutTests:
+
+ * fast/attachment/attachment-border-should-stay-inside-attachment-expected.html: Added.
+ * fast/attachment/attachment-border-should-stay-inside-attachment.html: Added.
+ Add a test that ensures that <attachment> stays inside its bounds.
+
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2019-09-04 Tim Horton <[email protected]>
+
+ Line artifacts in note body after viewing note with <attachment>s
+ https://bugs.webkit.org/show_bug.cgi?id=201474
+ <rdar://problem/51306108>
+
+ Reviewed by Simon Fraser.
+
+ * fast/attachment/attachment-border-should-stay-inside-attachment-expected.html: Added.
+ * fast/attachment/attachment-border-should-stay-inside-attachment.html: Added.
+ Add a test that ensures that <attachment> stays inside its bounds.
+
2019-09-09 Ryosuke Niwa <[email protected]>
REGRESSION (iOS 13): Bulleted list copied from Notes to Mail results in Times New Roman
@@ -247,6 +258,13 @@
REGRESSION (iOS 13): If an overflow:hidden with a non-zero scroll position is toggled to overflow:scroll, some other scroll causes its scroll position to get reset
https://bugs.webkit.org/show_bug.cgi?id=201528
+2019-09-10 Simon Fraser <[email protected]>
+
+ Attempt to make this test not flakey.
+ https://bugs.webkit.org/show_bug.cgi?id=201482
+
+ * legacy-animation-engine/compositing/transitions/add-remove-transition.html:
+
rdar://problem/55044885
Reviewed by Frédéric Wang.
Modified: branches/safari-608-branch/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html (249991 => 249992)
--- branches/safari-608-branch/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html 2019-09-17 22:29:25 UTC (rev 249991)
+++ branches/safari-608-branch/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html 2019-09-17 22:29:27 UTC (rev 249992)
@@ -23,18 +23,20 @@
transform: translateZ(0);
}
</style>
+ <script src=""
<script>
if (window.testRunner)
testRunner.waitUntilDone();
- window.addEventListener('load', () => {
+ window.addEventListener('load', async () => {
target.classList.add('transitioning');
document.body.offsetWidth;
target.classList.add('no-transition');
- setTimeout(() => {
- if (window.testRunner)
- testRunner.notifyDone();
- }, 20);
+
+ await UIHelper.ensurePresentationUpdate();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
}, false);
</script>
</head>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes