8000 [cssom] getComputedStyle only supports ::before/::after · Issue #2149 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[cssom] getComputedStyle only supports ::before/::after #2149

@gsnedders

Description

@gsnedders

https://drafts.csswg.org/cssom/#extensions-to-the-window-interface

Roughly, from what I've tested:

  • Chrome, Firefox, and Safari all support gCS ::first-letter and ::first-line.
  • Firefox throws NS_ERROR_NOT_AVAILABLE for ::marker (and doesn't support ::marker AFAIK), Chrome doesn't support it so returns the element, and Safari does support ::marker and does support it for gCS
  • Firefox supports gCS ::placeholder, Chrome and Safari does not (despite supporting the feature)

Is there any reason not to allow all pseudo-elements for gCS?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0