W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: CSS 2.1 WD and non-CSS presentational hints

From: Vadim Plessky <lucy-ples@mtu-net.ru>
Date: Thu, 15 Aug 2002 10:34:44 +0400
To: www-style@w3.org
Message-Id: <200208151034.44992.lucy-ples@mtu-net.ru>

On Wednesday 14 August 2002 4:08 am, Coises wrote:
|  [Tue, 13 Aug 2002 09:22:17 -0400] L. David Baron:
|  There is a good reason for this distinction.  When an *element* implies
|  presentation, it is easy to control the way it is handled in a style
| sheet: one needs only a simple selector to reference it, and the standard
| presentation is fixed.  If one wishes to write a user style sheet that
| forces all elements to normal weight *except* for B and STRONG, it's easy:
| * {font-weight: normal}
|       B, STRONG {font-weight: bold}
|  But referencing an attribute with an arbitrary value is generally not
|  possible in CSS 2/2.1.  How would you accomplish this (invalid syntax):
|       BODY {color: navy}
|       BODY[TEXT]  {color: attr(TEXT)}
|  in CSS 2.1?  As far as I can tell, there is no way to do such a thing,
|  except by relying on the cascade to cause <BODY TEXT=...> to overrule the
|  (first, valid) user style sheet rule --- which is exactly what I'm
|  complaining would no longer be possible given the proposed change.

   body {color: navy}
   p, H1 { color: inherit }


Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
KDE mini-Themes
Received on Thursday, 15 August 2002 02:28:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:03 UTC