Closed Bug 816876 Opened 12 years ago Closed 6 years ago

Android builds render "position:fixed" content differently (w/ a different faint checkerboard pattern) from "position:absolute" content

Categories

(Core :: Layout, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(4 files, 2 obsolete files)

I discovered in bug 808767 comment 13 that Android seems to render "position:fixed" blocks differently than "position:absolute" blocks.  Both seem to be blended with a checkerboard pattern, but there's different blending going on for "position:fixed" vs "position:absolute"

This appears to have been the cause of the reftest failure here:
 https://tbpl.mozilla.org/php/getParsedLog.php?id=17465640&tree=Mozilla-Inbound

I'll trigger a Try run to test this more directly, and report back...
Here's a try push:
  https://tbpl.mozilla.org/?tree=Try&rev=0406c4320fab
w/ a few tests that only differ from their reference case in that they have "position:fixed".

Here's the simplest of them:
test: https://hg.mozilla.org/try/diff/0406c4320fab/layout/reftests/flexbox/816876-2b.xhtml
ref:  https://hg.mozilla.org/try/diff/0406c4320fab/layout/reftests/flexbox/816876-2-ref.xhtml
(here's the patch with the tests from that try push, since try gets periodically clobbered)
(...and here's the reftest output)
Attached image screenshot: test zoomed in 2000% (obsolete) —
Here's the Android reftest-screenshot of the last testcase from the attached reftest-patch.  (zoomed in 2000% in "eog", default gnome image viewer, w/ smooth-scaling disabled, and then screenshotted)
Attached image screenshot: reference zoomed in 2000% (obsolete) —
...and here's the zoomed reftest-screenshot of the corresponding reference case.
Attachment #687436 - Attachment is obsolete: true
Attachment #687437 - Attachment is obsolete: true
Circling back here & seeing if this has been fixed... Try run with these tests (moved to layout/reftests/bugs):
 https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3cc4b75b9fc78fe3d8e64cac99c9a28e715ffa0
Flags: needinfo?(dholbert)
Looks like the Try run was fine. Here's a link, filtered for Android to be more specific:
  https://treeherder.mozilla.org/#/jobs?repo=try&revision=f3cc4b75b9fc78fe3d8e64cac99c9a28e715ffa0&filter-searchStr=Android

So this is WFM, and just needs the tests to be landed. Tree's closed now, so I'll probably land them on Monday.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5315c2fab62e
Add some reftests that used to fail on Android but pass now (testing painting of position:fixed containers). (no review, test-only)
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: