Changeset 290735 in webkit
- Timestamp:
- Mar 2, 2022 10:47:09 AM (5 months ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/repaint/outline-transition-expected.txt (added)
-
LayoutTests/fast/repaint/outline-transition.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/style/RenderStyle.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r290734 r290735 1 2022-03-02 Antoine Quint <graouts@webkit.org> 2 3 Outline-width with transition don't animate correctly 4 https://bugs.webkit.org/show_bug.cgi?id=173708 5 6 Reviewed by Antti Koivisto. 7 8 Add a repaint test that checks that the outline is accounted for during the transition. 9 10 * fast/repaint/outline-transition-expected.txt: Added. 11 * fast/repaint/outline-transition.html: Added. 12 1 13 2022-03-02 Alan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r290734 r290735 1 2022-03-02 Antoine Quint <graouts@webkit.org> 2 3 Outline-width with transition don't animate correctly 4 https://bugs.webkit.org/show_bug.cgi?id=173708 5 6 Reviewed by Antti Koivisto. 7 8 Account for a change in outline size when checking whether a style change affects 9 visual overflow. 10 11 No new test for this, I'm not sure how to write one since the issue is failing to 12 repaint during an animation but WKTR seems to force a repaint for reftests. 13 14 * rendering/style/RenderStyle.cpp: 15 (WebCore::RenderStyle::changeAffectsVisualOverflow const): 16 1 17 2022-03-02 Alan Bujtas <zalan@apple.com> 2 18 -
trunk/Source/WebCore/rendering/style/RenderStyle.cpp
r289466 r290735 641 641 } 642 642 643 if (hasOutlineInVisualOverflow() != other.hasOutlineInVisualOverflow()) 644 return true; 643 auto hasOutlineInVisualOverflow = this->hasOutlineInVisualOverflow(); 644 auto otherHasOutlineInVisualOverflow = other.hasOutlineInVisualOverflow(); 645 if (hasOutlineInVisualOverflow != otherHasOutlineInVisualOverflow 646 || (hasOutlineInVisualOverflow && otherHasOutlineInVisualOverflow && outlineSize() != other.outlineSize())) 647 return true; 648 645 649 return false; 646 650 }
Note: See TracChangeset
for help on using the changeset viewer.