This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This is actually a reappearance of bug 5891. The following code would trigger the warning: <link rel="stylesheet" href="style.css" type="text/css" media="all" /> <style type="text/css" media="print"> font-size: small; </style> No warning should be raised because the external stylesheet does contain some styles that apply to "all". This case is not taken into account in the definition of the "css" variable in StyleSheetsUseTest.xsl [Note the second part that checks for STYLE_SHEETS_USE-4 in external stylesheets is good, the warning should be raised whenever an external stylesheet is downloaded for nothing]
- Call to empty($css/*) was incorrect as $css is defined as a mere string. Replaced with: string-length(normalize-space($css)) eq 0 - Definition of $css completed to include styles defined in external stylesheets that apply to "handheld" or "all". StyleSheetsUseTest/15 test added to the test suite as a regression test.