public class PopupImplMozilla extends PopupImpl
PopupPanel
.
This implementation is identical to the implementation provided by
PopupImpl
in the case where
Mozilla is NOT running on the Mac.
A different implemention is provided for the Mac in order to prevent
scrollbars underneath the PopupPanel from being rendered on top of the
PopupPanel (issue #410). Unfortunately, the solution that fixes this problem
for the Mac causes a problem with dragging a
DialogBox
on Linux. While dragging the
DialogBox (especially diagonally), it jitters significantly.
We did not introduce a deferred binding rule for Mozilla on the Mac because this is the first instance in which we have a Mozilla-related bug fix which does not work on all platforms.
This implementation can be simplified in the event that the jittering problem on Linux is fixed, or the scrollbar rendering problem on the Mac is fixed.
Constructor and Description |
---|
PopupImplMozilla() |
Modifier and Type | Method and Description |
---|---|
Element |
createElement() |
Element |
getContainerElement(Element outerElem) |
Element |
getStyleElement(Element outerElem) |
void |
setClip(Element popup,
String rect) |
public Element createElement()
createElement
in class PopupImpl
public Element getContainerElement(Element outerElem)
getContainerElement
in class PopupImpl
public Element getStyleElement(Element outerElem)
getStyleElement
in class PopupImpl
Copyright © 2018. All rights reserved.