firefox displays text incorrectly

UNCONFIRMED
Unassigned

Status

()

Core
Layout
UNCONFIRMED
6 years ago
6 years ago

People

(Reporter: isispaic@sispaic.com.br, Unassigned)

Tracking

({testcase})

17 Branch
x86_64
Windows 7
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
Created attachment 692629 [details]
teste.htm

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232

Steps to reproduce:

just loaded the file


Actual results:

incorrectly  displayedthe text "(principalmente na Judéia)"


Expected results:

display the text correctly
Attachment #692629 - Attachment mime type: text/plain → text/html
Component: Untriaged → Layout
Product: Firefox → Core
FWIW, MSIE 10 and Opera 12 also render "incorrectly".
Keywords: testcase
The page uses absolute positioning on the text bits, using pixel offsets.  That assumes things about font metrics that are just not going to be true across font rasterizers, operating systems, etc.

Case in point, all of Opera, Safari, Chrome, and Firefox show overlap on that testcase over here, and all have slightly different amounts of it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

6 years ago
if there is a valid function that returns position and contents valid it must be validated by naturally browser that is usual and normal procedure. 

In the example, if inserting line break in the same code above, it will display the contents properly.  

<div style="position: absolute; top: 2px; left: 0px; width:423px; font:16pt Times New Roman; color: #000080">Os&nbsp;partidos&nbsp;da&nbsp;classe&nbsp;dominante&nbsp;eram&nbsp;os&nbsp;Saduceus&nbsp;</div>
<div style="position: absolute; top: 25px; left: 0px; width:257px; font:16pt Times New Roman; color: #000080">(principalmente&nbsp;na&nbsp;Judéia)&nbsp;e&nbsp;os</div>

Many developers, report writers use building the argument by absolute position.

"following the path of the science of mathematics, the order of the factors can not change the result"
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
> if there is a valid function that returns position and contents valid it must be
> validated by naturally browser that is usual and normal procedure. 

I have no idea what you're trying to say there.  Please feel free to write in Portuguese and I'll find someone to translate if that would be easier.

> In the example, if inserting line break in the same code above, it will display the
> contents properly.  

Where did you insert the line break, exactly?  I see no difference in the layout of the code from comment 3 no matter whether I put it on one line or two.

> Many developers, report writers use building the argument by absolute position.

Yes, and they're producing buggy pages that break on any computer that's not theirs.  So the ones that want to stay in the business stop doing that...
You need to log in before you can comment on or make changes to this bug.