New issue
Advanced search Search tips

Issue 822020 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 242853
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

SVG textPath transforms the shader space for each glyph

Project Member Reported by fmalita@chromium.org, Mar 14 2018

Issue description

*I think* textPath glyph positioning is supposed to be a purely layout/geometric operation, and not interfere with the gradient/pattern space.

But in our implementation it seems to contort the shader space for each glyph (presumably due to mucking with the global transform).


https://codepen.io/fmalita/pen/LdNzBv

Compare attached results vs. FF (expected behavior?).
 
chromium.png
106 KB View Download
ff.png
46.4 KB View Download
Better repro: https://codepen.io/fmalita/pen/yKOPgx
ff.png
48.6 KB View Download

Comment 2 by f...@opera.com, Mar 15 2018

Mergedinto: 242853
Status: Duplicate (was: Available)
Yes, the paint server should apply in the coordinate space of the element and not that of each individual glyph (digging that out of the spec may prove a challenge though...) And while it wouldn't be an impossibility to fix in the current shape of things, it will take some wrangling. Being able to "lock" the transform on the shader would've made things easier =).

Sign in to add a comment