mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
New features for golden tests (for web): * Height/width of headless browser instance extracted to constants * Remove border from the host iframe * Added 'region' to matchGoldenFile, so screenshots can capture only a subset of the viewport * Added image-format-awareness (png) to screenshot comparison, so it doesn't only look at raw bytes * When a test fails, output a diff image alongside the unexpected output.
9 lines
64 B
CSS
9 lines
64 B
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
iframe {
|
|
border: none;
|
|
}
|