- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 10 May 2017 20:24:40 +0000
- To: public-css-archive@w3.org
As @Loirooriol points out, it definitely has an observable effect, and is straightforward to define. Basically, the following two bits of markup:
```css
<div><span>Foo</span>Bar</div>
```
and
```css
<div>Bar</div>
<style>div::before { content: "Foo"; }</style>
```
...should be completely indistinguishable as far as CSS is concerned. There is no reason for the two to diverge in any way.
*That said*, I also wouldn't be too sad if we defined that it didn't work. It's just inconsistent and breaks a constant that has nicely applied to ::before and ::after previously.
--
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1345#issuecomment-300601904 using your GitHub account
Received on Wednesday, 10 May 2017 20:24:46 UTC