Skip to content

[cssom-1] CSSStyleDeclaration.getPropertyPriority() for resolved values #9421

Closed
@cdoublev

Description

@cdoublev

https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-getpropertypriority

Should it return empty string when the computed flag is set, like in Chrome/FF (at least)?

<style>#target { color: red !important }</style>
<script>
  getComputedStyle(target).getPropertyPriority('color') // ''
</script>

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