W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re[12]: css with attribues

From: Dmitry Turin <sql4-en@narod.ru>
Date: Wed, 16 Jan 2008 10:08:00 +0200
Message-ID: <1597947203.20080116100800@narod.ru>
To: www-style@w3.org


>> CSS properties should be assignable directly to HTML tags as attributes
CP> I believe it is a bad idea

Faiths is little, arguments are necessary.

CP> it is up to the markup language anyhow,
CP> so www-style is probably the wrong list for this

Name of topic is "css with attribues",
i.e. writing of attributes as properties
(not only writing properties as attributes).

CP> several CSS property names are already taken as attribute names in HTML using
CP> (slightly) different values (e.g. |width| has dimensionless pixels),
CP> often varying among element types.

Property 'width' and attribute @width have indentical destination.
Where is problem ?

>> "style" attribute would be redundant.
CP>    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:css="http://
CP> www.w3.org/2008/css">
CP>    <div css:float="left" css:width="20em">

  are redundant too.

<div float="left" width="20em">

Single reason to use namespace is
to use _two tags with identical names_,
but with different actions.

Dmitry Turin
SQL5      (5.9.1)  http://sql50.euro.ru
HTML6     (6.5.1)  http://html60.euro.ru
Unicode7  (7.2.1)  http://unicode70.euro.ru
Computer2 (2.0.2)  http://computer20.euro.ru
Received on Wednesday, 16 January 2008 08:07:09 UTC

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