Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e7f78cb4cd8136f0b3c6e0c02b36009022514452
      
https://github.com/WebKit/WebKit/commit/e7f78cb4cd8136f0b3c6e0c02b36009022514452
  Author: Ahmad Saleem <[email protected]>
  Date:   2023-01-21 (Sat, 21 Jan 2023)

  Changed paths:
    A LayoutTests/fast/css/border-image-widths-on-svg-with-zoom-expected.html
    A LayoutTests/fast/css/border-image-widths-on-svg-with-zoom.html
    M Source/WebCore/css/CSSToStyleMap.cpp
    M Source/WebCore/css/CSSToStyleMap.h

  Log Message:
  -----------
  Remove zoom special casing of SVG when computing border-widths

Remove zoom special casing of SVG when computing border-widths
https://bugs.webkit.org/show_bug.cgi?id=250048

Reviewed by Tim Nguyen.

This patch is to align WebKit with Gecko / Firefox and Blink / Chromium.

Merge - 
https://chromium.googlesource.com/chromium/blink/+/972c6ca7b5ffa48a099b53cfc720a0aef3bf850e

This patch removes special casing of zooming of SVG when computing
border-width, where border-widths value does not scale with zoom level
for SVG elements. It was quirk which was removed from Blink in 2014 to
match with Firefox since it was not supported by any web-specification.

* Source/WebCore/css/CSSToStyleMap.cpp:
(useSVGZoomRules): Removed
(CSSToStyleMap::mapNinePieceImageQuad): Remove 'useSVGZoomRules' special casing
* Source/WebCore/css/CSSToStyleMap.h: Remove 'useSVGZoomRules'
* LayoutTests/fast/css/border-image-widths-on-svg-with-zoom.html: Add Test Case
* LayoutTests/fast/css/border-image-widths-on-svg-with-zoom-expected.html: Add 
Test Case Expectation

Canonical link: https://commits.webkit.org/259170@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to