commit | b895b95cbe1718e0492cec48a398e90d26049ed3 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Thu Dec 08 23:52:49 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 08 23:52:49 2022 |
tree | 0c0e9efe5897970d8d6df118430415cf42c1de57 | |
parent | 3c9f971d7c25c9a20a6fb00287e4b548e475bad6 [diff] |
Only synthesize a 'viewBox' in <img> for the document element <svg> SVGSVGElement::ShouldSynthesizeViewBox() needs to check that it is the document element as well. Use the IsDocumentElement() helper from Element, and replace another instance of the same check as well. Fixed: 1313530 Change-Id: I785a8ce83780cc2a4c9d697065453f69bc3d69e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4079162 Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1081216}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.