Bug 187324 - [cairo] SVG fonts shouldn't be clipped in fast/text/multiple-text-shadow-overflow-layout-rect.html
Summary: [cairo] SVG fonts shouldn't be clipped in fast/text/multiple-text-shadow-over...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-04 10:44 PDT by Alicia Boya García
Modified: 2018-07-05 19:05 PDT (History)
3 users (show)

See Also:


Attachments
[screenshot] Safari doesn't clip (41.73 KB, image/png)
2018-07-04 22:52 PDT, Fujii Hironori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.