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

Re[16]: css with attribues

From: Dmitry Turin <sql4-en@narod.ru>
Date: Wed, 16 Jan 2008 17:20:45 +0200
Message-ID: <8233913046.20080116172045@narod.ru>
To: www-style@w3.org

David,

>> (a) Other variant is to create cas-file (file with only attributes),
>> and to put
>> <link href="a.css" type="text/css">
>> <link href="a.cas" type="text/cas">
DD> Making this an entirely different language would be a more reasonable
DD> approach.

User gets benefit (unnecessary to keep separation in brain),
machine gets loss (necessity to update tree by attributes from css).
Total: benefits of user is more important, than uncomfort of machine.

>> But man will be still duty to remember,
>> what characteristic is for CAS ('attribute' in old terms),
>> and what characteristic is for CSS ('property' in old terms).
DD> That's no different from today

Yes, today is bad.
  Possibility to put some characteristics into comman file (css-file) is good,
but order to make this - is bad: any characteristics can be not only common,
but unique for concrete set of documents (redundant 'style=').
  Possibility to put some characteristics directly in document is good,
but order to make this - is bad: any characteristics can be not only unique,
but common for concrete set of documents (this topic in www-style@w3.org).

  Author must make line between unique and common (depending of own site).
Now some people obtrude (impose) line.
  
>>     Robot will download 1 css-file in addition to 100 html-files
>> of each site. What are you economize !!
DD> I don't see a great many attributes duplicated across pages

Size of CAS will be less, than size of CCS.
But CAS
1) economize human efforts
2) stricturize thinking.

>>>> non-realtime UA can parse after downloading of csas-file.
>> DD> That still means they have to built an in memory DOM tree and  
>> modify it based on the stylesheet.
>> Yes, and what ?
DD> This makes them harder to write,
+
DD> require more memory and CPU time

See first answer.

DD> slower,

Not actual for non-realtime UA.



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 15:21:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:57 GMT