Closed Bug 471881 Opened 12 years ago Closed 11 years ago

reftest fails by 1 pixel on maemo

Categories

(Core :: Layout, defect)

ARM
Maemo
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jmaher, Unassigned)

References

Details

Attachments

(1 file)

In the reftest suite, layout/reftests/bugs/362901-1.html fails on maemo only (passes on linux desktop).  In reducing the test case, it appears that when we use javascript to insertBefore a textnode, we have a difference of 1 pixel.  

I cannot figure out what this difference is, but it is only on maemo and my naked eye cannot see it.

Attached is the reduced test case where the first div shows the failure and the second div shows the reference.
I see a similar situation with appendChild in /layout/reftests/bugs/385569-1*.html.
Another case fails in this same fashion: layout/reftests/counters/text-boundaries-subpixel.html.

this is just related to a <span> tag inside a <p> tag.

Here is the test:
<p>a<span>b</span>.</p>

here is the reference:
<p>ab.</p>
Blocks: 473564
moving to test component
Component: General → Layout
Product: Fennec → Core
QA Contact: general → layout
this test appears to be working in beta3 builds
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.