Skip to content

Conversation

@Gillibald
Copy link
Contributor

@Gillibald Gillibald commented Oct 2, 2025

What does the pull request do?

This PR explicitly sets FontWeight, FontStyle, and Background for Span inlines so these values are properly inherited by child inlines.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes: #19689

@Gillibald Gillibald added bug backport-candidate-11.3.x Consider this PR for backporting to 11.3 branch labels Oct 2, 2025
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 12.0.999-cibuild0059150-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

Copy link
Member

@MrJul MrJul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@MrJul MrJul added this pull request to the merge queue Oct 2, 2025
Merged via the queue into AvaloniaUI:master with commit 62054db Oct 2, 2025
11 checks passed
MrJul pushed a commit that referenced this pull request Oct 3, 2025
…ent (#19750)

* Make sure inlines properly inherit text run properties from their parent

* Adjust comment
@MrJul MrJul added backported-11.3.x and removed backport-candidate-11.3.x Consider this PR for backporting to 11.3 branch labels Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Text] Nested Span elements do not inherit their text properties

3 participants