ISSUE-298: With reference to Eduardo's point about linked stylesheets, http://lists.w3.org/Archives/Public/public-bpwg/2009May/0011.html, we need to review in the light of an earlier decision on images and possibly aslo in light of a recursion problem with link rel=

With reference to Eduardo's point about linked stylesheets, http://lists.w3.org/Archives/Public/public-bpwg/2009May/0011.html, we need to review in the light of an earlier decision on images and possibly aslo in light of a recursion problem with link rel=

State:
CLOSED
Product:
Guidelines for Web Content Transformation Proxies
Raised by:
Eduardo Casais
Opened on:
2009-05-12
Description:
What happens when style sheets include other style sheets?
Related Actions Items:
Related emails:
  1. [minutes] BPWG Teleconference 2009-08-25 (from fd@w3.org on 2009-08-25)
  2. [minutes] Tuesday 30 June 2009 teleconf (from fd@w3.org on 2009-06-30)
  3. RE: ACTION-982: style sheets (from jrabin@mtld.mobi on 2009-06-22)
  4. ACTION-982: style sheets (from casays@yahoo.com on 2009-06-19)
  5. [minutes] Tuesday 16 June 2009 Teleconf (from fd@w3.org on 2009-06-16)
  6. Re: [agenda] BPWG Teleconferece 2009-06-16 (from casays@yahoo.com on 2009-06-15)
  7. Re: [minutes] 12 May 2009 Teleconference (from passani@eunet.no on 2009-05-13)
  8. Re: [minutes] 12 May 2009 Teleconference (from tom.hume@futureplatforms.com on 2009-05-12)
  9. [minutes] 12 May 2009 Teleconference (from fd@w3.org on 2009-05-12)

Related notes:

From the CSS standard, section 6.3, the @import rule:

The ’@import’ rule allows users to import style rules from other style sheets.
[...]
The ’@import’ keyword must be followed by the URI of the style sheet to include.
[...]
So that user agents can avoid retrieving resources for unsupported media types [p. 77], authors may specify media-dependent @import rules. These conditional imports specify comma-separated media types after the URI.
Example(s):
The following rules have the same effect as if the imported style sheet were wrapped in an @media rule for the same media, but it may save the UA a fruitless
download.
@import url("fineprint.css") print;
@import url("bluish.css") projection, tv;
In the absence of any media types, the import is unconditional. Specifying ’all’
for the medium has the same effect.

Conclusion: linked references in external style sheets do have an implicit or explicit media type associated with them. Hence it appears feasible to enforce the rule that style sheets _explicitly_ marked as "handheld" must be transmitted transparently (CT proxies must check for the associated media type). The mechanism is dependent on (X)HTML (i.e. the link element) and CSS itself (i.e. the @import clause). There is no assumption on HTTP (presence of no-transform or otherwise).

Whether style sheets marked as "all" implicitly or explicitly should be handled in the same way remains an open question to be dealt with in relation with the link alternate discussion.

Eduardo Casais, 12 May 2009, 14:56:24

Display change log ATOM feed


Jo Rabin <jo@linguafranca.org>, Daniel Appelquist <daniel.appelquist@vodafone.com>, Chairs, Dominique Hazaël-Massieux <dom@w3.org>, François Daoust <fd@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 298.html,v 1.1 2011/01/10 15:19:48 dom Exp $