Open Bug 354664 Opened 18 years ago Updated 2 years ago

Background (set via CSS) of <span> tags rendered differently at different Text Size settings

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: sb, Unassigned)

Details

(Keywords: testcase)

Attachments

(4 files, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Firefox/1.5.0.7

I am generating a HTML file that shows PHP sourcecode with highlighting of syntax and code coverage. For the latter I use the background color of a <span> that enclosed the line.

At the normal Text Size these lines sometimes do not match up: one is a tiny bit longer/shorter than another. Changing the Text Size, either making it larger or smaller, fixes this.

I have attached two screenshots that demonstrate this effect.

Reproducible: Sometimes

Steps to Reproduce:
1. Open the HTML document (attached).
Actual Results:  
The background of lines 69 and 70 and lines 74 and 75 does not match up (see screenshot #1).

Expected Results:  
The background of lines 69 and 70 and lines 74 and 75 match up.
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Problems also exists in Firefox 2.0 RC1.
worksforme with linux SeaMonkey 2006-09-30-10-trunk and SeaMonkey 1.0.5
Attachment #240441 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: