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

QTextDocument can not print certain html element.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.15.2, 6.2.3
    • None

      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.

        1. untitled.7z
          4 kB
          yifang xiao
        2. image-2022-03-12-23-40-19-503.png
          3 kB
          yifang xiao
        3. image-2022-03-12-23-42-23-544.png
          6 kB
          yifang xiao
        4. screenshot-1.png
          62 kB
          yifang xiao
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes