[csswg-drafts] [css-selectors-3] sibling and ::after selector in one

Nadya678 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-selectors-3] sibling and ::after selector in one ==
HTML:
```
<form>
<input type="text" />
</form>
```
Styles:
```
form::after
{
   display:block;
   content:"Should you see me?";
   visibility:visible;
}
form input:focus + ::after 
{
   display:none;
}
```
Is it legal due to current specification?
Shall be visible the ::after pseudoelement after focusing the input?
The current behaviour of Cr, IE and FF is correct?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2094 using your GitHub account

Received on Friday, 8 December 2017 04:34:30 UTC