Closed Bug 201758 Opened 21 years ago Closed 19 years ago

Quote tag inserts extra spaces in Print Preview

Categories

(Core :: Print Preview, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kaiser, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030406
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030406

When viewing a page using the quote tag <q> in Print Preview, extra spaces
will be added. If the line begins with a quote, the extra space is inserted
between the last character of the quoted material and the closing quote mark. If
the line does not begin with a quote, the extra space will be added between the
last unquoted character and the closing quote mark.

Reproducible: Always

Steps to Reproduce:
1. Load testcase.
2. File -> Print Preview
Actual Results:  
Looks like:
Here are two quotes.      "You're better off...."
"You're better off[...].     " Note the[...].
Third and fourth quotes do not use <q>, so they're fine.

Expected Results:  
There should be only one space between the . and the " in the first line.
There should be no space between the . and the " in the second line.

Also tested with current Phoenix nightly.
Evidently I do not know how to use HTML in Bugzilla. So here is some HTML in a
file.
Attached image Screenshot
Cropped image showing the bug in action, based on the html attached above.
Reproduced on build 2004030108
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7b) Gecko/20040301

Confirming, and to add to the above discussion, the extra spaces displayed in
Print Preview do not appear in the printed document (I printed out the attached
testcase on an HP deskjet 3420).
Status: UNCONFIRMED → NEW
Ever confirmed: true
This appears fixed on recent and current builds for Linux and Windows. Since no
patch is associated with this bug, I believe the appropriate resolution is
worksforme.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: