w3c / w3c/csswg-drafts

[cssom] style attr declarations undefined

Open
#7,940 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cssom-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

https://w3c.github.io/csswg-drafts/cssom/#the-elementcssinlinestyle-mixin

The style attribute must return a CSS declaration block object whose computed flag is unset, whose parent CSS rule is null, and whose owner node is the context object.

This doesn't actually say what the declarations of the CSS declaration block are, and the definition of CSS declaration block doesn't give any default value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced CSSOM section, especially the style attribute and CSS declaration block definitions. Determine what declarations or default value the specification should define; the issue is done when that behavior is stated unambiguously in the relevant specification text.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.