W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: CSS3-box: margin-outside and the cascade

From: fantasai <fantasai@escape.com>
Date: Tue, 20 Aug 2002 20:54:53 -0400
Message-ID: <3D62E4DD.36761C39@escape.com>
To: www-style@w3.org

Ian Hickson wrote:
> 
> This is a known error in the spec. Assume the margin-outside and -inside
> properties have a new value like "defer" (which is their initial value). The
> margin is then established by looking first at the appropriate margin-outside/
> -inside, and if that is "defer" then the appropriate -before/-after/-start/-end,
> and if that is "defer" then the appropriate -top/-right/-bottom/-left.


ua.css -

  ul {
    margin-start: 2em;
  }

author.css -

  ul {
    margin-left: 4em;
  }

list.html -

  <title>A List</title>
  <link type="text/css" rel="stylesheet" href="author.css">
  <ul>
     <li>apples
     <li>milk
     <li>bread
     <li>peanut butter
  </ul>


Reasonable case, no? The author is going to be a bit surprised at the
result, though.

~fantasai
Received on Tuesday, 20 August 2002 20:51:23 GMT

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