RESOLVED DUPLICATE of bug 7162177681
Non-matching substring attribute selectors match when generating contents
https://bugs.webkit.org/show_bug.cgi?id=77681
Summary Non-matching substring attribute selectors match when generating contents
Jens O. Meiert
Reported 2012-02-02 13:42:11 PST
Created attachment 125180 [details] 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.)
Attachments
Screenshot of jsbin.com test case (63.79 KB, image/png)
2012-02-02 13:42 PST, Jens O. Meiert
no flags
Dimitri Glazkov (Google)
Comment 1 2012-02-02 13:43:48 PST
looks like a recent regression?
Philippe Wittenbergh
Comment 2 2012-02-02 21:30:54 PST
Looks like a duplicate of bug 71621
Brent Fulgham
Comment 3 2022-07-12 16:35:52 PDT
Duping to bug with an active test case. *** This bug has been marked as a duplicate of bug 71621 ***
Note You need to log in before you can comment on or make changes to this bug.