-
-
Notifications
You must be signed in to change notification settings - Fork 911
Open
Labels
<img>Issues with the <img> tagIssues with the <img> tagbugSomething isn't workingSomething isn't workingcssEnhancements/issues with css propertiesEnhancements/issues with css properties
Milestone
Description
I also encountered a similar issue. It seems that there is an issue with rendering images when the width or height CSS properties are applied to the image tags. A is displayed correctly, but B does not appear at all.
I tested using Flutter 3.10.1 and flutter_html: ^3.0.0-beta.1, and I conducted the testing on the web platform.
A (it works)
Html(
data: """
<html>
<p>Render this item</p>
<img src="https://storage.googleapis.com/cms-storage-bucket/90e34daecca082eb9b28.png" title="test">
</html>
""",)
B (it doesn't work)
Html(
data: """
<html>
<p>Render this item</p>
<img src="https://storage.googleapis.com/cms-storage-bucket/90e34daecca082eb9b28.png" title="test" style="width:100%;">
</html>
""",)
Originally posted by @ckdgus08 in #1212 (comment)
lucasdidur, dante-cervantes-rocketlab, rashe18 and vickyGeo
Metadata
Metadata
Assignees
Labels
<img>Issues with the <img> tagIssues with the <img> tagbugSomething isn't workingSomething isn't workingcssEnhancements/issues with css propertiesEnhancements/issues with css properties
Projects
Status
Todo