w3c / w3c/csswg-drafts

[css-flexbox-1] Drop justify-content from affecting static-position of abspos within flexbox.

Open
#7,644 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

From: https://github.com/w3c/csswg-drafts/issues/7596

The above issue resolved that align-content wont affect the static-position of abspos children within a flexbox.

This issue tracks the same change for justify-content. Currently all browsers support this behaviour.
I've added a use-counter in Blink to determine how web compatible this change would be.

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 linked CSSWG issue 7596 and the CSS Flexbox specification’s rules for the static position of absolutely positioned flex children. Review the existing justify-content behavior and the reported browser support, including the Blink use-counter mentioned here. Done means the specification reflects the resolved behavior for justify-content without changing the separate align-content decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.