Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12
-
None
Description
In QGis, which is using QT 5.12.8, I'm having an issue with rendering HTML with inline CSS.
This is a HTML snippet showing the problem:
<div style="font-size: 10px;"> <table> <tbody> <tr> <td>a</td> <td>1</td> </tr> <tr> <td>b</td> <td>2</td> </tr> </tbody> </table> </div>
I would expect the table content is using "font-size: 10px", but it isn't. When I apply a style to the table as well, then I get the result.
<div style="font-size: 10px;"> <table style="font-size: inherit;"> <tbody> <tr> <td>a</td> <td>1</td> </tr> <tr> <td>b</td> <td>2</td> </tr> </tbody> </table> </div>
I'm not a QT user, so I assume the WebEngine is doing the rendering.
The QGis project says it is a upstream problem, I hope I found the right place here. If not or if more information are needed, I'll doing my best to provide them.
Ticket in QGis issue tracker: https://github.com/qgis/QGIS/issues/44733