w3c / w3c/csswg-drafts

[css-content-3] two leaders around center aligned content

Open
#4,548 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-content-3
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

https://www.w3.org/TR/css-content-3/#leaders

In issue 9, it is asked if leaders depends of assumption that next content is right-aligned. We could also ask if it is possible to use center-aligned content between two leaders, by example:

h3::before, h3::after {
content: leader('.');
}

h3 {
text-align: center;
}

<h3>MyTitle</h3>

and we will obtain a full line rendered as (with same length of left and right leaders):

...................MyTitle...................

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

Read the CSS Content 3 leaders section linked in the issue and review the referenced issue 9. Use the centered h3 example to determine whether two leaders around centered content are intended to be supported and what behavior the specification should define. Done means an agreed resolution is recorded for the specification question.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.