gecko-dev/browser
Paolo Amadini fd72a1cb37 Bug 1392340 - Height jumps when opening subviews of different lengths. r=Gijs
The height of the subview being opened was supposedly calculated using an off-screen container independent from the currently displayed views, but this didn't work as expected because of the incorrect box alignment. This is now fixed and the correct minimum and maximum heights are set on the container separately, also preventing the current view from flickering before the transition in case the subview was taller.

With this issue fixed, the height can now be recalculated each time the subview is opened, without the caching that caused incorrect results when the same view was reopened with different elements or text.

Jumping could also occur because of a border applied only during the transition, which could influence the subview height in the presence of wrapping text.

MozReview-Commit-ID: EWHs1hFKXT4

--HG--
extra : rebase_source : 5b0bc4e5d4d2d10d684c2c2bf94a9030aadd09bd
2017-11-28 16:53:42 +00:00
..
app Backed out 3 changesets (bug 1039069) for ESlint failures on browser/components/preferences/languages.js r=backout on a CLOSED TREE 2017-11-30 23:38:27 +02:00
base Bug 1392340 - Height jumps when opening subviews of different lengths. r=Gijs 2017-11-28 16:53:42 +00:00
branding Bug 1416968 - Fix path to unbreak --enable-official-branding build. r=m_kato 2017-11-13 23:38:50 -08:00
components Bug 1392340 - Height jumps when opening subviews of different lengths. r=Gijs 2017-11-28 16:53:42 +00:00
config Bug 1419793 - Add a debug fuzzing build to taskcluster. r=aobreja 2017-11-22 11:31:31 -05:00
docs Bug 1388902 remove socialapi share, r=florian 2017-08-16 08:54:21 -07:00
experiments Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop 2017-11-28 19:21:33 +00:00
extensions Merge inbound to mozilla-central r=merge a=merge 2017-12-01 00:22:25 +02:00
fonts
installer Bug 1420355 - Statically link DMD. r=njn 2017-11-28 08:10:48 +09:00
locales Backed out 3 changesets (bug 1039069) for ESlint failures on browser/components/preferences/languages.js r=backout on a CLOSED TREE 2017-11-30 23:38:27 +02:00
modules Merge inbound to mozilla-central r=merge a=merge on a CLOSED TREE 2017-11-30 00:41:09 +02:00
themes Bug 1421705 - remove unused aboutSocialError.css file, r=mixedpuppy 2017-11-29 17:44:05 +00:00
tools/mozscreenshots Bug 1419840 - Draws rectangles for elements rather than the union of the selected regions. r=jaws. 2017-11-26 12:39:55 -05:00
.eslintrc.js
app-rules.mk
app.mozbuild
build.mk
confvars.sh Bug 1415206 - Remove RustURL from Gecko r=bagder 2017-11-07 17:11:08 +01:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1415742 - Move channel-prefs.js installation to moz.build. r=nalexander,ted 2017-11-09 11:39:27 -08:00
moz.configure