Re: 'role' should be property

Good day, all.

---CSS as brackets

I proceed from other division:
grouped values (they are specified in css) and
un-grouped values (they are specified in attributes of each tag).

I pass arithmetic analogue to clarify: it's worse to calculate
  a*b + a*c + a*d + a*e + a*f
than to calculate
  a*(b+c+d+e+f)

It's worse to write values many times

  <... class="a" role="x">
  <... class="a" role="x">
  <... class="a" role="x">

  <... class="b" role="y">
  <... class="b" role="y">
  <... class="b" role="y">


than to add value into css

  <... class="a">
  <... class="a">
  <... class="a">

  <... class="b">
  <... class="b">
  <... class="b">

  .a {
    ...
    ...
    ...
    role: x;
  }

  .b {
    ...
    ...
    ...
    role: y;
  }

TB> I strongly believe they [roles] must appear in the *markup*
TB> I'm a believer that ... web sites remain accessible without stylesheets
DG> in order to understand semantics of an HTML document,
DG> you'll need to parse the stylesheet.

<style> inside <html> is alike brackets.
No any external resources.


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru

Received on Thursday, 31 May 2007 08:01:33 UTC