-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement clip for
BrowsingContext.captureScreenshot
(#1212)
This PR also temporarily removes support for non-top-level contexts as this is current unsupported.
- Loading branch information
1 parent
af698bb
commit b17379f
Showing
14 changed files
with
242 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,5 @@ wptreport*.json | |
.nyc_output* | ||
.wireit/ | ||
MANIFEST.json | ||
*.png | ||
coverage/ | ||
*.cddl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
...hromedriver/headless/webdriver/tests/bidi/browsing_context/capture_screenshot/clip.py.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
[clip.py] | ||
[test_clip_element] | ||
expected: FAIL | ||
|
||
[test_clip_element_with_scroll_into_view] | ||
expected: FAIL | ||
|
||
[test_clip_viewport] | ||
expected: FAIL | ||
|
||
[test_clip_viewport_scroll_to] | ||
expected: FAIL |
3 changes: 3 additions & 0 deletions
3
...romedriver/headless/webdriver/tests/bidi/browsing_context/capture_screenshot/frame.py.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[frame.py] | ||
[test_iframe] | ||
expected: FAIL |
3 changes: 0 additions & 3 deletions
3
...medriver/headless/webdriver/tests/bidi/browsing_context/capture_screenshot/invalid.py.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.