Clarity on whether supported legacy name aliases are supported properties
Open
Nobody has claimed this yet.
css-cascade-4
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
- should
CSS.supports("word-wrap", "break-word")return true or false? - should
CSS.supports("(word-wrap: break-word)")return true or false? - should
"word-wrap" in window.getComputedStyle(document.documentElement)be true or false? - should
[...window.getComputedStyle(document.documentElement)].includes("word-wrap")be true or false?
IMO:
- all UAs say true, which falls out from "for string arguments"
- all UAs say true, which falls out from converting it "at parse time" (but we may want to be more explicit that we mean any property name parsing, because "at parse time" is kinda unclear as to what parse time)
- all UAs say true; but this I'm unsure about what the current specs imply: does "applies in the CSSOM [for] property accessors" effect the generation of WebIDL attributes?
- all UAs supporting
word-wrapas a legacy name alias say false; does this just fall out from the getter giving "longhand properties that are supported CSS properties", on the basis that they aren't supported properties (they're instead legacy name aliases)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the CSS Cascade 5 legacy name alias section and the CSSOM sections on supported CSS properties, property accessors, and CSSStyleDeclaration iteration. Compare the four listed CSS.supports, property-access, and iteration cases with current browser behavior and specification wording. Done means resolving the intended behavior and clarifying the relevant normative text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100