Re: [csswg-drafts] [css-sizing] width: fill needs clarifications

> what does width: fill do that box-sizing:border-box; width: 100%; 
doesn't?

I believe they're different, for example if you have a margin on the 
element:
```html
  <div style="width: 200px;">`
    <div style="margin-left: -50px;`>item</div>`
  </div>
```

If you use `width: 100%;` on the item, it'll have a size of 200px. 
However if you use `width: fill;` it'd be 250px.
The same happens if the margin is positive `margin-left: 50px;` the 
size would be 200px (`100%`) or 150px (`fill`).

-- 
GitHub Notification of comment by mrego
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/317#issuecomment-232256788 
using your GitHub account

Received on Wednesday, 13 July 2016 05:00:17 UTC