box-shadow and text-shadow do not yield float values while interpolating
Created attachment 438345 [details] Patch
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Filed https://github.com/web-platform-tests/wpt/pull/30823 for the WPT changes.
Created attachment 438468 [details] Patch
Created attachment 438681 [details] Patch
Comment on attachment 438681 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438681&action=review > Source/WebCore/rendering/TextDecorationPainter.cpp:258 > + int shadowX = LayoutUnit(m_isHorizontal ? shadow->x().value() : shadow->y().value()); > + int shadowY = LayoutUnit(m_isHorizontal ? shadow->y().value() : -shadow->x().value()); These should be floats. Maybe we should even pixel snap them (not necessary for t his patch). > Source/WebCore/rendering/TextDecorationPainter.cpp:278 > + int shadowX = LayoutUnit(m_isHorizontal ? shadow->x().value() : shadow->y().value()); > + int shadowY = LayoutUnit(m_isHorizontal ? shadow->y().value() : -shadow->x().value()); Same.
Created attachment 438690 [details] Patch for landing
Committed r282768 (241903@main): <https://commits.webkit.org/241903@main>
<rdar://problem/83319111>
Reverted r282768 for reason: Slowdown on Mac EWS builders as a constant failure. Committed r282826 (241957@main): <https://commits.webkit.org/241957@main>
Created attachment 441605 [details] Patch for landing
Committed r284437 (243199@main): <https://commits.webkit.org/243199@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 441605 [details].