Closed Bug 1067073 Opened 10 years ago Closed 8 years ago

Text shadow with mix-blend-mode: color-burn paints wrong

Categories

(Core :: Graphics: Text, defect)

35 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: yoksel, Unassigned)

References

Details

(Keywords: reproducible, testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20140913030206

Steps to reproduce:

I create this pen: http://codepen.io/yoksel/pen/nveJl

Text in it has text shadow defined with rgba and text has mix-blend-mode: color-burn;

Simple Code Example:

H1 {
  color: steelblue;
  mix-blend-mode: color-burn;
  text-shadow: 0 5px 10px rgba(0, 0, 0, .8);
}


Actual results:

I see black borders instead of semi transparent shadows.


Expected results:

I would see semi transparent shadows around the text.
Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics: Text
Ever confirmed: true
Product: Firefox → Core
Summary: Text shadow with mix-blend-mode paints wrong → Text shadow with mix-blend-mode: color-burn paints wrong
This is caused by a CoreGraphics bug when color-burn is used with a semi-transparent input.
If blending happens in the Compositor (which it now does since bug 1235995), or if we're using Skia for content rendering (bug 1207332), this bug does not occur.

Resolving WFM because bug 1235995 fixed it for this testcase, but until we've switched to Skia it can still appear in other contexts.
Status: NEW → RESOLVED
Closed: 8 years ago
Depends on: skia-osx
Resolution: --- → WORKSFORME
Depends on: 1235995
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: