Open Bug 697735 Opened 13 years ago Updated 2 years ago

SVG text element offset during printing for opacity < 1

Categories

(Firefox :: General, defect)

8 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: addavis1, Unassigned)

Details

Attachments

(1 file)

Attached file Test.pdf
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111011182523

Steps to reproduce:

Example: The following is embedded in an html5 document.
<svg width='600' height='200'>
<text x='50' y='50' stroke='black' font-size='24pt' opacity='1'>Please print in the right place.</text>
<text x='50' y='50' stroke='black' font-size='24pt' opacity='0.5'>Please print in the right place.</text>
</svg>


Actual results:

Print preview correctly renders both elements in the same place. Actually printing the document offsets the text element with the <1 opacity (down and to the right).

It appears this is reasonably general problem. Occurs if the opacity attribute is defined with javascript via DOM or if directly defined as in the test case.


Expected results:

It should render the opacity='0.5' text in the same place as the opacity='1' text. This appears to be a regression bug as it didn't do this some of the earlier versions of Firefox.
This may be related to bug 700003, in which case the regression window should be around 2011-05-27.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: