- From: Nadya678 via GitHub <sysbot+gh@w3.org>
- Date: Mon, 22 Jan 2018 12:21:26 +0000
- To: public-css-archive@w3.org
> It's unclear about what most of the CSS properties would mean on a text-node, though, right? Specially non-inheriting ones.
Works it like ::after and ::before.
```
::text
{
display:block;
border:2px solid red;
}
```
will be shown identically like:
```
::before
{
content:"the node text";
display:block;
border:2px solid red;
}
```
I think it is the easiest solution.
--
GitHub Notification of comment by Nadya678
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-359408159 using your GitHub account
Received on Monday, 22 January 2018 12:21:32 UTC