Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1643762 [wpt PR 24014] - [css-lists] Fix list image gradient with…
… dynamic zoom, a=testonly Automatic update from web-platform-tests [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 <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/master@{#775707} -- wpt-commits: 0fd4d2f9d9c7dc27fa1d2410b105fcd753c33158 wpt-pr: 24014
- Loading branch information