Closed Bug 374624 Opened 19 years ago Closed 17 years ago

SVG text does not render fill when located under a clip-path

Categories

(Core :: SVG, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 When a SVG text element is included within a <g> element that specifies a clip-path, the fill of the text is dropped even if all glyphs fall well within the clip-path boundary. If stroke is specified, the stroke of the element is rendered as usual. Reproducible: Always Steps to Reproduce: 1. Try test attachment 2 [review]. 3. Actual Results: The fill of the text is omitted Expected Results: The fill should be rendered
Attached image Test Case
Component: General → SVG
Product: Firefox → Core
Assignee: nobody → general
QA Contact: general → ian
FWM on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 Presumably Mac only.
Yes. I just tested on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 and it works fine. Looks like a MAC only issue.
I'm also seeing this, on http://energymap.mit.edu - all of the outlined text has fill set, but not showing up. Differences: I don't have any clip-paths, and some of the text (the labels at the bottom of the svg map) are filled.
This works for me. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 Is anyone still seeing this problem in a recent Mozilla build?
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: