Upstream HTML Rendering section's monkey patches to CSS
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
See https://github.com/whatwg/html/pull/5462#issuecomment-616443377
HTML special-cases handling of the 'line-height' property for the input element, for web compat. To make it more discoverable for implementers, it would be good to specify this in the definition of the 'line-height' property directly. Though maybe HTML can still say which elements exercise the special behavior.
There's more stuff like this in HTML. For example the margin collapsing quirk, fieldset's layout model, ignoring 'overflow' on marquee, to name a few.
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
Start with the linked WHATWG HTML pull-request comment and compare the cited rendering sections for line-height, margin collapsing, fieldset layout, and marquee overflow. Determine which HTML rendering quirks should be specified in CSS property definitions and which element-specific behavior should remain in HTML; completion is a documented resolution for the proposed upstreaming scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100