Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4359d3e33a4927ce8c7164b4d277693ddfa1806
      
https://github.com/WebKit/WebKit/commit/e4359d3e33a4927ce8c7164b4d277693ddfa1806
  Author: Ahmad Saleem <[email protected]>
  Date:   2024-07-25 (Thu, 25 Jul 2024)

  Changed paths:
    M 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt
    M 
LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt
    M Source/WebCore/css/svg.css

  Log Message:
  -----------
  SVG rendering ignores xml:space="preserve" attribute for text

https://bugs.webkit.org/show_bug.cgi?id=112032
rdar://problem/19164263

Reviewed by Nikolas Zimmermann.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Merge: 
https://source.chromium.org/chromium/chromium/src/+/66a66b7e89c9cb4d2f0579354f8f84a202dce332

Web Specification: https://svgwg.org/svg2-draft/text.html#LegacyXMLSpace

It landed in past 255917@main but led to regression and was reverted in 
258905@main.
Prior to relanding, I tested the regression `chart testcase` attached on
bug 250603 and it was working as intended and didn't had 'garbled' text
anymore.

"It will convert all newline and tab characters into space characters. Then,
it will draw all space characters, including leading, trailing and
multiple contiguous space characters..."

* Source/WebCore/css/svg.css:
(text):
(tspan, textPath):
(text, tspan, textPath): Deleted.
* 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt:
* 
LayoutTests/platform/mac/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt:
* 
LayoutTests/platform/glib/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to