mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
This fixes the visual artifacts seen at the top of wikipedia pages by: - Setting clipping rect to avoid images going outside their bounds. - Handling case of background-position being >= 100% such that wrapping is required. However, the gradient is not currently visible on wikipedia. This relies on bug #1997 being fixed.
18 lines
336 B
HTML
18 lines
336 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
body {
|
|
margin: 0;
|
|
}
|
|
div {
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
</html>
|