Closed Bug 930980 Opened 12 years ago Closed 12 years ago

text-shadow needs fast path for blur distance zero

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: BenWa, Unassigned)

References

Details

Attachments

(1 file)

It looks like we still hit the blur code when using a text-shadow with blur distance zero. For b2g we're considering using the text-shadow to provide a non blur text shadow (like a text offset). Making a fast path for this would allow it.
This seems wise.
Attached file Testcase
It already has one but when we enter the blur code mSpreadRadius is zero but mBlurRadius is one. I'll pick this up in two weeks. This is with text-shadow: 2px 2px #ff0000;
Alright it appears that we already have these fast paths in place but they still enter the blur function. I'm closing this for now until we find real evidence that we're actually blurring.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: