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

QWebElement needs a geometries()/equivalent to getClientRects

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • WebKit
    • None

      I'm missing a geometries() method for a QWebElement which returns multiple rectangles, e.g. when a link has been wrapped over the page border.

      See https://developer.mozilla.org/en-US/docs/Web/API/element.getClientRects for examples.

      My use case is automatically clicking a link - with geometry() however I'll only get the bounding rect, and I don't know where there the link actually is.

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

            annulen Konstantin Tokarev
            the compiler Florian Bruhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes