Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6198 closed bug (worksforme)

combined selector with live() in opera

Reported by: walidaly Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc: masryalex@…
Blocked by: Blocking:

Description

$('a[req], :submit[req], li[req]').live('click', function(){ alert( $(this).attr('req') ); });

Error: CSS HTML style attribute Unknown pseudo class Line 1: a[req], :submit[req], li[req]

Attachments (1)

Capture-6198.PNG (28.1 KB) - added by dmethvin 10 years ago.
Capture of Opera console showing a *warning*.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 10 years ago by dmethvin

Component: unfiledselector
Resolution: worksforme
Status: newclosed

This is the Opera version of #4774. Opera's querySelectorAll is being verbose and generating a *warning* to the console, not an error. Avoiding the error would mean avoiding querySelectorAll, which would be a huge performance hit.

Changed 10 years ago by dmethvin

Attachment: Capture-6198.PNG added

Capture of Opera console showing a *warning*.

Note: See TracTickets for help on using tickets.