Open jlbruno opened 12 years ago
This would need to fixed in the various selector engines - lots of them fall back to querySelectorAll, which I guess is the cause of this bug. I'd be interested to know if this issue exists in NWMatcher. I'll do some testing.
Looks like it's a bug in IE8's CSS rendering, which can be seen here: http://jsfiddle.net/jlbruno/LF4dv/1/
Running querySelectorAll on th[rowspan] on the HTML in that fiddle does seen to return all the th's as you expected: http://jsfiddle.net/jlbruno/LF4dv/4/
jQuery does return the same result: http://jsfiddle.net/jlbruno/LF4dv/5/
Just didn't know if this was the sort of thing that Selectivizr would be able to address? If the selector engines are falling back to querySelectorAll for that query, is there a way for selectivizr to work around that, or should I open a bug with Sizzle?
Hey,
IE8 has a bug where using the rowspan or colspan attribute selector on a
<th>
or<td>
will apply to ALL the<th>
or<td>
elements...ex:
th[rowspan]
will apply to ALL<th>
in IE8.http://jhop.me/ie8-bugs#tdtrattributematch
Any chance this is something that selectivizr would be able to fix?