Ticket #2527977 (checkedin defect)

Reporter


Wim Leers
Opened: 06/17/09
Last modified: 05/15/10
Status: checkedin
Type: defect

Owner


Adam Moore
Target Release:
Priority: P3 (normal)
Summary: Suffix attribute selector + pseudo selector makes YUI Compressor crash
Description:

Title says it all. See the test information for details.

Type: defect Observed in Version: 2.4.2
Component: YUICompressor Severity: S2 (high)
Assigned To: Adam Moore Target Release:
Location: Priority: P3 (normal)
Tags: css Relates To:
Browsers: N/A
URL:
Test Information:

Try to run the YUI compressor with either of these lines of CSS:
a[href$=".rss"]:visited {}
or
a[href^="http:"]:visited, a[href$=".rss"] {}
but these do work:
a[href^="http:"]:visited {}
or
a[href^="http:"]:visited, a[href^=".rss"] {}

So I think it's a combination of the [attr$=""] (suffix attribute) selector of CSS 3 and any pseudo selector. But whether they are in the same CSS selector or not doesn't matter.

Change History

George

YUI Developer

Posted: 09/23/09

George

YUI Developer

Posted: 01/30/10

Stoyan Stefanov

YUI Developer

Posted: 05/15/10
  • priority changed to P3 (normal)
  • status changed from assigned to checkedin

Fixed in Git, thanks for the report