Closed Bug 342961 Opened 18 years ago Closed 18 years ago

Get a CSS error on displaying any SVG

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: longsonr, Assigned: longsonr)

References

Details

(Keywords: fixed1.8.0.7, fixed1.8.1)

Attachments

(2 files)

CSS Error (resource://gre/res/svg.css :72.30): Unknown pseudo-class or
pseudo-element '-moz-svg-foreign-content'.  Ruleset ignored due to bad
selector.
Attached patch patchSplinter Review
The only callers to EnsureCatalogStyleSheet are svg\content\src\nsSVGElementFactory.cpp and xml\document\src\nsXMLContentSink.cpp in both cases they pass a fixed stylesheet.
Assignee: general → longsonr
Status: NEW → ASSIGNED
Attachment #227395 - Flags: review?(bzbarsky)
Comment on attachment 227395 [details] [diff] [review]
patch

Looks great.  r+sr=bzbarsky
Attachment #227395 - Flags: superreview+
Attachment #227395 - Flags: review?(bzbarsky)
Attachment #227395 - Flags: review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment on attachment 227395 [details] [diff] [review]
patch

We should take this on branches. This specific bug does not exist on branches (because they don't support foreignobject) but the risk is minimal and the patch belongs with the patch for bug 331883, which has landed on branches.
Attachment #227395 - Flags: approval1.8.1?
Attachment #227395 - Flags: approval1.8.0.6?
Comment on attachment 227395 [details] [diff] [review]
patch

a=darin on behalf of drivers
Attachment #227395 - Flags: approval1.8.1? → approval1.8.1+
Attached patch branch patchSplinter Review
This is the patch that should go into 1.8.0.6
Attachment #227606 - Flags: approval1.8.0.6?
Blocks: 346222
No longer blocks: 346222
Comment on attachment 227606 [details] [diff] [review]
branch patch

approved for 1.8.0 branch, a=dveditz for drivers
Attachment #227606 - Flags: approval1.8.0.7? → approval1.8.0.7+
Fix checked into 1.8.0 branch
Keywords: fixed1.8.0.7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: