Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.6.3
-
None
-
Reproduced on windows
-
ab2f4ef8f (dev)
Description
If HTML is set on a QTextDocument such as this: <img src="./test.png" width="50%" />
the image disappears. This can be worked around by supplying a pixel width - e.g. <img src="./test.png" width="50" />
or by specifying a pixel height and percentage width for scaling.
The image should be scaled horizontally even in no height is supplied.
Attachments
Issue Links
- duplicates
-
QTBUG-4504 In HTML if the width/height is set to be a percentage for an image then it will be disregrarded
-
- Closed
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-12283 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554130,12 | QTextDocument: Add support for responsive images | dev | qt/qtbase | Status: MERGED | +2 | 0 |