Bug 226134 - [GTK][WPE] imported/w3c/webdriver/tests/take_element_screenshot/iframe.py::test_frame_element is failing
Summary: [GTK][WPE] imported/w3c/webdriver/tests/take_element_screenshot/iframe.py::te...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: gtk-webdriver wpe-webdriver
  Show dependency treegraph
 
Reported: 2021-05-21 21:51 PDT by Lauro Moura
Modified: 2021-05-21 21:53 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2021-05-21 21:51:48 PDT
imported/w3c/webdriver/tests/take_element_screenshot/iframe.py::test_frame_element

This test draws a regular div as reference and the same div inside a borderless iframe, expecting both to be rendered equal.

In both WPE/GTK MiniBrowser, both the reference and test case render the same.

In the webdriver test, the iframe screenshot is offset in both x/y directions by 8 pixels.

Looks like some issue converting between the element and frame rects to the client rect.