linebender / linebender/parley
Support `::first-letter` and `::first-line` pseudo styles
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 736
- Forks
- 120
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
These pseudo-elements allow different styles to be applied to the first letter or first line of a layout.
- The first letter is the first grapheme along with surrounding punctutation.
- The first line is the first line according to line-breaking
See: https://drafts.csswg.org/css-pseudo/#typographic-pseudos
Contributor guide
No contributing guide indexed for this repository
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 CSS Pseudo-Elements specification, focusing on the typographic pseudo-elements and their definitions of the first grapheme, surrounding punctuation, and line-breaking. Then inspect Parley’s existing style and layout handling; done means supporting distinct first-letter and first-line styles according to those rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100