Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.7.1, 5.15.14, 6.5.2
-
None
Description
Create QTextEdit.
Paste this html code to it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head></head> <body dir="rtl"> <table border="1"> <tr> <td>ab cd</td> <td>ef gh</td> </tr> <tr> <td>ij kl</td> <td>mn op</td> </tr> </table> </body></html>
The table cells are RTL, but the table itself is aligned to the right.
I also tried applying dir="rtl" or style="direction: rtl" to the table tag, but it doesn't help.
Attachments
Issue Links
- is cloned by
-
QTBUG-99498 Html tables rendered with QTextTable or QTextDocument doesn't respect the layout/text direction
- Reported