Bug Tracker

Modify

Ticket #8946 (closed bug: invalid)

Opened 2 years ago

Last modified 2 years ago

FadeIn is not working while fading in "details" element with HTML content

Reported by: zygimantas@… Owned by:
Priority: low Milestone: 1.next
Component: effects Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:

Description

Demonstration is here:  http://jsbin.com/okosa3/2

Change History

comment:1 Changed 2 years ago by anonymous

Even more simplified example:  http://jsbin.com/okosa3/4

comment:2 Changed 2 years ago by zygimantas@…

Details in inline element in HTML5. Maybe it is expected result. Please delete the ticket in this case.

comment:3 Changed 2 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to effects

The spec for the details tag has changed fairly recently and will soon be implemented as a dropdown widget in all browsers supporting HTML5.

comment:4 follow-up: ↓ 5 Changed 2 years ago by rwaldron

I'm getting the correct, expected behaviour - which browser are you having issues in (just for record)?

comment:5 in reply to: ↑ 4 Changed 2 years ago by zygimantas@…

Replying to rwaldron:

I'm getting the correct, expected behaviour - which browser are you having issues in (just for record)?

I have been seeing this behavior in Safari 5.0.5 and Firefox 4. I have found, that these browsers understand "details" element as inline (according to specs, it should be display:block). After adding details{display:block} to CSS, the problem is solved.

As I understand, it is not jQuery problems, it is browsers' fault they think new HTML5 elements are inline.

comment:6 Changed 2 years ago by ajpiano

Yeah, a big part of Using HTML5 Now is to make sure to set new elements to be block in your css reset or whatnot.

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.