Side navigation
#12894 closed bug (notabug)
Opened November 14, 2012 01:06PM UTC
Closed November 14, 2012 02:33PM UTC
show() on inline-block <span>
Reported by: | frediani.adrien@gmail.com | Owned by: | frediani.adrien@gmail.com |
---|---|---|---|
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.
Attachments (0)
Change History (4)
Changed November 14, 2012 01:12PM UTC by comment:1
Changed November 14, 2012 01:37PM UTC by comment:2
owner: | → frediani.adrien@gmail.com |
---|---|
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?
Changed November 14, 2012 01:56PM UTC by comment:3
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
Changed November 14, 2012 02:33PM UTC by comment:4
resolution: | → notabug |
---|---|
status: | new → closed |
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