commit | 101c532f85edbf80a94732e6854e58501c317ff2 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Fri Jun 05 19:30:08 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jun 05 19:30:08 2020 |
tree | eddbaa2bcd9a9e0a8265f37068197861b142906c | |
parent | af9f5c4dfa154da4cba90981fb47b0ceafae2e4f [diff] |
[css-lists] Fix list image gradient with dynamic zoom The 'list-style-image' property accepts an <image> value to be used as the marker image for the list item. The problem was when specifying a linear-gradient(), which has no intrinsic sizes. It would initially be sized using half of the font ascent, but when dynamically changing the 'zoom' property, it would become 300x150. This patch fixes it by changing LayoutImageResourceStyleImage::ImageSize to use custom default sizes for list markers. BUG=1091289 TEST=external/wpt/css/css-lists/list-style-image-zoom-dynamic.html Change-Id: I746e2421ffb329df884457f0f973b30280fb23b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2230475 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#775707}
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.
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.