[Prev][Next][Index][Thread]

NON-DELIVERY of: Re: null-values for css-properties?



You solution assumes that the author has perfect knowledge
about the style sheets that are used, and that they will not
change. I think it is important to allow the author to disable
certain properties/values WITHOUT him/her having complete
knowledge about the environment.

This problem becomes evident when you try to design a
word processor style GUI for HTML authoring software
supporting CSS... ;>)

Regards,

Jonas


----------
From: Hakon Lie <howcome@w3.org>
To: Jonas Salling <salling@cooper.xanthus.se>
Cc: www-style@w3.org
Subject: null-values for css-properties?
Date: Monday, May 26, 1997 6:47 PM

Jonas Salling writes:

 > It seems to me that the CSS1 specification lacks a good
 > mechanism for disabling non-numeric properties like
 > text-decoration.
 >=20
 > Let me give you an example, just to show what I mean
 > by "disabling":
 >=20
 >=20
 > P { text-decoration: underline blink; }
 >=20
 > <P>I want this paragraph to be rendered according to
 > my style sheet except for the last two words, where
 > I don't want the <SPAN style: text-decoration: there
 > is no no-blink value!!!>blink property</SPAN>.</P>

Since the various values of properties don't inherit independently,
you could say:

  P { text-decoration: underline blink }
  SPAN { text-decoration: underline }

  <P>I want this paragraph to be rendered according to
  my style sheet except for the last two words, where
  I don't want the <SPAN>blink property</SPAN>.</P>

The fact that underline is not set on the SPAN element means it will
not blink.

Regards,

-h&kon

H   =E5   k   o   n      W   i   u   m       L   i   e
howcome@w3.org   W o r l d   Wide  W e b  Consortium
inria =A7=B0=FE#=A1=AA FRANCE http://www.w3.org/people/howcome
----------

(See attached file: RFC822.TXT)
FailureReason: MailEx0105: Unable to deliver message to cc:Mail.
IntendedRecipient: salling@cooper.xanthus.se at INTERNET@CCMAIL,howcome@w3.org a

Received: from www19.w3.org by PO.VRINET.COM (SMTPLINK V2.11 PreRelease 4)
    ; Mon, 26 May 97 13:33:24 EST
Return-Path: <www-style-request@w3.org>
Received: by www19.w3.org (8.8.5/8.6.12) id NAA10159; Mon, 26 May 1997 13:07:13 -0400 (EDT)
Resent-Date: Mon, 26 May 1997 13:07:13 -0400 (EDT)
Resent-Message-Id: <199705261707.NAA10159@www19.w3.org>
X-Authentication-Warning: www10.w3.org: Host mimer.upnet.se [193.219.197.150] claimed to be upnet.se
Message-Id: <97May26.181600gmt-0100.28693-1@mimer.upnet.se>
From: "Jonas Salling" <salling@cooper.xanthus.se>
To: "Jonas Salling" <salling@cooper.xanthus.se>, "Hakon Lie" <howcome@w3.org>
Cc: <www-style@w3.org>
Subject: Re: null-values for css-properties?
Date: Mon, 26 May 1997 15:58:28 -0100
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-List-URL: http://www.w3.org/pub/WWW/Archives/Public/www-style/
Resent-From: www-style@w3.org
X-Mailing-List: <www-style@w3.org> archive/latest/2300
X-Loop: www-style@w3.org
Sender: www-style-request@w3.org
Resent-Sender: www-style-request@w3.org
Precedence: list
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by www19.w3.org id NAA10159