This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 5894 - StyleSheetsUse does not take into account media type attribute
Summary: StyleSheetsUse does not take into account media type attribute
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Miguel Garcia
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-23 10:35 UTC by Abel Rionda
Modified: 2008-07-23 11:36 UTC (History)
0 users

See Also:


Attachments

Description Abel Rionda 2008-07-23 10:35:16 UTC
- StyleSheetsUse is applied on style elements 
restricted to a media type different from "handheld" or "all" via the 
media attribute.
   see test STYLE_SHEETS_USE 10
   In short, the following (stupid) code should not trigger any WARN 
IMO, because the style is already restricted via the media attribute:
    <style type="text/css" media="tv">@media tv { body { color: red; } 
}</style>

This also applies to linked stylesheets.