#1185 new
Filippo Buratti

CSS selector IE7 problem with header HTML5 element

Reported by Filippo Buratti | December 16th, 2010 @ 03:00 PM

the problem occurs on the browser Internet Explorer version 6/7 only with the element HTML5 "header":

// well use http://html5shiv.googlecode.com/svn/trunk/html5.js

// <header id="myheader">some content</header>
$$("header h2 a").invoke(blabla); // don't work
$$("#myheader h2 a").invoke(blabla); // work

//<nav>some content</nav><nav>some content</nav>"; 
// nav arent inside header #myheader
$$("nav").invoke("hide"); works at all
$$("header nav").invoke(blabla); // don't work
$$("#myheader nav").invoke(blabla); // work

better solution is to use current nwmatcher instead of sizzle, and all the selectors of the examples above work

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins