https://bugzilla.wikimedia.org/show_bug.cgi?id=61936

--- Comment #1 from Tisza Gergő <gti...@wikimedia.org> ---
jQuery's .hide().show() results in an inline display:block style in Firefox (in
Chrome it is the correct display:inline). Looking at the source code, when the
element is first hidden, Firefox gets the computed display style for the
element, stores it as a data attribute and restores as an inline style when
unhidden. Apparently, in this case "block" is stored instead of inline. Somehow
related to hiding the element when it is not in the DOM (so jQuery cannot store
data on it); switching the order of append and hide fixes it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to