Skip to content

Support for text-decoration CSS properties #391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 12, 2025
Merged

Support for text-decoration CSS properties #391

merged 2 commits into from
Mar 12, 2025

Conversation

tordex
Copy link
Member

@tordex tordex commented Mar 12, 2025

Supported properties:

  • text-decoration (as shorthand for other text-decoration properties)
  • text-decoration-color
  • text-decoration-line
  • text-decoration-style
  • text-decoration-thickness

Changes in the container::create_font:
litehtml::uint_ptr create_font(const font_description& descr, const document* doc, litehtml::font_metrics* fm);

All font parameters are moved to the font_description structure.

NiuGuohui and others added 2 commits March 10, 2025 01:42
Supported properties:
* text-decoration (as shorthand for other text-decoration properties)
* text-decoration-color
* text-decoration-line
* text-decoration-style
* text-decoration-thickness

Changes in the container::create_font:
```litehtml::uint_ptr create_font(const font_description& descr, const document* doc, litehtml::font_metrics* fm);```

All font parameters are moved to the ```font_description``` structure.
@tordex tordex merged commit 23751c1 into master Mar 12, 2025
1 check passed
@tordex tordex deleted the text-decoration branch April 20, 2025 21:38
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.

2 participants