Bug 226134

Summary: [GTK][WPE] imported/w3c/webdriver/tests/take_element_screenshot/iframe.py::test_frame_element is failing
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bburg, bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 166679, 216899    

Lauro Moura
Reported 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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.