Opened 10 years ago
Closed 10 years ago
#12894 closed bug (notabug)
show() on inline-block <span>
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Seems there's a bug on the show() method when applied on a span element that has css 'display:inline-block' property.
In that case somehow the span element remains hidden.
Here a reduced testcase. http://jsbin.com/orupof/11/edit
Change History (4)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
when calling show() on a off-the-dom element
- The CSS applies to the document where it resides.
- The element isn't yet in the document.
Why did you think the CSS would a apply to an element not yet in the document?
comment:3 Changed 10 years ago by
Status: | pending → new |
---|
Yes, right, so there's no way to handle this pb other than manually setting the css to inline-block. So I guess that's not a bug, but totally normal behaviour.
thanks
comment:4 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Another details, it's only reproducible when calling show() on a off-the-dom element, so here http://jsbin.com/orupof/12/edit, it works fine