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

UNCONFIRMED
Unassigned

Status

()

Core
Layout
UNCONFIRMED
11 years ago
11 years ago

People

(Reporter: Sebastian Bergmann, Unassigned)

Tracking

({testcase})

1.8 Branch
x86
Linux
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments, 1 obsolete attachment)

(Reporter)

Description

11 years ago
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.
(Reporter)

Comment 1

11 years ago
Created attachment 240441 [details]
HTML document that demonstrates the problem.
(Reporter)

Comment 2

11 years ago
Created attachment 240442 [details]
CSS stylesheet for the HTML document that demonstrates the problem.
(Reporter)

Comment 3

11 years ago
Created attachment 240443 [details]
HTML document that demonstrates the problem rendered at normal text size.
(Reporter)

Comment 4

11 years ago
Created attachment 240444 [details]
HTML document that demonstrates the problem rendered at increased text size.

Updated

11 years ago
Component: General → Layout
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
(Reporter)

Comment 5

11 years ago
Problems also exists in Firefox 2.0 RC1.

Comment 6

11 years ago
Created attachment 240794 [details]
original HTML document referencing CSS attachment

worksforme with linux SeaMonkey 2006-09-30-10-trunk and SeaMonkey 1.0.5
Attachment #240441 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.