Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101665

QTextDocument can not print certain html element.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.2, 6.2.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      if QTextDocument's html contain html link elment , the whole page can not render to printer

       

      if 

      <link href="" rel="stylesheet"> 

      in the html body .the entire html can not rendered in printer.

      result in a whole blank page.

      move the link into the html head section. can eliminated this problem.

      see attached example.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              johnlayt John Layt
              Reporter:
              xiaoyifang yifang xiao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes