#960 ✓ staged
Rick

Image plugin might load too late and hide its content

Reported by Rick | March 8th, 2012 @ 11:47 AM | in 1.2 (closed)

As described in IRC...

[11:43 AM] <rwaldron> I'm embedding an image at start: 0
[11:43 AM] <rwaldron> so _setup gets called and start:0 are supposed to be called _immediately_
[11:43 AM] <rwaldron> in _setup there is a load event handler
[11:43 AM] <rwaldron> which could occur _after_ start
[11:44 AM] <rwaldron> in that load handler...
[11:44 AM] <rwaldron> options.anchor.style.display = "none";
[11:44 AM] <rwaldron> so start has fired and displayed the image container
[11:44 AM] <rwaldron> (sorry, i changed link to anchor)
[11:44 AM] <rwaldron> "".link() is something in DOM
[11:45 AM] <rwaldron> so, the load handler executes too late and re-hides the anchor
[11:45 AM] <rwaldron> which has the image as a child

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins

Pages