[css-content-3] two leaders around center aligned content
Nobody has claimed this yet.
- 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
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 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