Skip to content

Implement parsing of select CSS declarations#188

Draft
afishhh wants to merge 8 commits into
masterfrom
css-parsing
Draft

Implement parsing of select CSS declarations#188
afishhh wants to merge 8 commits into
masterfrom
css-parsing

Conversation

@afishhh

@afishhh afishhh commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Incredibly WIP.
Stacked on top of #187 and a commit implementing images in the layout engine (yet to be PR-ed).

Switches layout test class definitions to parsing CSS declarations too.
Does not implement selectors (so still no WebVTT STYLE blocks for now).

TODO:

  • Whatever TODOs are within the new code
  • Split out csssyn as a separate crate, move out Parse{Stream,Error} (can be deferred as future work)
  • Clean up tokenizer (it is part of ancient code I resurrected for this)
  • Possibly other things

afishhh added 8 commits July 20, 2026 21:25
Make final inline layout operate on differently-typed items.
This allows us to re-use the shaped items for multiple layout attempts
and means new information can be added to items before layout without
needing to assert its presence later.
TODO: split out csssyn addition into separate commit?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant