Ticket #6324 (closed bug: invalid)
Sizzle reports link containing img is hidden in Webkit
|Reported by:||jeffkretz||Owned by:||jeffkretz|
|Keywords:||sizzle hidden webkit||Cc:|
This appears to be a bug releated to the Webkit rendering engine, as it exists in both Chrome and Safari.
Example page: http://test1.scorpiondesign.com/Visibility.html
Visited in IE678 and FF, it is detected as visible. In Safari/Chrome, it is not.
This is due to an underlying problem during the Sizzle.selectors.filters.hidden method, the elem.offsetWidth and elem.offsetHeight of the link is reported by the browser as 0, despite the contained image having dimensions.
It seems a bit ugly to test for this edge case, but I wanted to make sure it was known about.
- Owner set to jeffkretz
- Priority set to undecided
- Status changed from new to pending