Re: [csswg-drafts] [css-overflow] text-overflow and anonymous blocks

Nice catch.

I agree both with your characterization of the problem, and with your proposed solution.

For completeness's sake, I've also checked a variant of your earlier test: 
```html
<div id="test1">abcdefghijklmoqrstuvwxyz</div>
<div id="test2">
  <div>-</div>
  <div>abcdefghijklmoqrstuvwxyz</div>
</div>
<div id="test3">
  <div>-</div>
  abcdefghijklmoqrstuvwxyz
</div>
```
```css
#test1, #test2, #test3 {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 50px;
}
#test1::before {
  content: "-";
  display: block;
}
```

As expected, test3 behaves the same as test1.

So we have multiple passing implementations of this clarification.


Agenda+ to tentatively resolve on that.

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

Received on Friday, 20 April 2018 01:47:30 UTC