W3C home > Mailing lists > Public > www-style@w3.org > April 2005

[css2.1] what happens to anonymous boxes after events?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 20 Apr 2005 23:13:31 +0200
Message-ID: <4266C5FB.5020808@annevankesteren.nl>
To: W3C CSS List <www-style@w3.org>

For example:

  foo{display:table-cell}
  foo:hover{display:block}

... attached to this document:

  <bar xmlns="tag:example.org,2005-05-20:#bar-ns">
   <foo>...</foo>
  </bar>

Without the :hover event this would give the following tree (including 
the anonymous boxes):

  <bar>
   <'table'>
    <'table-row'>
     <foo>

Now what happens when you hover the FOO element? I see two options:

  <bar>
   <foo>

... or:

  <bar>
   <'table'>
    <'table-row'>
     <'table-cell'>
      <foo>

... did I miss something or is this undefined? Should CSS2.1 define this?


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Wednesday, 20 April 2005 21:13:27 GMT

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