joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

Stencil control not working in Firefox 12+? #122

Closed sljones closed 11 years ago

sljones commented 11 years ago

It appears that the Stencil control is not working correctly in Firefox 12+. Links present on the first page of a component are rendered correctly, but links on subsequent pages do not render and are not functional.

Is this related to the "serious Firefox 12 bug in paginating content" that was fixed in the 2.3.1 core?

ggreve commented 11 years ago

More specifically, links on subsequent pages render the boxes for page 2n-1. Thus page 1 appears correct, but page 2 has the boxes for page 3; page 3 has the boxes for page 5, and so on. Everything works fine in Chrome.

I hope you get a chance to look into it. Thank you!

ggreve commented 11 years ago

Removing the code (line 81-4?): // BROWSERHACK: Gecko doesn't subtract translations from GBCR values. if (Monocle.Browser.is.Gecko) { offset.l = 0; } seems to have solved for problem for FF12. Is this going to cause other problems, perhaps with other versions of FF? I'm new to github and everything so forgive me if I'm unhelpful.

joseph commented 11 years ago

Thanks for looking into this. Is this still a problem for you with Monocle 3? I haven't observed stencil problems in the Firefox alpha releases.

ggreve commented 11 years ago

Monocle 3 seems to work great for me. Thanks. I'm excited for a full release...