gecko-dev/testing/web-platform/tests/css/css-backgrounds/background-border-collapsed-gradient.html
Stephen Chenney 92eb62163b Bug 1513413 [wpt PR 14469] - Snap the snapped_dest_rect for backgrounds, a=testonly
Automatic update from web-platform-tests
Snap the snapped_dest_rect for backgrounds

For some reason the snapped_dest_rect for background image geometry
calculations was not actually snapped. Snapping it fixes cases where
we were not filling to the border without regressing any tests (in
fact improving some).

Probably fixes most of the background bugs resulting from the previous
big refactoring.

R=fmalita@chromium.org
BUG=912423,889426

Change-Id: Ieba65130e7f8c0e95db7375ab3a8188bfc78d8d5
Reviewed-on: https://chromium-review.googlesource.com/c/1372556
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616014}

--

wpt-commits: 6bbf5072ab0f8122c825901547265d88f8b02649
wpt-pr: 14469
2019-02-07 21:50:54 +00:00

22 lines
700 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Background Test: There should be no gap between border-collapsed backgrounds</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="help" href="http://www.w3.org/TR/css3-background">
<link rel="match" href="reference/background-border-collapsed-gradient-ref.html">
<style>
div {
background: linear-gradient(to bottom,#222,#666);
float: left;
padding: 32px;
color: white;
border-collapse: collapse;
}
</style>
</head>
<body>
<div style="height:18px;width:11.5625px;"></div>
<div style="height:18px;width:11.4375px;"></div>
</body>
</html>