Re: [csswg-drafts] [css-ui] consider requiring that descendants do not contribute to outline

Here's a case that is less interoperable, but probably not as important from a Web compatibility perspective:

http://mcc.id.au/temp/inline-outline.html

```html
<!DOCTYPE html>
<style>
span { outline: 2px solid orange; }
span > div { outline: 2px dashed black; }
</style>
<div>here is some text <span>with <div>an<br> outlined</div> span</span> that wraps</div>
```

Edge and Chrome agree here and just render an orange outline around the two inline fragments of the span.  Safari only renders an orange outline around the first fragment.  Firefox renders orange outlines around both inline span fragments as well as the anonymous block that contains the child div.

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

Received on Friday, 29 June 2018 04:57:49 UTC