mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-07 08:40:59 +00:00
The default canvas size is 300x150 pixels. If the element or document we are trying to screenshot for the WebDriver is not at least that size, then we will create a canvas that is wider or taller than the actual element we are painting, resulting in a bunch of transparent pixels falling off the end. This fixes 14 WPT css/CSS2/floats tests that we run in CI, and presumably a ton of other reftests in the WPT test suite. |
||
|---|---|---|
| .. | ||
| Capabilities.cpp | ||
| Capabilities.h | ||
| Client.cpp | ||
| Client.h | ||
| Contexts.cpp | ||
| Contexts.h | ||
| ElementLocationStrategies.cpp | ||
| ElementLocationStrategies.h | ||
| Error.cpp | ||
| Error.h | ||
| ExecuteScript.cpp | ||
| ExecuteScript.h | ||
| Response.cpp | ||
| Response.h | ||
| Screenshot.cpp | ||
| Screenshot.h | ||
| TimeoutsConfiguration.cpp | ||
| TimeoutsConfiguration.h | ||