- From: rthrejheytjyrtj545 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 Jun 2023 00:05:47 +0000
- To: public-css-archive@w3.org
rthrejheytjyrtj545 has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-pseudo] [css-content] [css-lists] Does the properties applied to elements apply to ::marker? ==
Considering the following:
> The contents of the marker box are determined as defined by the content property, *exactly as for ::before* — [[CSS-LISTS]](//drafts.csswg.org/css-lists#content-property)
> `contents`: *The element’s descendants* [...] Check to see that it is not set on *a "previous"* pseudo-element, in the following order, depth first: the element itself, ::before, ::after — [[CSS-CONTENT]](//drafts.csswg.org/css-content-3#element-content)
And:
```html
<style>
li {content: none;
&::marker {content: contents}}
</style>
<ul>
<li><p>
</ul>
```
Will what is mentioned in the title be true?
---
Also, what will happen in this case?
```css
li {content: none;
&::before {content: contents;
&::marker {content: contents}}}
```
Will there be no duplication of elements here (which the specification is clearly trying to avoid)?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8894 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 June 2023 00:05:49 UTC