[webkit-changes] [WebKit/WebKit] eac789: Remove usage of `getCSSCanvasContext` and `-webkit...
Ahmad Saleem
noreply at github.com
Wed Dec 18 19:19:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: eac7898a5b4cb720815995c62f80828e8ac7a903
https://github.com/WebKit/WebKit/commit/eac7898a5b4cb720815995c62f80828e8ac7a903
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-12-18 (Wed, 18 Dec 2024)
Changed paths:
M Source/WebCore/xml/XMLViewer.css
M Source/WebCore/xml/XMLViewer.js
Log Message:
-----------
Remove usage of `getCSSCanvasContext` and `-webkit-canvas` from `XMLViewer`
https://bugs.webkit.org/show_bug.cgi?id=284900
rdar://141705353
Reviewed by Tim Nguyen.
This patch is inspired to reduce usage of non-standard API and property in XMLViewer.
It takes opportunity to use `svg` instead, which fixes issue of `arrow` being pixelated
upon zoom as well.
Inspired by: https://source.chromium.org/chromium/chromium/src/+/24e58b0d8fab28fa20e69f191d833fe97aaff75d
and https://source.chromium.org/chromium/chromium/src/+/477a9c21852a80e1e2b54e2e6ca9b23012ffbce7
* Source/WebCore/xml/XMLViewer.css:
(.collapse-button):
(.expand-button):
* Source/WebCore/xml/XMLViewer.js:
(sourceXMLLoaded):
(drawArrows): Deleted.
Canonical link: https://commits.webkit.org/288065@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list