Fix clipboard markup serialization crash on SVG <foreignObject>
When re-serializing sanitized clipboard markup, not all elements need an inline style. For example, SVG <foreignObject>. We should not try to strip UA style from their inline styles as otherwise it crashes. Bug: 1032389 Change-Id: Idedc98a09fd5503281dd6c7354b4df78368a8e0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1962977 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#724068}
Showing
Please register or sign in to comment