mirror of
https://github.com/servo/servo.git
synced 2025-06-29 11:33:39 +01:00
Respect CSS border-image-width. Properly support gradients as a border-image-source. Only emit a border item if the border-width is non-zero for simple borders but still emit one if the item is an image as paint worklet that are not drawn cause servo to hang and fail tests. Add a new test and mark 4 more as passing.
16 lines
367 B
HTML
16 lines
367 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>border-image with different widths</title>
|
|
<style>
|
|
#ref {
|
|
width: 360px;
|
|
height: 240px;
|
|
border-style: solid;
|
|
border-width: 40px 40px 20px 0px;
|
|
border-image-source: url("support/border.png");
|
|
border-image-slice: 27;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="ref"></div>
|
|
</body>
|