Closed Bug 857282 Opened 11 years ago Closed 11 years ago

Canvas overflow not clipped properly by Firefox

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

20 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 854873

People

(Reporter: zen121790, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Build ID: 20120310193444

Steps to reproduce:

Tested a website under development on Android Firefox (Galaxy Tab 2 tablet) and found that the overflow of a canvas contained by a div with overflow:auto is not clipped properly.

I have created a simple web page which reproduces the problem and which I attach.


Actual results:

On the desktop (and on the tablet testing with Chrome) the canvas is clipped correctly. That is to say that if the canvas width exceeds the div width:
1. The canvas content does not overflow the border of the div.
2. You can scroll the canvas inside the div.  
With Firefox the canvas content overflows the div.


Expected results:

Android Firefox should behave as on the desktop (and as Chrome).
Attachment #732507 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → NEW
Component: General → Graphics, Panning and Zooming
Ever confirmed: true
OS: Linux → Android
Hardware: x86 → ARM
We're experiencing the bug with some canvas based charts, and it seems that the canvas is drawn above anything except elements with "position:fixed".
(In reply to koehler from comment #1)
> We're experiencing the bug with some canvas based charts, and it seems that
> the canvas is drawn above anything except elements with "position:fixed".

Have you tried Nightly to see if this is fixed? (http://nightly.mozilla.org) for Android. This sounds a bit like bug 854873 which is fixed.
Just checked the nightly build and it works like a charm. Thanks for the heads up.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: