Bug #11345 » 0003-Fix-lost-scrollbar-w-WStackedWidget-and-no-layout.patch
| src/js/WStackedWidget.js | ||
|---|---|---|
|
to.style.left = "";
|
||
|
to.style.width = "";
|
||
|
to.style.top = "";
|
||
|
if (!stack.lh) { // stack has no layout-set height
|
||
|
if (!to.lh) { // child has no layout-set height (by itself)
|
||
|
to.style.height = "";
|
||
|
}
|
||
|
} else {
|
||
|
if (stack.lh || (typeof stack.lh == 'undefined' && stack.style.height !== "")) { // stack has set height
|
||
|
to.lh = true; // height was set before animation
|
||
|
} else if (!to.lh) { // child has no layout-set height (by itself)
|
||
|
to.style.height = "";
|
||
|
}
|
||
|
if (WT.isGecko && (effects & Fade)) {
|
||
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »