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

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 UTC