Summary: | Background-clip + background-image are buggy applied on long inline element | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Luc Poupard <account> | ||||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||||||
Severity: | Normal | CC: | alexandr.zawgorodniy, kyle.bavender, mmaxfield, sabouhallawa, simon.fraser, stephen, webkit-bug-importer, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari 13 | ||||||||||
Hardware: | iPhone / iPad | ||||||||||
OS: | iOS 13 | ||||||||||
URL: | https://codepen.io/kloh/pen/RwrGprV | ||||||||||
Attachments: |
|
Description
Luc Poupard
2020-06-15 15:08:17 PDT
Created attachment 401982 [details]
Screenshot of bug (CodePen example)
Created attachment 401983 [details]
Preview of the bug: background-clip vs text
As text is cropped, I made an example where we can see the background-clipped tex is shifted compared to real text (with opacity)
I've updated the title because I just realized that classic background-image gradient (with image file) is also broken. I've updated the linked codepen in my first message. I am running into the same problem in text on my blog. This works perfectly in Chromium, but seems to fail in WebKit. It would be a really nice thing to be able to do inline gradients in running, wrapped text! https://github.com/arrowtype/blog/issues/21 I believe this bug is fixed in iOS 15.4 |