Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
length values in gradients should take effective zoom into account
https://bugs.webkit.org/show_bug.cgi?id=248927 Reviewed by Simon Fraser. If a gradient was using length values (i.e. 50px), it didn't work as expected with zoom property and page zoom. It should take the effective zoom into account. * LayoutTests/fast/gradients/length-and-zoom-expected.html: Added. * LayoutTests/fast/gradients/length-and-zoom.html: Added. * Source/WebCore/rendering/style/StyleGradientImage.cpp: (WebCore::StyleGradientImage::computeStops const): (WebCore::positionFromValue): Canonical link: https://commits.webkit.org/257659@main
- Loading branch information
Showing 3 changed files with 40 additions and 2 deletions.