Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Async Clipboard] Write well-formed SVG images.
Instead of using the strict HTML markup processor that inlines the styles and strips out security-sensitive tags very aggressively, use the DOMParser to parse the SVG document instead. It uses the XML parser that preserves the `<style>` and other SVG custom tags. Bug: 40776225 Change-Id: I19923ae699c884ffc002a5edc27cb19779c31681 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5277574 Reviewed-by: Evan Stade <[email protected]> Commit-Queue: Anupam Snigdha <[email protected]> Cr-Commit-Position: refs/heads/main@{#1264340}
- Loading branch information