RESOLVED FIXED 192217
CSS Painting API should scale display list when drawing
https://bugs.webkit.org/show_bug.cgi?id=192217
Summary CSS Painting API should scale display list when drawing
Justin Michaud
Reported 2018-11-29 22:34:06 PST
When the user zooms in on a custom paint element, it should be sharp. This should not be visible to the paint worklet.
Attachments
Patch (3.82 KB, patch)
2018-11-29 22:37 PST, Justin Michaud
no flags
Archive of layout-test-results from ews124 for ios-simulator-wk2 (2.75 MB, application/zip)
2018-11-30 02:58 PST, EWS Watchlist
no flags
Patch (10.62 KB, patch)
2018-11-30 14:48 PST, Justin Michaud
no flags
Patch (10.52 KB, patch)
2018-11-30 18:12 PST, Justin Michaud
no flags
Justin Michaud
Comment 1 2018-11-29 22:37:54 PST
EWS Watchlist
Comment 2 2018-11-30 02:58:38 PST Comment hidden (obsolete)
EWS Watchlist
Comment 3 2018-11-30 02:58:40 PST Comment hidden (obsolete)
Simon Fraser (smfr)
Comment 4 2018-11-30 10:19:11 PST
Comment on attachment 356142 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356142&action=review > Source/WebCore/ChangeLog:9 > + There are no tests for this because I do not know how to make tests that would not be flaky. Why? > Source/WebCore/html/CustomPaintCanvas.cpp:114 > + m_destinationGraphicsContext = &image->context(); > + m_destinationGraphicsContext->translate(-ctx->clipBounds().location()); > + if (m_context) > + m_context->paintRenderingResultsToCanvas(); > + m_destinationGraphicsContext = nullptr; This is weird. Don't have the m_destinationGraphicsContext data member; just pass the destination context around.
Justin Michaud
Comment 5 2018-11-30 14:48:03 PST
Justin Michaud
Comment 6 2018-11-30 18:12:15 PST
WebKit Commit Bot
Comment 7 2018-12-03 20:03:22 PST
Comment on attachment 356278 [details] Patch Clearing flags on attachment: 356278 Committed r238839: <https://trac.webkit.org/changeset/238839>
WebKit Commit Bot
Comment 8 2018-12-03 20:03:24 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2018-12-03 20:04:30 PST
Note You need to log in before you can comment on or make changes to this bug.