[Webkit-unassigned] [Bug 77681] New: Non-matching substring attribute selectors match when generating contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 13:42:11 PST 2012


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

           Summary: Non-matching substring attribute selectors match when
                    generating contents
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://jsbin.com/uvesad/14
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jens at meiert.com
                CC: dglazkov at chromium.org


Created an attachment (id=125180)
 --> (https://bugs.webkit.org/attachment.cgi?id=125180&action=review)
Screenshot of jsbin.com test case

Issue observed in Chrome 16.0.912.77 on Mac OS 10.6.8. Not reproducible in earlier WebKit builds (e.g. Safari 5.1.2).

Selectors like “[href$='foo/']:before” in conjunction with “content” declaration generate contents for all elements carrying @href, not just the ones actually matching the selector.

Example: http://jsbin.com/uvesad/14
Source: http://jsbin.com/uvesad/14/edit
Preview: <Screen shot 2012-02-02 at 1.38.04 PM.png>


(FYI: was forced to set a “Version”. Not sure 528+ is accurate.)

-- 
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