W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: Nadya678 via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Dec 2017 04:34:19 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-280368065-1512707659-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC