Bug 187324

Summary: [cairo] SVG fonts shouldn't be clipped in fast/text/multiple-text-shadow-overflow-layout-rect.html
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, calvaris, Hironori.Fujii
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[screenshot] Safari doesn't clip none

Description Alicia Boya García 2018-07-04 10:44:29 PDT
The following test is failing on GTK since r233493-233495 (image only failure):

fast/text/multiple-text-shadow-overflow-layout-rect.html

The difference is very subtle (one line of pixels in a shadow)
Comment 1 Fujii Hironori 2018-07-04 19:03:41 PDT
My change seems the culprit. Sorry.
https://trac.webkit.org/changeset/233495
Bug 187244
Comment 2 Fujii Hironori 2018-07-04 22:52:16 PDT
Created attachment 344310 [details]
[screenshot] Safari doesn't clip

fast/text/multiple-text-shadow-overflow-layout-rect.html is a ref test.

-actual.png and -expect.png are clipped the upper part of the SVG font differently.

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r233495%20(7263)/fast/text/multiple-text-shadow-overflow-layout-rect-diffs.html

In the first place, this test case is a test to check the SVG font isn't clipped as the comment in the test case states.
I attached screenshot of Safari. It doesn't clip at all.
Comment 3 Fujii Hironori 2018-07-04 22:56:42 PDT
Chrome deprecated SVG font support. Other browsers don't plan to support it.
https://caniuse.com/#feat=svg-fonts

It seems that WebKit doesn't claims to support SVG fonts.
https://webkit.org/status/#?search=font
Comment 4 Fujii Hironori 2018-07-05 19:05:00 PDT
Fixed and Unmarked in https://trac.webkit.org/changeset/233556/ .
But, the clipping issue still remains.