- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Oct 2019 10:54:03 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [cssom] getComputedStyle for ::before::marker or ::after::marker == From https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle, the signature is ```js getComputedStyle(elt, pseudoElt) ``` where `pseudoElt` is parsed as a `<pseudo-element-selector>`. For example, `::before` or `::marker` are `<pseudo-element-selector>`s. However, https://drafts.csswg.org/css-pseudo-4/#marker-pseudo allows `::before::marker` and `::after::marker` in stylesheets. These are not a single `<pseudo-element-selector>`, but it seems useful for authors to expose their styles via `getComputedStyle`. So maybe we could allow one of these: ```js getComputedStyle(elt, "::before::marker") getComputedStyle(elt, "::before", "::marker") ``` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4456 using your GitHub account
Received on Monday, 28 October 2019 10:54:05 UTC