[Webkit-unassigned] [Bug 38499] New: css paged media :first pseudo-selector conflicts with sizzlejs / jquery

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 3 17:27:02 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38499

           Summary: css paged media :first pseudo-selector conflicts with
                    sizzlejs / jquery
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: visnupx at gmail.com


r58385 introduced support for css paged media and the pseudo-selectors :left,
:right, and :first. unfortunately, sizzlejs already uses the :first
pseudo-selector to mean different semantics. sizzlejs is used in the jquery and
dojo javascript libraries, which are extensively used on the web. in
particular, sizzlejs assumes that browsers will throw an error when passed
":first" as a token to document.querySelectorAll [1].

I'm not sure who to file the bug against: sizzle or webkit. I'll file another
bug against sizzle. if anything, expected behavior for webkit could be to still
throw an exception if the :first pseudo-selector is found outside of an @page
rule context.

[1] http://github.com/jeresig/sizzle/blob/master/sizzle.js#L920

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list