If this is really a 10.6 bug, wouldn't it be safer to put the quirk inside the test for the Opera version number? Otherwise approved!

On 10/23/10 7:26 AM, Henry Minsky wrote:
Change hqm-20101023-fKj by [email protected] on 2010-10-23 10:20:14 EDT
     in /Users/hqm/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for Opera DHTML clipping bug

New Features:

Bugs Fixed: LPP-9469

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:

Lzpix app was not clipping content to the canvas area in Opera/DHTML

Details:

The quirk 'container_divs_require_overflow' seems to be needed for
Opera to make clipping work properly, at least with Opera 10.6.

This seems like a regression, but I'm not sure when it happened, or if
moving from Opera 9 to Opera 10 was the cause.

I think this might be an Opera bug, I found several references on
Google saying that "overflow-x: hidden" and "overflow-y: hidden" were
not sufficient in Opera, and that "overflow: hidden" was needed to get
clipping to work properly.


Tests:

+ run lzpix app in Opera / DHTML

   
http://localhost:8080/trunk-clean/demos/lzpix/app.lzx?lzoptions=runtime(dhtml)%2Cusemastersprite(false)%2Cdebug(true)%2Cproxied(true)

You should see that the slider control is not visible hanging out to
the right of the app visible area.



Files:
M       WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101023-fKj.tar

Reply via email to