Closed Bug 785836 Opened 12 years ago Closed 7 years ago

"Tap to play" flash placeholder is created lower than the correct position at kickstarter.com

Categories

(Firefox for Android Graveyard :: Plugins, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox15 affected, firefox16 affected, firefox17 affected, fennec-)

RESOLVED WORKSFORME
Tracking Status
firefox15 --- affected
firefox16 --- affected
firefox17 --- affected
fennec - ---

People

(Reporter: AdrianT, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Nightly 17.0a1 2012-08-20/Firefox Mobile 15 RC build 1
Device: Samsung Galaxy Tab (Android 3.1)/ Samsung Note (Android 4.0.4)/ Motorola Droid 3 (Android 2.3.4)

Steps to reproduce:
1. Go to kickstarter.com and find a project presentation page with a video on it or alternatively go to the link from the URL field of the bug
2. Tap the Play icon and wait for the flash activation plugin placeholder to be displayed
3. Tap on the placeholder to activate the plugin

Expected results:
Both the placeholder and the flash video are correctly displayed

Actual results:
The plugin placeholder is displayed half the height under the bottom edge.

Note:
Please see the videocapture: http://youtu.be/oGqoAVZRYOA
The issue is not reproducible on the Android Stock Browser using the plugin "on demand" option set. 
Issue is reproducible using Nightly 2012-01-01 so it is most likely not a regression.
Can we investigate the markup issue?
QA Contact: aaron.train
QA Contact: aaron.train → martijn.martijn
Attached file testcase (deleted) —
This is happening because of the xul:vbox class="mainBox" is aligned too low.
The testcase here, the red bordered div represents this xul:vbox.
When using vertical-align: top style, the problem seems to go away.

Btw, this is not a problem in quirks mode.
This is a general issue with the Tap to Play placeholder, not only Firefox for Android.
tracking-fennec: ? → -
Depends on: 793007
The bug exposed by mw22's testcase is a layout issue involving baselines of -moz-box elements. I filed bug 793007 on it.

> Btw, this is not a problem in quirks mode.

(Actually, it's a general problem -- it does affect quirks mode, but *only* if you add some text next to the -moz-box element, for it to baseline-align with.  Apparently we have a quirks-mode quirk to disable baseline-alignment when there's only one child in a block, or something like that, and that quirk is what saves us in a quirks-mode-but-otherwise-unmodified variant of mw22's testcase here.)

Anyway -- Bug 793007 has a description of the layout bug & a simple testcase.

It's likely the extent of the problem here, so this bug can probably be resolved once that bug is fixed.  (I spun it off as a separate bug just in case case that bug's fix doesn't end up completely resolving the original issue here.)
Summary: "Tap to play" flash paceholder is created lower then the correct position at kickstarter.com → "Tap to play" flash placeholder is created lower then the correct position at kickstarter.com
Summary: "Tap to play" flash placeholder is created lower then the correct position at kickstarter.com → "Tap to play" flash placeholder is created lower than the correct position at kickstarter.com
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
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

Created:
Updated:
Size: