зеркало из https://github.com/mozilla/gecko-dev.git
73 строки
3.8 KiB
HTML
73 строки
3.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<title>test of border-image-source: linear-gradient with border-image-slice</title>
|
|
<style>
|
|
table { margin: 0; padding: 0; border-spacing: 0; empty-cells: show; }
|
|
td { padding: 0; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<col style="width: 30px">
|
|
<col style="width: 180px">
|
|
<col style="width: 30px">
|
|
<tr style="height: 30px">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
|
|
<td></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
|
|
</tr>
|
|
<tr style="height: 180px">
|
|
<td></td>
|
|
<td style="background: white"></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr style="height: 30px">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
|
|
<td></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:30px 30px;"></td>
|
|
</tr>
|
|
</table>
|
|
<table>
|
|
<col style="width: 30.0px;">
|
|
<col style="width: 180.0px;">
|
|
<col style="width: 30.0px;">
|
|
<tr style="height: 30.0px;">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: 0px 0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -210.0px -0.0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -570.0px 0px;"></td>
|
|
</tr>
|
|
<tr style="height: 180.0px;">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -0.0px -210.0px;"></td>
|
|
<td style="background-image: white;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -570.0px -210.0px;"></td>
|
|
</tr>
|
|
<tr style="height: 30.0px;">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: 0px -570.0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -210.0px -570.0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size: 600.0px 600.0px; background-position: -570.0px -570.0px;"></td>
|
|
</tr>
|
|
</table>
|
|
<table>
|
|
<col style="width: 30px">
|
|
<col style="width: 180px">
|
|
<col style="width: 30px">
|
|
<tr style="height: 30px">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px 0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -30px 0px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px 0px;"></td>
|
|
</tr>
|
|
<tr style="height: 180px">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px -30px;"></td>
|
|
<td style="background: white"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px -30px;"></td>
|
|
</tr>
|
|
<tr style="height: 30px">
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: 0px -210px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -30px -210px;"></td>
|
|
<td style="background-image: linear-gradient(to bottom right, red, blue); background-size:240px 240px; background-position: -210px -210px;"></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|