Skip to content
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

Image not respecting height percentage #58

Open
MaxwellDAssistek opened this issue Nov 7, 2024 · 0 comments
Open

Image not respecting height percentage #58

MaxwellDAssistek opened this issue Nov 7, 2024 · 0 comments

Comments

@MaxwellDAssistek
Copy link

I noticed that if I set the height of an image element to 100% it does not actually respect the parent's height.

It seems like this function is lacking height percentage handling:

https://github.com/AvaloniaUI/Avalonia.HtmlRenderer/blob/master/Source/HtmlRenderer/Core/Dom/CssLayoutEngine.cs#L31

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

No branches or pull requests

1 participant