W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > April to June 2012

UAWG action 729 re: stylesheet defn

From: Richards, Jan <jrichards@ocadu.ca>
Date: Fri, 25 May 2012 15:22:19 +0000
To: WAI-ua <w3c-wai-ua@w3.org>
Message-ID: <0B1EB1C972BCB740B522ACBCD5F48DEB03AA727B@ocadmail-maildb.ocad.ca>
On the last call, I took an action to "Write definition of stylesheet." (https://www.w3.org/WAI/UA/tracker/actions/729)

In doing so, I noticed some existing older definitions that perhaps could be used if they were made more clear...and also some opportunities to simplify the SCs we are working on. So I propose:

1.7.1 Support User Style Sheets: If the user agent supports an *author style sheet* mechanism, then *user style sheets* are also supported. (Level A)

1.7.2 Scope of User Style Sheets: The user can turn on the use of *user style sheets* so that they are applied to any of the following: (Level A)
    (a) the current page, and
    (b) all pages on specified web sites, and
    (c) all pages.

1.7.3 Author Style Sheet Toggle: The user can turn off any *author style sheet* for both of the following: (Level A)
    (a) the current page; and
    (b) all pages that reference the style sheet.

1.7.4 Save Author Style Sheets: The user can save *author style sheets* to modify them for use as *user style sheets*. (Level AA)

Style Properties:
Properties whose values determine the presentation (e.g., font, color, size, location, padding, volume, synthesized speech prosody) of content elements as they are rendered (e.g. onscreen, via loudspeaker, via braille display) by user agents. Style properties can have several origins:
*user agent default styles*: The default style property values applied in the absence of any author or user styles. Some *web content technologies* specify a default rendering; others do not.
*author styles*: Style property values that are set by the author as part of the content (e.g., in-line styles, author style sheets).
*user styles*: Style property values that are set by the user of a user agent (e.g., via user agent interface settings, user style sheets).

Style Sheets:
A mechanism for communicating *style property* settings for web content, in which the style property settings are separate from other information and properties conveyed by the content (e.g., structural markup). Style sheet *web content technologies* include Cascading Style Sheets (CSS) and Extensible Stylesheet Language (XSL).

CURRENT SC wordings http://www.w3.org/WAI/UA/2012/ED-UAAG20-20120517/#gl-style-sheets-config) - NOTE: some words appear to be missing:

Older Existing defns:
author styles:
Style property values that are set by the author as part of the content.

properties, values, and defaults:
A user agent renders a document by applying formatting algorithms and style information to the document's elements. Formatting depends on a number of factors, including where the document is rendered (e.g. on screen, on paper, through loudspeakers, on a braille display, on a mobile device). Style information (e.g. fonts, colors, synthesized speech prosody) may come from the elements themselves (e.g. certain font and phrase elements in HTML), from style sheets, or from user agent settings. For the purposes of these guidelines, each formatting or style option is governed by a property and each property may take one value from a set of legal values. Generally in UAAG 2.0, the term "property" has the meaning defined in CSS 2 ([CSS2], section 3). A reference to "styles" in UAAG 2.0 means a set of style-related properties. The value given to a property by a user agent at installation is the property's default value.

user agent default styles:
User agent default styles are style property values applied in the absence of any author or user styles. Some markup languages specify a default rendering for content in that markup language; others do not. For example, XML 1.0 [XML] does not specify default styles for XML documents. HTML 4 [HTML4] does not specify default styles for HTML documents, but the CSS 2 [CSS2] specification suggests a sample default style sheet for HTML 4 based on current practice.

user styles
User styles are style property values that come from user interface settings, user style sheets, or other user interactions.


T 416 977 6000 x3957
F 416 977 9844
E jrichards@ocadu.ca

Twitter @OCAD
Facebook www.facebook.com/OCADUniversity 

205 Richmond Street West, 2nd Floor, Toronto, Canada  M5V 1V3
Received on Friday, 25 May 2012 15:26:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:41 UTC