Bug 1170052 part 4: Add reftests for object-fit/object-position on XUL <image> element (as modified copies of existing <img> tests). (test-only)

--HG--
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8-noSize.svg => layout/reftests/xul/colors-16x8-noSize.svg
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8-parDefault.svg => layout/reftests/xul/colors-16x8-parDefault.svg
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8.png => layout/reftests/xul/colors-16x8.png
rename : layout/reftests/w3c-css/submitted/images3/support/colors-16x8.svg => layout/reftests/xul/colors-16x8.svg
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16-noSize.svg => layout/reftests/xul/colors-8x16-noSize.svg
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16-parDefault.svg => layout/reftests/xul/colors-8x16-parDefault.svg
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.png => layout/reftests/xul/colors-8x16.png
rename : layout/reftests/w3c-css/submitted/images3/support/colors-8x16.svg => layout/reftests/xul/colors-8x16.svg
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001-ref.html => layout/reftests/xul/object-fit-contain-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-001i.html => layout/reftests/xul/object-fit-contain-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002-ref.html => layout/reftests/xul/object-fit-contain-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-png-002i.html => layout/reftests/xul/object-fit-contain-png-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-001-ref.html => layout/reftests/xul/object-fit-contain-svg-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-001i.html => layout/reftests/xul/object-fit-contain-svg-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-002-ref.html => layout/reftests/xul/object-fit-contain-svg-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-002i.html => layout/reftests/xul/object-fit-contain-svg-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-003-ref.html => layout/reftests/xul/object-fit-contain-svg-003-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-003i.html => layout/reftests/xul/object-fit-contain-svg-003.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-004-ref.html => layout/reftests/xul/object-fit-contain-svg-004-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-004i.html => layout/reftests/xul/object-fit-contain-svg-004.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-005-ref.html => layout/reftests/xul/object-fit-contain-svg-005-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-005i.html => layout/reftests/xul/object-fit-contain-svg-005.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-006-ref.html => layout/reftests/xul/object-fit-contain-svg-006-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-contain-svg-006i.html => layout/reftests/xul/object-fit-contain-svg-006.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001-ref.html => layout/reftests/xul/object-fit-cover-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-001i.html => layout/reftests/xul/object-fit-cover-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002-ref.html => layout/reftests/xul/object-fit-cover-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-png-002i.html => layout/reftests/xul/object-fit-cover-png-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-001-ref.html => layout/reftests/xul/object-fit-cover-svg-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-001i.html => layout/reftests/xul/object-fit-cover-svg-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-002-ref.html => layout/reftests/xul/object-fit-cover-svg-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-002i.html => layout/reftests/xul/object-fit-cover-svg-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-003-ref.html => layout/reftests/xul/object-fit-cover-svg-003-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-003i.html => layout/reftests/xul/object-fit-cover-svg-003.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-004-ref.html => layout/reftests/xul/object-fit-cover-svg-004-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-004i.html => layout/reftests/xul/object-fit-cover-svg-004.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-005-ref.html => layout/reftests/xul/object-fit-cover-svg-005-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-005i.html => layout/reftests/xul/object-fit-cover-svg-005.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-006-ref.html => layout/reftests/xul/object-fit-cover-svg-006-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-cover-svg-006i.html => layout/reftests/xul/object-fit-cover-svg-006.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001-ref.html => layout/reftests/xul/object-fit-fill-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-001i.html => layout/reftests/xul/object-fit-fill-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002-ref.html => layout/reftests/xul/object-fit-fill-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-png-002i.html => layout/reftests/xul/object-fit-fill-png-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-001-ref.html => layout/reftests/xul/object-fit-fill-svg-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-001i.html => layout/reftests/xul/object-fit-fill-svg-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-002-ref.html => layout/reftests/xul/object-fit-fill-svg-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-002i.html => layout/reftests/xul/object-fit-fill-svg-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-003-ref.html => layout/reftests/xul/object-fit-fill-svg-003-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-003i.html => layout/reftests/xul/object-fit-fill-svg-003.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-004-ref.html => layout/reftests/xul/object-fit-fill-svg-004-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-004i.html => layout/reftests/xul/object-fit-fill-svg-004.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-005-ref.html => layout/reftests/xul/object-fit-fill-svg-005-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-005i.html => layout/reftests/xul/object-fit-fill-svg-005.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-006-ref.html => layout/reftests/xul/object-fit-fill-svg-006-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-fill-svg-006i.html => layout/reftests/xul/object-fit-fill-svg-006.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001-ref.html => layout/reftests/xul/object-fit-none-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-001i.html => layout/reftests/xul/object-fit-none-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002-ref.html => layout/reftests/xul/object-fit-none-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-png-002i.html => layout/reftests/xul/object-fit-none-png-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-001-ref.html => layout/reftests/xul/object-fit-none-svg-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-001i.html => layout/reftests/xul/object-fit-none-svg-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-002-ref.html => layout/reftests/xul/object-fit-none-svg-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-002i.html => layout/reftests/xul/object-fit-none-svg-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-003-ref.html => layout/reftests/xul/object-fit-none-svg-003-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-003i.html => layout/reftests/xul/object-fit-none-svg-003.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-004-ref.html => layout/reftests/xul/object-fit-none-svg-004-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-004i.html => layout/reftests/xul/object-fit-none-svg-004.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-005-ref.html => layout/reftests/xul/object-fit-none-svg-005-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-005i.html => layout/reftests/xul/object-fit-none-svg-005.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-006-ref.html => layout/reftests/xul/object-fit-none-svg-006-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-none-svg-006i.html => layout/reftests/xul/object-fit-none-svg-006.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001-ref.html => layout/reftests/xul/object-fit-scale-down-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-001i.html => layout/reftests/xul/object-fit-scale-down-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002-ref.html => layout/reftests/xul/object-fit-scale-down-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-png-002i.html => layout/reftests/xul/object-fit-scale-down-png-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-001-ref.html => layout/reftests/xul/object-fit-scale-down-svg-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-001i.html => layout/reftests/xul/object-fit-scale-down-svg-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-002-ref.html => layout/reftests/xul/object-fit-scale-down-svg-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-002i.html => layout/reftests/xul/object-fit-scale-down-svg-002.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-003-ref.html => layout/reftests/xul/object-fit-scale-down-svg-003-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-003i.html => layout/reftests/xul/object-fit-scale-down-svg-003.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-004-ref.html => layout/reftests/xul/object-fit-scale-down-svg-004-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-004i.html => layout/reftests/xul/object-fit-scale-down-svg-004.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-005-ref.html => layout/reftests/xul/object-fit-scale-down-svg-005-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-005i.html => layout/reftests/xul/object-fit-scale-down-svg-005.xul
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-006-ref.html => layout/reftests/xul/object-fit-scale-down-svg-006-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-fit-scale-down-svg-006i.html => layout/reftests/xul/object-fit-scale-down-svg-006.xul
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-001-ref.html => layout/reftests/xul/object-position-png-001-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-001i.html => layout/reftests/xul/object-position-png-001.xul
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-002-ref.html => layout/reftests/xul/object-position-png-002-ref.html
rename : layout/reftests/w3c-css/submitted/images3/object-position-png-002i.html => layout/reftests/xul/object-position-png-002.xul
This commit is contained in:
Daniel Holbert 2015-06-12 17:31:22 -07:00
Родитель ecfa1fce64
Коммит e6d79b161b
93 изменённых файлов: 6118 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file has an aspect-ratio (from its viewBox attribute),
but no intrinsic size.
-->
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 8">
<rect x="0" y="0" width="8px" height="4px" style="fill: blue"/>
<rect x="8" y="0" width="8px" height="4px" style="fill: black"/>
<rect x="0" y="4" width="8px" height="4px" style="fill: rgb(255,128,128)"/>
<rect x="8" y="4" width="8px" height="4px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 505 B

Просмотреть файл

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file has the default preserveAspectRatio (xMidyMid meet).
If it's rendered via e.g. a square <img> element with 'object-fit: fill',
the SVG will receive the <img>'s full content-box to use as its viewport.
But, importantly, its viewBox-region should NOT be stretched/squashed to
fill this viewport; instead, the viewBox will scale *proportionally* until
it *just* fits inside the viewport (the <img>), without overflowing, and
it'll be centered inside the viewport in whichever dimension has extra
space available. (This is what "xMidYMid meet" requires.)
-->
<svg xmlns="http://www.w3.org/2000/svg"
width="16" height="8" viewBox="0 0 16 8">
<rect x="0" y="0" width="8px" height="4px" style="fill: blue"/>
<rect x="8" y="0" width="8px" height="4px" style="fill: black"/>
<rect x="0" y="4" width="8px" height="4px" style="fill: rgb(255,128,128)"/>
<rect x="8" y="4" width="8px" height="4px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 1.0 KiB

Двоичные данные
layout/reftests/xul/colors-16x8.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 93 B

Просмотреть файл

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file is meant to mimic colors-8x16.png as closely
as possible. In particular, this SVG has:
(1) an intrinsic size (from the 'width' & 'height' attributes)
(2) preserveAspectRatio="none", allowing it to stretch in the
same way that a raster image would.
-->
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"
width="16" height="8" viewBox="0 0 16 8">
<rect x="0" y="0" width="8px" height="4px" style="fill: blue"/>
<rect x="8" y="0" width="8px" height="4px" style="fill: black"/>
<rect x="0" y="4" width="8px" height="4px" style="fill: rgb(255,128,128)"/>
<rect x="8" y="4" width="8px" height="4px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 751 B

Просмотреть файл

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file has an aspect-ratio (from its viewBox attribute),
but no intrinsic size.
-->
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 8 16">
<rect x="0" y="0" width="4px" height="8px" style="fill: blue"/>
<rect x="4" y="0" width="4px" height="8px" style="fill: black"/>
<rect x="0" y="8" width="4px" height="8px" style="fill: rgb(255,128,128)"/>
<rect x="4" y="8" width="4px" height="8px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 505 B

Просмотреть файл

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file has the default preserveAspectRatio (xMidyMid meet).
If it's rendered via e.g. a square <img> element with 'object-fit: fill',
the SVG will receive the <img>'s full content-box to use as its viewport.
But, importantly, its viewBox-region should NOT be stretched/squashed to
fill this viewport; instead, the viewBox will scale *proportionally* until
it *just* fits inside the viewport (the <img>), without overflowing, and
it'll be centered inside the viewport in whichever dimension has extra
space available. (This is what "xMidYMid meet" requires.)
-->
<svg xmlns="http://www.w3.org/2000/svg"
width="8" height="16" viewBox="0 0 8 16">
<rect x="0" y="0" width="4px" height="8px" style="fill: blue"/>
<rect x="4" y="0" width="4px" height="8px" style="fill: black"/>
<rect x="0" y="8" width="4px" height="8px" style="fill: rgb(255,128,128)"/>
<rect x="4" y="8" width="4px" height="8px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 1.0 KiB

Двоичные данные
layout/reftests/xul/colors-8x16.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 92 B

Просмотреть файл

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- This SVG file is meant to mimic colors-8x16.png as closely
as possible. In particular, this SVG has:
(1) an intrinsic size (from the 'width' & 'height' attributes)
(2) preserveAspectRatio="none", allowing it to stretch in the
same way that a raster image would.
-->
<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"
width="8" height="16" viewBox="0 0 8 16">
<rect x="0" y="0" width="4px" height="8px" style="fill: blue"/>
<rect x="4" y="0" width="4px" height="8px" style="fill: black"/>
<rect x="0" y="8" width="4px" height="8px" style="fill: rgb(255,128,128)"/>
<rect x="4" y="8" width="4px" height="8px" style="fill: lime"/>
</svg>

После

Ширина:  |  Высота:  |  Размер: 751 B

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.png");
background-size: contain;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.png" class="bigWide tr"/>
<image src="colors-16x8.png" class="bigWide bl"/>
<image src="colors-16x8.png" class="bigWide tl"/>
<image src="colors-16x8.png" class="bigWide br"/>
<image src="colors-16x8.png" class="bigWide tc"/>
<image src="colors-16x8.png" class="bigWide cr"/>
<image src="colors-16x8.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.png" class="bigTall tr"/>
<image src="colors-16x8.png" class="bigTall bl"/>
<image src="colors-16x8.png" class="bigTall tl"/>
<image src="colors-16x8.png" class="bigTall br"/>
<image src="colors-16x8.png" class="bigTall tc"/>
<image src="colors-16x8.png" class="bigTall cr"/>
<image src="colors-16x8.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.png" class="small tr"/>
<image src="colors-16x8.png" class="small bl"/>
<image src="colors-16x8.png" class="small tl"/>
<image src="colors-16x8.png" class="small br"/>
<image src="colors-16x8.png" class="small tc"/>
<image src="colors-16x8.png" class="small cr"/>
<image src="colors-16x8.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.png");
background-size: contain;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.png" class="bigWide tr"/>
<image src="colors-8x16.png" class="bigWide bl"/>
<image src="colors-8x16.png" class="bigWide tl"/>
<image src="colors-8x16.png" class="bigWide br"/>
<image src="colors-8x16.png" class="bigWide tc"/>
<image src="colors-8x16.png" class="bigWide cr"/>
<image src="colors-8x16.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.png" class="bigTall tr"/>
<image src="colors-8x16.png" class="bigTall bl"/>
<image src="colors-8x16.png" class="bigTall tl"/>
<image src="colors-8x16.png" class="bigTall br"/>
<image src="colors-8x16.png" class="bigTall tc"/>
<image src="colors-8x16.png" class="bigTall cr"/>
<image src="colors-8x16.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.png" class="small tr"/>
<image src="colors-8x16.png" class="small bl"/>
<image src="colors-8x16.png" class="small tl"/>
<image src="colors-8x16.png" class="small br"/>
<image src="colors-8x16.png" class="small tc"/>
<image src="colors-8x16.png" class="small cr"/>
<image src="colors-8x16.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.svg" class="bigWide tr"/>
<image src="colors-16x8.svg" class="bigWide bl"/>
<image src="colors-16x8.svg" class="bigWide tl"/>
<image src="colors-16x8.svg" class="bigWide br"/>
<image src="colors-16x8.svg" class="bigWide tc"/>
<image src="colors-16x8.svg" class="bigWide cr"/>
<image src="colors-16x8.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.svg" class="bigTall tr"/>
<image src="colors-16x8.svg" class="bigTall bl"/>
<image src="colors-16x8.svg" class="bigTall tl"/>
<image src="colors-16x8.svg" class="bigTall br"/>
<image src="colors-16x8.svg" class="bigTall tc"/>
<image src="colors-16x8.svg" class="bigTall cr"/>
<image src="colors-16x8.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.svg" class="small tr"/>
<image src="colors-16x8.svg" class="small bl"/>
<image src="colors-16x8.svg" class="small tl"/>
<image src="colors-16x8.svg" class="small br"/>
<image src="colors-16x8.svg" class="small tc"/>
<image src="colors-16x8.svg" class="small cr"/>
<image src="colors-16x8.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.svg" class="bigWide tr"/>
<image src="colors-8x16.svg" class="bigWide bl"/>
<image src="colors-8x16.svg" class="bigWide tl"/>
<image src="colors-8x16.svg" class="bigWide br"/>
<image src="colors-8x16.svg" class="bigWide tc"/>
<image src="colors-8x16.svg" class="bigWide cr"/>
<image src="colors-8x16.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.svg" class="bigTall tr"/>
<image src="colors-8x16.svg" class="bigTall bl"/>
<image src="colors-8x16.svg" class="bigTall tl"/>
<image src="colors-8x16.svg" class="bigTall br"/>
<image src="colors-8x16.svg" class="bigTall tc"/>
<image src="colors-8x16.svg" class="bigTall cr"/>
<image src="colors-8x16.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.svg" class="small tr"/>
<image src="colors-8x16.svg" class="small bl"/>
<image src="colors-8x16.svg" class="small tl"/>
<image src="colors-8x16.svg" class="small br"/>
<image src="colors-8x16.svg" class="small tc"/>
<image src="colors-8x16.svg" class="small cr"/>
<image src="colors-8x16.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-noSize.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-noSize.svg" class="bigWide tr"/>
<image src="colors-16x8-noSize.svg" class="bigWide bl"/>
<image src="colors-16x8-noSize.svg" class="bigWide tl"/>
<image src="colors-16x8-noSize.svg" class="bigWide br"/>
<image src="colors-16x8-noSize.svg" class="bigWide tc"/>
<image src="colors-16x8-noSize.svg" class="bigWide cr"/>
<image src="colors-16x8-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-noSize.svg" class="bigTall tr"/>
<image src="colors-16x8-noSize.svg" class="bigTall bl"/>
<image src="colors-16x8-noSize.svg" class="bigTall tl"/>
<image src="colors-16x8-noSize.svg" class="bigTall br"/>
<image src="colors-16x8-noSize.svg" class="bigTall tc"/>
<image src="colors-16x8-noSize.svg" class="bigTall cr"/>
<image src="colors-16x8-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-noSize.svg" class="small tr"/>
<image src="colors-16x8-noSize.svg" class="small bl"/>
<image src="colors-16x8-noSize.svg" class="small tl"/>
<image src="colors-16x8-noSize.svg" class="small br"/>
<image src="colors-16x8-noSize.svg" class="small tc"/>
<image src="colors-16x8-noSize.svg" class="small cr"/>
<image src="colors-16x8-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-noSize.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-noSize.svg" class="bigWide tr"/>
<image src="colors-8x16-noSize.svg" class="bigWide bl"/>
<image src="colors-8x16-noSize.svg" class="bigWide tl"/>
<image src="colors-8x16-noSize.svg" class="bigWide br"/>
<image src="colors-8x16-noSize.svg" class="bigWide tc"/>
<image src="colors-8x16-noSize.svg" class="bigWide cr"/>
<image src="colors-8x16-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-noSize.svg" class="bigTall tr"/>
<image src="colors-8x16-noSize.svg" class="bigTall bl"/>
<image src="colors-8x16-noSize.svg" class="bigTall tl"/>
<image src="colors-8x16-noSize.svg" class="bigTall br"/>
<image src="colors-8x16-noSize.svg" class="bigTall tc"/>
<image src="colors-8x16-noSize.svg" class="bigTall cr"/>
<image src="colors-8x16-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-noSize.svg" class="small tr"/>
<image src="colors-8x16-noSize.svg" class="small bl"/>
<image src="colors-8x16-noSize.svg" class="small tl"/>
<image src="colors-8x16-noSize.svg" class="small br"/>
<image src="colors-8x16-noSize.svg" class="small tc"/>
<image src="colors-8x16-noSize.svg" class="small cr"/>
<image src="colors-8x16-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-parDefault.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-parDefault.svg" class="bigWide tr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide bl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide br"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tc"/>
<image src="colors-16x8-parDefault.svg" class="bigWide cr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-parDefault.svg" class="bigTall tr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall bl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall br"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tc"/>
<image src="colors-16x8-parDefault.svg" class="bigTall cr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-parDefault.svg" class="small tr"/>
<image src="colors-16x8-parDefault.svg" class="small bl"/>
<image src="colors-16x8-parDefault.svg" class="small tl"/>
<image src="colors-16x8-parDefault.svg" class="small br"/>
<image src="colors-16x8-parDefault.svg" class="small tc"/>
<image src="colors-16x8-parDefault.svg" class="small cr"/>
<image src="colors-16x8-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-parDefault.svg");
background-size: contain;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: contain;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-parDefault.svg" class="bigWide tr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide bl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide br"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tc"/>
<image src="colors-8x16-parDefault.svg" class="bigWide cr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-parDefault.svg" class="bigTall tr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall bl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall br"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tc"/>
<image src="colors-8x16-parDefault.svg" class="bigTall cr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-parDefault.svg" class="small tr"/>
<image src="colors-8x16-parDefault.svg" class="small bl"/>
<image src="colors-8x16-parDefault.svg" class="small tl"/>
<image src="colors-8x16-parDefault.svg" class="small br"/>
<image src="colors-8x16-parDefault.svg" class="small tc"/>
<image src="colors-8x16-parDefault.svg" class="small cr"/>
<image src="colors-8x16-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.png");
background-size: cover;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.png" class="bigWide tr"/>
<image src="colors-16x8.png" class="bigWide bl"/>
<image src="colors-16x8.png" class="bigWide tl"/>
<image src="colors-16x8.png" class="bigWide br"/>
<image src="colors-16x8.png" class="bigWide tc"/>
<image src="colors-16x8.png" class="bigWide cr"/>
<image src="colors-16x8.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.png" class="bigTall tr"/>
<image src="colors-16x8.png" class="bigTall bl"/>
<image src="colors-16x8.png" class="bigTall tl"/>
<image src="colors-16x8.png" class="bigTall br"/>
<image src="colors-16x8.png" class="bigTall tc"/>
<image src="colors-16x8.png" class="bigTall cr"/>
<image src="colors-16x8.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.png" class="small tr"/>
<image src="colors-16x8.png" class="small bl"/>
<image src="colors-16x8.png" class="small tl"/>
<image src="colors-16x8.png" class="small br"/>
<image src="colors-16x8.png" class="small tc"/>
<image src="colors-16x8.png" class="small cr"/>
<image src="colors-16x8.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.png");
background-size: cover;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.png" class="bigWide tr"/>
<image src="colors-8x16.png" class="bigWide bl"/>
<image src="colors-8x16.png" class="bigWide tl"/>
<image src="colors-8x16.png" class="bigWide br"/>
<image src="colors-8x16.png" class="bigWide tc"/>
<image src="colors-8x16.png" class="bigWide cr"/>
<image src="colors-8x16.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.png" class="bigTall tr"/>
<image src="colors-8x16.png" class="bigTall bl"/>
<image src="colors-8x16.png" class="bigTall tl"/>
<image src="colors-8x16.png" class="bigTall br"/>
<image src="colors-8x16.png" class="bigTall tc"/>
<image src="colors-8x16.png" class="bigTall cr"/>
<image src="colors-8x16.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.png" class="small tr"/>
<image src="colors-8x16.png" class="small bl"/>
<image src="colors-8x16.png" class="small tl"/>
<image src="colors-8x16.png" class="small br"/>
<image src="colors-8x16.png" class="small tc"/>
<image src="colors-8x16.png" class="small cr"/>
<image src="colors-8x16.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.svg" class="bigWide tr"/>
<image src="colors-16x8.svg" class="bigWide bl"/>
<image src="colors-16x8.svg" class="bigWide tl"/>
<image src="colors-16x8.svg" class="bigWide br"/>
<image src="colors-16x8.svg" class="bigWide tc"/>
<image src="colors-16x8.svg" class="bigWide cr"/>
<image src="colors-16x8.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.svg" class="bigTall tr"/>
<image src="colors-16x8.svg" class="bigTall bl"/>
<image src="colors-16x8.svg" class="bigTall tl"/>
<image src="colors-16x8.svg" class="bigTall br"/>
<image src="colors-16x8.svg" class="bigTall tc"/>
<image src="colors-16x8.svg" class="bigTall cr"/>
<image src="colors-16x8.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.svg" class="small tr"/>
<image src="colors-16x8.svg" class="small bl"/>
<image src="colors-16x8.svg" class="small tl"/>
<image src="colors-16x8.svg" class="small br"/>
<image src="colors-16x8.svg" class="small tc"/>
<image src="colors-16x8.svg" class="small cr"/>
<image src="colors-16x8.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.svg" class="bigWide tr"/>
<image src="colors-8x16.svg" class="bigWide bl"/>
<image src="colors-8x16.svg" class="bigWide tl"/>
<image src="colors-8x16.svg" class="bigWide br"/>
<image src="colors-8x16.svg" class="bigWide tc"/>
<image src="colors-8x16.svg" class="bigWide cr"/>
<image src="colors-8x16.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.svg" class="bigTall tr"/>
<image src="colors-8x16.svg" class="bigTall bl"/>
<image src="colors-8x16.svg" class="bigTall tl"/>
<image src="colors-8x16.svg" class="bigTall br"/>
<image src="colors-8x16.svg" class="bigTall tc"/>
<image src="colors-8x16.svg" class="bigTall cr"/>
<image src="colors-8x16.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.svg" class="small tr"/>
<image src="colors-8x16.svg" class="small bl"/>
<image src="colors-8x16.svg" class="small tl"/>
<image src="colors-8x16.svg" class="small br"/>
<image src="colors-8x16.svg" class="small tc"/>
<image src="colors-8x16.svg" class="small cr"/>
<image src="colors-8x16.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-noSize.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-noSize.svg" class="bigWide tr"/>
<image src="colors-16x8-noSize.svg" class="bigWide bl"/>
<image src="colors-16x8-noSize.svg" class="bigWide tl"/>
<image src="colors-16x8-noSize.svg" class="bigWide br"/>
<image src="colors-16x8-noSize.svg" class="bigWide tc"/>
<image src="colors-16x8-noSize.svg" class="bigWide cr"/>
<image src="colors-16x8-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-noSize.svg" class="bigTall tr"/>
<image src="colors-16x8-noSize.svg" class="bigTall bl"/>
<image src="colors-16x8-noSize.svg" class="bigTall tl"/>
<image src="colors-16x8-noSize.svg" class="bigTall br"/>
<image src="colors-16x8-noSize.svg" class="bigTall tc"/>
<image src="colors-16x8-noSize.svg" class="bigTall cr"/>
<image src="colors-16x8-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-noSize.svg" class="small tr"/>
<image src="colors-16x8-noSize.svg" class="small bl"/>
<image src="colors-16x8-noSize.svg" class="small tl"/>
<image src="colors-16x8-noSize.svg" class="small br"/>
<image src="colors-16x8-noSize.svg" class="small tc"/>
<image src="colors-16x8-noSize.svg" class="small cr"/>
<image src="colors-16x8-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-noSize.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-noSize.svg" class="bigWide tr"/>
<image src="colors-8x16-noSize.svg" class="bigWide bl"/>
<image src="colors-8x16-noSize.svg" class="bigWide tl"/>
<image src="colors-8x16-noSize.svg" class="bigWide br"/>
<image src="colors-8x16-noSize.svg" class="bigWide tc"/>
<image src="colors-8x16-noSize.svg" class="bigWide cr"/>
<image src="colors-8x16-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-noSize.svg" class="bigTall tr"/>
<image src="colors-8x16-noSize.svg" class="bigTall bl"/>
<image src="colors-8x16-noSize.svg" class="bigTall tl"/>
<image src="colors-8x16-noSize.svg" class="bigTall br"/>
<image src="colors-8x16-noSize.svg" class="bigTall tc"/>
<image src="colors-8x16-noSize.svg" class="bigTall cr"/>
<image src="colors-8x16-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-noSize.svg" class="small tr"/>
<image src="colors-8x16-noSize.svg" class="small bl"/>
<image src="colors-8x16-noSize.svg" class="small tl"/>
<image src="colors-8x16-noSize.svg" class="small br"/>
<image src="colors-8x16-noSize.svg" class="small tc"/>
<image src="colors-8x16-noSize.svg" class="small cr"/>
<image src="colors-8x16-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-parDefault.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-parDefault.svg" class="bigWide tr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide bl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide br"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tc"/>
<image src="colors-16x8-parDefault.svg" class="bigWide cr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-parDefault.svg" class="bigTall tr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall bl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall br"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tc"/>
<image src="colors-16x8-parDefault.svg" class="bigTall cr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-parDefault.svg" class="small tr"/>
<image src="colors-16x8-parDefault.svg" class="small bl"/>
<image src="colors-16x8-parDefault.svg" class="small tl"/>
<image src="colors-16x8-parDefault.svg" class="small br"/>
<image src="colors-16x8-parDefault.svg" class="small tc"/>
<image src="colors-16x8-parDefault.svg" class="small cr"/>
<image src="colors-16x8-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-parDefault.svg");
background-size: cover;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: cover;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-parDefault.svg" class="bigWide tr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide bl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide br"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tc"/>
<image src="colors-8x16-parDefault.svg" class="bigWide cr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-parDefault.svg" class="bigTall tr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall bl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall br"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tc"/>
<image src="colors-8x16-parDefault.svg" class="bigTall cr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-parDefault.svg" class="small tr"/>
<image src="colors-8x16-parDefault.svg" class="small bl"/>
<image src="colors-8x16-parDefault.svg" class="small tl"/>
<image src="colors-8x16-parDefault.svg" class="small br"/>
<image src="colors-8x16-parDefault.svg" class="small tc"/>
<image src="colors-8x16-parDefault.svg" class="small cr"/>
<image src="colors-8x16-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.png");
background-size: 100% 100%;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.png" class="bigWide tr"/>
<image src="colors-16x8.png" class="bigWide bl"/>
<image src="colors-16x8.png" class="bigWide tl"/>
<image src="colors-16x8.png" class="bigWide br"/>
<image src="colors-16x8.png" class="bigWide tc"/>
<image src="colors-16x8.png" class="bigWide cr"/>
<image src="colors-16x8.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.png" class="bigTall tr"/>
<image src="colors-16x8.png" class="bigTall bl"/>
<image src="colors-16x8.png" class="bigTall tl"/>
<image src="colors-16x8.png" class="bigTall br"/>
<image src="colors-16x8.png" class="bigTall tc"/>
<image src="colors-16x8.png" class="bigTall cr"/>
<image src="colors-16x8.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.png" class="small tr"/>
<image src="colors-16x8.png" class="small bl"/>
<image src="colors-16x8.png" class="small tl"/>
<image src="colors-16x8.png" class="small br"/>
<image src="colors-16x8.png" class="small tc"/>
<image src="colors-16x8.png" class="small cr"/>
<image src="colors-16x8.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.png");
background-size: 100% 100%;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.png" class="bigWide tr"/>
<image src="colors-8x16.png" class="bigWide bl"/>
<image src="colors-8x16.png" class="bigWide tl"/>
<image src="colors-8x16.png" class="bigWide br"/>
<image src="colors-8x16.png" class="bigWide tc"/>
<image src="colors-8x16.png" class="bigWide cr"/>
<image src="colors-8x16.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.png" class="bigTall tr"/>
<image src="colors-8x16.png" class="bigTall bl"/>
<image src="colors-8x16.png" class="bigTall tl"/>
<image src="colors-8x16.png" class="bigTall br"/>
<image src="colors-8x16.png" class="bigTall tc"/>
<image src="colors-8x16.png" class="bigTall cr"/>
<image src="colors-8x16.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.png" class="small tr"/>
<image src="colors-8x16.png" class="small bl"/>
<image src="colors-8x16.png" class="small tl"/>
<image src="colors-8x16.png" class="small br"/>
<image src="colors-8x16.png" class="small tc"/>
<image src="colors-8x16.png" class="small cr"/>
<image src="colors-8x16.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.svg" class="bigWide tr"/>
<image src="colors-16x8.svg" class="bigWide bl"/>
<image src="colors-16x8.svg" class="bigWide tl"/>
<image src="colors-16x8.svg" class="bigWide br"/>
<image src="colors-16x8.svg" class="bigWide tc"/>
<image src="colors-16x8.svg" class="bigWide cr"/>
<image src="colors-16x8.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.svg" class="bigTall tr"/>
<image src="colors-16x8.svg" class="bigTall bl"/>
<image src="colors-16x8.svg" class="bigTall tl"/>
<image src="colors-16x8.svg" class="bigTall br"/>
<image src="colors-16x8.svg" class="bigTall tc"/>
<image src="colors-16x8.svg" class="bigTall cr"/>
<image src="colors-16x8.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.svg" class="small tr"/>
<image src="colors-16x8.svg" class="small bl"/>
<image src="colors-16x8.svg" class="small tl"/>
<image src="colors-16x8.svg" class="small br"/>
<image src="colors-16x8.svg" class="small tc"/>
<image src="colors-16x8.svg" class="small cr"/>
<image src="colors-16x8.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.svg" class="bigWide tr"/>
<image src="colors-8x16.svg" class="bigWide bl"/>
<image src="colors-8x16.svg" class="bigWide tl"/>
<image src="colors-8x16.svg" class="bigWide br"/>
<image src="colors-8x16.svg" class="bigWide tc"/>
<image src="colors-8x16.svg" class="bigWide cr"/>
<image src="colors-8x16.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.svg" class="bigTall tr"/>
<image src="colors-8x16.svg" class="bigTall bl"/>
<image src="colors-8x16.svg" class="bigTall tl"/>
<image src="colors-8x16.svg" class="bigTall br"/>
<image src="colors-8x16.svg" class="bigTall tc"/>
<image src="colors-8x16.svg" class="bigTall cr"/>
<image src="colors-8x16.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.svg" class="small tr"/>
<image src="colors-8x16.svg" class="small bl"/>
<image src="colors-8x16.svg" class="small tl"/>
<image src="colors-8x16.svg" class="small br"/>
<image src="colors-8x16.svg" class="small tc"/>
<image src="colors-8x16.svg" class="small cr"/>
<image src="colors-8x16.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-noSize.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-noSize.svg" class="bigWide tr"/>
<image src="colors-16x8-noSize.svg" class="bigWide bl"/>
<image src="colors-16x8-noSize.svg" class="bigWide tl"/>
<image src="colors-16x8-noSize.svg" class="bigWide br"/>
<image src="colors-16x8-noSize.svg" class="bigWide tc"/>
<image src="colors-16x8-noSize.svg" class="bigWide cr"/>
<image src="colors-16x8-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-noSize.svg" class="bigTall tr"/>
<image src="colors-16x8-noSize.svg" class="bigTall bl"/>
<image src="colors-16x8-noSize.svg" class="bigTall tl"/>
<image src="colors-16x8-noSize.svg" class="bigTall br"/>
<image src="colors-16x8-noSize.svg" class="bigTall tc"/>
<image src="colors-16x8-noSize.svg" class="bigTall cr"/>
<image src="colors-16x8-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-noSize.svg" class="small tr"/>
<image src="colors-16x8-noSize.svg" class="small bl"/>
<image src="colors-16x8-noSize.svg" class="small tl"/>
<image src="colors-16x8-noSize.svg" class="small br"/>
<image src="colors-16x8-noSize.svg" class="small tc"/>
<image src="colors-16x8-noSize.svg" class="small cr"/>
<image src="colors-16x8-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-noSize.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-noSize.svg" class="bigWide tr"/>
<image src="colors-8x16-noSize.svg" class="bigWide bl"/>
<image src="colors-8x16-noSize.svg" class="bigWide tl"/>
<image src="colors-8x16-noSize.svg" class="bigWide br"/>
<image src="colors-8x16-noSize.svg" class="bigWide tc"/>
<image src="colors-8x16-noSize.svg" class="bigWide cr"/>
<image src="colors-8x16-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-noSize.svg" class="bigTall tr"/>
<image src="colors-8x16-noSize.svg" class="bigTall bl"/>
<image src="colors-8x16-noSize.svg" class="bigTall tl"/>
<image src="colors-8x16-noSize.svg" class="bigTall br"/>
<image src="colors-8x16-noSize.svg" class="bigTall tc"/>
<image src="colors-8x16-noSize.svg" class="bigTall cr"/>
<image src="colors-8x16-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-noSize.svg" class="small tr"/>
<image src="colors-8x16-noSize.svg" class="small bl"/>
<image src="colors-8x16-noSize.svg" class="small tl"/>
<image src="colors-8x16-noSize.svg" class="small br"/>
<image src="colors-8x16-noSize.svg" class="small tc"/>
<image src="colors-8x16-noSize.svg" class="small cr"/>
<image src="colors-8x16-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-parDefault.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-parDefault.svg" class="bigWide tr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide bl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide br"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tc"/>
<image src="colors-16x8-parDefault.svg" class="bigWide cr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-parDefault.svg" class="bigTall tr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall bl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall br"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tc"/>
<image src="colors-16x8-parDefault.svg" class="bigTall cr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-parDefault.svg" class="small tr"/>
<image src="colors-16x8-parDefault.svg" class="small bl"/>
<image src="colors-16x8-parDefault.svg" class="small tl"/>
<image src="colors-16x8-parDefault.svg" class="small br"/>
<image src="colors-16x8-parDefault.svg" class="small tc"/>
<image src="colors-16x8-parDefault.svg" class="small cr"/>
<image src="colors-16x8-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-parDefault.svg");
background-size: 100% 100%;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: fill;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-parDefault.svg" class="bigWide tr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide bl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide br"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tc"/>
<image src="colors-8x16-parDefault.svg" class="bigWide cr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-parDefault.svg" class="bigTall tr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall bl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall br"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tc"/>
<image src="colors-8x16-parDefault.svg" class="bigTall cr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-parDefault.svg" class="small tr"/>
<image src="colors-8x16-parDefault.svg" class="small bl"/>
<image src="colors-8x16-parDefault.svg" class="small tl"/>
<image src="colors-8x16-parDefault.svg" class="small br"/>
<image src="colors-8x16-parDefault.svg" class="small tc"/>
<image src="colors-8x16-parDefault.svg" class="small cr"/>
<image src="colors-8x16-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.png");
background-size: auto auto;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.png" class="bigWide tr"/>
<image src="colors-16x8.png" class="bigWide bl"/>
<image src="colors-16x8.png" class="bigWide tl"/>
<image src="colors-16x8.png" class="bigWide br"/>
<image src="colors-16x8.png" class="bigWide tc"/>
<image src="colors-16x8.png" class="bigWide cr"/>
<image src="colors-16x8.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.png" class="bigTall tr"/>
<image src="colors-16x8.png" class="bigTall bl"/>
<image src="colors-16x8.png" class="bigTall tl"/>
<image src="colors-16x8.png" class="bigTall br"/>
<image src="colors-16x8.png" class="bigTall tc"/>
<image src="colors-16x8.png" class="bigTall cr"/>
<image src="colors-16x8.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.png" class="small tr"/>
<image src="colors-16x8.png" class="small bl"/>
<image src="colors-16x8.png" class="small tl"/>
<image src="colors-16x8.png" class="small br"/>
<image src="colors-16x8.png" class="small tc"/>
<image src="colors-16x8.png" class="small cr"/>
<image src="colors-16x8.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.png");
background-size: auto auto;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.png" class="bigWide tr"/>
<image src="colors-8x16.png" class="bigWide bl"/>
<image src="colors-8x16.png" class="bigWide tl"/>
<image src="colors-8x16.png" class="bigWide br"/>
<image src="colors-8x16.png" class="bigWide tc"/>
<image src="colors-8x16.png" class="bigWide cr"/>
<image src="colors-8x16.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.png" class="bigTall tr"/>
<image src="colors-8x16.png" class="bigTall bl"/>
<image src="colors-8x16.png" class="bigTall tl"/>
<image src="colors-8x16.png" class="bigTall br"/>
<image src="colors-8x16.png" class="bigTall tc"/>
<image src="colors-8x16.png" class="bigTall cr"/>
<image src="colors-8x16.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.png" class="small tr"/>
<image src="colors-8x16.png" class="small bl"/>
<image src="colors-8x16.png" class="small tl"/>
<image src="colors-8x16.png" class="small br"/>
<image src="colors-8x16.png" class="small tc"/>
<image src="colors-8x16.png" class="small cr"/>
<image src="colors-8x16.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.svg" class="bigWide tr"/>
<image src="colors-16x8.svg" class="bigWide bl"/>
<image src="colors-16x8.svg" class="bigWide tl"/>
<image src="colors-16x8.svg" class="bigWide br"/>
<image src="colors-16x8.svg" class="bigWide tc"/>
<image src="colors-16x8.svg" class="bigWide cr"/>
<image src="colors-16x8.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.svg" class="bigTall tr"/>
<image src="colors-16x8.svg" class="bigTall bl"/>
<image src="colors-16x8.svg" class="bigTall tl"/>
<image src="colors-16x8.svg" class="bigTall br"/>
<image src="colors-16x8.svg" class="bigTall tc"/>
<image src="colors-16x8.svg" class="bigTall cr"/>
<image src="colors-16x8.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.svg" class="small tr"/>
<image src="colors-16x8.svg" class="small bl"/>
<image src="colors-16x8.svg" class="small tl"/>
<image src="colors-16x8.svg" class="small br"/>
<image src="colors-16x8.svg" class="small tc"/>
<image src="colors-16x8.svg" class="small cr"/>
<image src="colors-16x8.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.svg" class="bigWide tr"/>
<image src="colors-8x16.svg" class="bigWide bl"/>
<image src="colors-8x16.svg" class="bigWide tl"/>
<image src="colors-8x16.svg" class="bigWide br"/>
<image src="colors-8x16.svg" class="bigWide tc"/>
<image src="colors-8x16.svg" class="bigWide cr"/>
<image src="colors-8x16.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.svg" class="bigTall tr"/>
<image src="colors-8x16.svg" class="bigTall bl"/>
<image src="colors-8x16.svg" class="bigTall tl"/>
<image src="colors-8x16.svg" class="bigTall br"/>
<image src="colors-8x16.svg" class="bigTall tc"/>
<image src="colors-8x16.svg" class="bigTall cr"/>
<image src="colors-8x16.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.svg" class="small tr"/>
<image src="colors-8x16.svg" class="small bl"/>
<image src="colors-8x16.svg" class="small tl"/>
<image src="colors-8x16.svg" class="small br"/>
<image src="colors-8x16.svg" class="small tc"/>
<image src="colors-8x16.svg" class="small cr"/>
<image src="colors-8x16.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-noSize.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-noSize.svg" class="bigWide tr"/>
<image src="colors-16x8-noSize.svg" class="bigWide bl"/>
<image src="colors-16x8-noSize.svg" class="bigWide tl"/>
<image src="colors-16x8-noSize.svg" class="bigWide br"/>
<image src="colors-16x8-noSize.svg" class="bigWide tc"/>
<image src="colors-16x8-noSize.svg" class="bigWide cr"/>
<image src="colors-16x8-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-noSize.svg" class="bigTall tr"/>
<image src="colors-16x8-noSize.svg" class="bigTall bl"/>
<image src="colors-16x8-noSize.svg" class="bigTall tl"/>
<image src="colors-16x8-noSize.svg" class="bigTall br"/>
<image src="colors-16x8-noSize.svg" class="bigTall tc"/>
<image src="colors-16x8-noSize.svg" class="bigTall cr"/>
<image src="colors-16x8-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-noSize.svg" class="small tr"/>
<image src="colors-16x8-noSize.svg" class="small bl"/>
<image src="colors-16x8-noSize.svg" class="small tl"/>
<image src="colors-16x8-noSize.svg" class="small br"/>
<image src="colors-16x8-noSize.svg" class="small tc"/>
<image src="colors-16x8-noSize.svg" class="small cr"/>
<image src="colors-16x8-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-noSize.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-noSize.svg" class="bigWide tr"/>
<image src="colors-8x16-noSize.svg" class="bigWide bl"/>
<image src="colors-8x16-noSize.svg" class="bigWide tl"/>
<image src="colors-8x16-noSize.svg" class="bigWide br"/>
<image src="colors-8x16-noSize.svg" class="bigWide tc"/>
<image src="colors-8x16-noSize.svg" class="bigWide cr"/>
<image src="colors-8x16-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-noSize.svg" class="bigTall tr"/>
<image src="colors-8x16-noSize.svg" class="bigTall bl"/>
<image src="colors-8x16-noSize.svg" class="bigTall tl"/>
<image src="colors-8x16-noSize.svg" class="bigTall br"/>
<image src="colors-8x16-noSize.svg" class="bigTall tc"/>
<image src="colors-8x16-noSize.svg" class="bigTall cr"/>
<image src="colors-8x16-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-noSize.svg" class="small tr"/>
<image src="colors-8x16-noSize.svg" class="small bl"/>
<image src="colors-8x16-noSize.svg" class="small tl"/>
<image src="colors-8x16-noSize.svg" class="small br"/>
<image src="colors-8x16-noSize.svg" class="small tc"/>
<image src="colors-8x16-noSize.svg" class="small cr"/>
<image src="colors-8x16-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-parDefault.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-parDefault.svg" class="bigWide tr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide bl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide br"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tc"/>
<image src="colors-16x8-parDefault.svg" class="bigWide cr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-parDefault.svg" class="bigTall tr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall bl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall br"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tc"/>
<image src="colors-16x8-parDefault.svg" class="bigTall cr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-parDefault.svg" class="small tr"/>
<image src="colors-16x8-parDefault.svg" class="small bl"/>
<image src="colors-16x8-parDefault.svg" class="small tl"/>
<image src="colors-16x8-parDefault.svg" class="small br"/>
<image src="colors-16x8-parDefault.svg" class="small tc"/>
<image src="colors-16x8-parDefault.svg" class="small cr"/>
<image src="colors-16x8-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,76 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-parDefault.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: none;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-parDefault.svg" class="bigWide tr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide bl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide br"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tc"/>
<image src="colors-8x16-parDefault.svg" class="bigWide cr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-parDefault.svg" class="bigTall tr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall bl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall br"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tc"/>
<image src="colors-8x16-parDefault.svg" class="bigTall cr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-parDefault.svg" class="small tr"/>
<image src="colors-8x16-parDefault.svg" class="small bl"/>
<image src="colors-8x16-parDefault.svg" class="small tl"/>
<image src="colors-8x16-parDefault.svg" class="small br"/>
<image src="colors-8x16-parDefault.svg" class="small tc"/>
<image src="colors-8x16-parDefault.svg" class="small cr"/>
<image src="colors-8x16-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,78 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.png");
background-size: auto auto;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.png" class="bigWide tr"/>
<image src="colors-16x8.png" class="bigWide bl"/>
<image src="colors-16x8.png" class="bigWide tl"/>
<image src="colors-16x8.png" class="bigWide br"/>
<image src="colors-16x8.png" class="bigWide tc"/>
<image src="colors-16x8.png" class="bigWide cr"/>
<image src="colors-16x8.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.png" class="bigTall tr"/>
<image src="colors-16x8.png" class="bigTall bl"/>
<image src="colors-16x8.png" class="bigTall tl"/>
<image src="colors-16x8.png" class="bigTall br"/>
<image src="colors-16x8.png" class="bigTall tc"/>
<image src="colors-16x8.png" class="bigTall cr"/>
<image src="colors-16x8.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.png" class="small tr"/>
<image src="colors-16x8.png" class="small bl"/>
<image src="colors-16x8.png" class="small tl"/>
<image src="colors-16x8.png" class="small br"/>
<image src="colors-16x8.png" class="small tc"/>
<image src="colors-16x8.png" class="small cr"/>
<image src="colors-16x8.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,78 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.png");
background-size: auto auto;
background-repeat: no-repeat;
image-rendering: -moz-crisp-edges;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,70 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
image-rendering: -moz-crisp-edges;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.png" class="bigWide tr"/>
<image src="colors-8x16.png" class="bigWide bl"/>
<image src="colors-8x16.png" class="bigWide tl"/>
<image src="colors-8x16.png" class="bigWide br"/>
<image src="colors-8x16.png" class="bigWide tc"/>
<image src="colors-8x16.png" class="bigWide cr"/>
<image src="colors-8x16.png" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.png" class="bigTall tr"/>
<image src="colors-8x16.png" class="bigTall bl"/>
<image src="colors-8x16.png" class="bigTall tl"/>
<image src="colors-8x16.png" class="bigTall br"/>
<image src="colors-8x16.png" class="bigTall tc"/>
<image src="colors-8x16.png" class="bigTall cr"/>
<image src="colors-8x16.png" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.png" class="small tr"/>
<image src="colors-8x16.png" class="small bl"/>
<image src="colors-8x16.png" class="small tl"/>
<image src="colors-8x16.png" class="small br"/>
<image src="colors-8x16.png" class="small tc"/>
<image src="colors-8x16.png" class="small cr"/>
<image src="colors-8x16.png" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8.svg" class="bigWide tr"/>
<image src="colors-16x8.svg" class="bigWide bl"/>
<image src="colors-16x8.svg" class="bigWide tl"/>
<image src="colors-16x8.svg" class="bigWide br"/>
<image src="colors-16x8.svg" class="bigWide tc"/>
<image src="colors-16x8.svg" class="bigWide cr"/>
<image src="colors-16x8.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8.svg" class="bigTall tr"/>
<image src="colors-16x8.svg" class="bigTall bl"/>
<image src="colors-16x8.svg" class="bigTall tl"/>
<image src="colors-16x8.svg" class="bigTall br"/>
<image src="colors-16x8.svg" class="bigTall tc"/>
<image src="colors-16x8.svg" class="bigTall cr"/>
<image src="colors-16x8.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8.svg" class="small tr"/>
<image src="colors-16x8.svg" class="small bl"/>
<image src="colors-16x8.svg" class="small tl"/>
<image src="colors-16x8.svg" class="small br"/>
<image src="colors-16x8.svg" class="small tc"/>
<image src="colors-16x8.svg" class="small cr"/>
<image src="colors-16x8.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16.svg" class="bigWide tr"/>
<image src="colors-8x16.svg" class="bigWide bl"/>
<image src="colors-8x16.svg" class="bigWide tl"/>
<image src="colors-8x16.svg" class="bigWide br"/>
<image src="colors-8x16.svg" class="bigWide tc"/>
<image src="colors-8x16.svg" class="bigWide cr"/>
<image src="colors-8x16.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16.svg" class="bigTall tr"/>
<image src="colors-8x16.svg" class="bigTall bl"/>
<image src="colors-8x16.svg" class="bigTall tl"/>
<image src="colors-8x16.svg" class="bigTall br"/>
<image src="colors-8x16.svg" class="bigTall tc"/>
<image src="colors-8x16.svg" class="bigTall cr"/>
<image src="colors-8x16.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16.svg" class="small tr"/>
<image src="colors-8x16.svg" class="small bl"/>
<image src="colors-8x16.svg" class="small tl"/>
<image src="colors-8x16.svg" class="small br"/>
<image src="colors-8x16.svg" class="small tc"/>
<image src="colors-8x16.svg" class="small cr"/>
<image src="colors-8x16.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-noSize.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-noSize.svg" class="bigWide tr"/>
<image src="colors-16x8-noSize.svg" class="bigWide bl"/>
<image src="colors-16x8-noSize.svg" class="bigWide tl"/>
<image src="colors-16x8-noSize.svg" class="bigWide br"/>
<image src="colors-16x8-noSize.svg" class="bigWide tc"/>
<image src="colors-16x8-noSize.svg" class="bigWide cr"/>
<image src="colors-16x8-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-noSize.svg" class="bigTall tr"/>
<image src="colors-16x8-noSize.svg" class="bigTall bl"/>
<image src="colors-16x8-noSize.svg" class="bigTall tl"/>
<image src="colors-16x8-noSize.svg" class="bigTall br"/>
<image src="colors-16x8-noSize.svg" class="bigTall tc"/>
<image src="colors-16x8-noSize.svg" class="bigTall cr"/>
<image src="colors-16x8-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-noSize.svg" class="small tr"/>
<image src="colors-16x8-noSize.svg" class="small bl"/>
<image src="colors-16x8-noSize.svg" class="small tl"/>
<image src="colors-16x8-noSize.svg" class="small br"/>
<image src="colors-16x8-noSize.svg" class="small tc"/>
<image src="colors-16x8-noSize.svg" class="small cr"/>
<image src="colors-16x8-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-noSize.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-noSize.svg" class="bigWide tr"/>
<image src="colors-8x16-noSize.svg" class="bigWide bl"/>
<image src="colors-8x16-noSize.svg" class="bigWide tl"/>
<image src="colors-8x16-noSize.svg" class="bigWide br"/>
<image src="colors-8x16-noSize.svg" class="bigWide tc"/>
<image src="colors-8x16-noSize.svg" class="bigWide cr"/>
<image src="colors-8x16-noSize.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-noSize.svg" class="bigTall tr"/>
<image src="colors-8x16-noSize.svg" class="bigTall bl"/>
<image src="colors-8x16-noSize.svg" class="bigTall tl"/>
<image src="colors-8x16-noSize.svg" class="bigTall br"/>
<image src="colors-8x16-noSize.svg" class="bigTall tc"/>
<image src="colors-8x16-noSize.svg" class="bigTall cr"/>
<image src="colors-8x16-noSize.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-noSize.svg" class="small tr"/>
<image src="colors-8x16-noSize.svg" class="small bl"/>
<image src="colors-8x16-noSize.svg" class="small tl"/>
<image src="colors-8x16-noSize.svg" class="small br"/>
<image src="colors-8x16-noSize.svg" class="small tc"/>
<image src="colors-8x16-noSize.svg" class="small cr"/>
<image src="colors-8x16-noSize.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-16x8-parDefault.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-16x8-parDefault.svg" class="bigWide tr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide bl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tl"/>
<image src="colors-16x8-parDefault.svg" class="bigWide br"/>
<image src="colors-16x8-parDefault.svg" class="bigWide tc"/>
<image src="colors-16x8-parDefault.svg" class="bigWide cr"/>
<image src="colors-16x8-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-16x8-parDefault.svg" class="bigTall tr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall bl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tl"/>
<image src="colors-16x8-parDefault.svg" class="bigTall br"/>
<image src="colors-16x8-parDefault.svg" class="bigTall tc"/>
<image src="colors-16x8-parDefault.svg" class="bigTall cr"/>
<image src="colors-16x8-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-16x8-parDefault.svg" class="small tr"/>
<image src="colors-16x8-parDefault.svg" class="small bl"/>
<image src="colors-16x8-parDefault.svg" class="small tl"/>
<image src="colors-16x8-parDefault.svg" class="small br"/>
<image src="colors-16x8-parDefault.svg" class="small tc"/>
<image src="colors-16x8-parDefault.svg" class="small cr"/>
<image src="colors-16x8-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,77 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
.objectOuter {
border: 1px dashed gray;
padding: 1px;
float: left;
}
.objectOuter > * {
background-image: url("colors-8x16-parDefault.svg");
background-size: auto auto;
background-repeat: no-repeat;
}
.objectOuter > .small { background-size: contain; }
.bigWide {
width: 48px;
height: 32px;
}
.bigTall {
width: 32px;
height: 48px;
}
.small {
width: 8px;
height: 8px;
}
br { clear: both; }
.tr { background-position: top right }
.bl { background-position: bottom left }
.tl { background-position: top 25% left 25% }
.br { background-position: bottom 1px right 2px }
.tc { background-position: top 3px center }
.cr { background-position: center right 25% }
.default { background-position: 50% 50% }
</style>
</head>
<body>
<!-- big/wide: -->
<div class="objectOuter"><div class="bigWide tr"></div></div>
<div class="objectOuter"><div class="bigWide bl"></div></div>
<div class="objectOuter"><div class="bigWide tl"></div></div>
<div class="objectOuter"><div class="bigWide br"></div></div>
<div class="objectOuter"><div class="bigWide tc"></div></div>
<div class="objectOuter"><div class="bigWide cr"></div></div>
<div class="objectOuter"><div class="bigWide default"></div></div>
<br>
<!-- big/tall: -->
<div class="objectOuter"><div class="bigTall tr"></div></div>
<div class="objectOuter"><div class="bigTall bl"></div></div>
<div class="objectOuter"><div class="bigTall tl"></div></div>
<div class="objectOuter"><div class="bigTall br"></div></div>
<div class="objectOuter"><div class="bigTall tc"></div></div>
<div class="objectOuter"><div class="bigTall cr"></div></div>
<div class="objectOuter"><div class="bigTall default"></div></div>
<br>
<!-- small: -->
<div class="objectOuter"><div class="small tr"></div></div>
<div class="objectOuter"><div class="small bl"></div></div>
<div class="objectOuter"><div class="small tl"></div></div>
<div class="objectOuter"><div class="small br"></div></div>
<div class="objectOuter"><div class="small tc"></div></div>
<div class="objectOuter"><div class="small cr"></div></div>
<div class="objectOuter"><div class="small default"></div></div>
<br>
</body>
</html>

Просмотреть файл

@ -0,0 +1,69 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
border: 1px dashed gray;
padding: 1px;
object-fit: scale-down;
float: left;
}
.bigWide {
width: 52px;
height: 36px;
}
.bigTall {
width: 36px;
height: 52px;
}
.small {
width: 12px;
height: 12px;
}
br { clear: both; }
.tr { object-position: top right }
.bl { object-position: bottom left }
.tl { object-position: top 25% left 25% }
.br { object-position: bottom 1px right 2px }
.tc { object-position: top 3px center }
.cr { object-position: center right 25% }
]]></style>
<hbox>
<!-- big/wide: -->
<image src="colors-8x16-parDefault.svg" class="bigWide tr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide bl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tl"/>
<image src="colors-8x16-parDefault.svg" class="bigWide br"/>
<image src="colors-8x16-parDefault.svg" class="bigWide tc"/>
<image src="colors-8x16-parDefault.svg" class="bigWide cr"/>
<image src="colors-8x16-parDefault.svg" class="bigWide"/>
</hbox>
<hbox>
<!-- big/tall: -->
<image src="colors-8x16-parDefault.svg" class="bigTall tr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall bl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tl"/>
<image src="colors-8x16-parDefault.svg" class="bigTall br"/>
<image src="colors-8x16-parDefault.svg" class="bigTall tc"/>
<image src="colors-8x16-parDefault.svg" class="bigTall cr"/>
<image src="colors-8x16-parDefault.svg" class="bigTall"/>
</hbox>
<hbox>
<!-- small: -->
<image src="colors-8x16-parDefault.svg" class="small tr"/>
<image src="colors-8x16-parDefault.svg" class="small bl"/>
<image src="colors-8x16-parDefault.svg" class="small tl"/>
<image src="colors-8x16-parDefault.svg" class="small br"/>
<image src="colors-8x16-parDefault.svg" class="small tc"/>
<image src="colors-8x16-parDefault.svg" class="small cr"/>
<image src="colors-8x16-parDefault.svg" class="small"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,42 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
div {
background: lightgray;
margin-right: 2px;
background-image: url("colors-16x8.png");
background-size: contain;
background-repeat: no-repeat;
float: left;
width: 20px;
height: 20px;
}
.op_y-7 { background-position: 50% -7% }
.op_y13 { background-position: 50% 13% }
.op_y23 { background-position: 50% 23% }
.op_y50 { background-position: 50% 50% }
.op_y75 { background-position: 50% 75% }
.op_y88 { background-position: 50% 88% }
.op_y111 { background-position: 50% 111% }
</style>
</head>
<body>
<div class="op_y-7"></div>
<div class="op_y13"></div>
<div class="op_y23"></div>
<div class="op_y50"></div>
<div class="op_y75"></div>
<div class="op_y88"></div>
<div class="op_y111"></div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
background: lightgray;
margin-right: 2px;
object-fit: contain;
float: left;
width: 20px;
height: 20px;
}
.op_y-7 { object-position: 50% -7% }
.op_y13 { object-position: 50% 13% }
.op_y23 { object-position: 50% 23% }
.op_y50 { object-position: 50% 50% }
.op_y75 { object-position: 50% 75% }
.op_y88 { object-position: 50% 88% }
.op_y111 { object-position: 50% 111% }
]]></style>
<hbox>
<image src="colors-16x8.png" class="op_y-7"/>
<image src="colors-16x8.png" class="op_y13"/>
<image src="colors-16x8.png" class="op_y23"/>
<image src="colors-16x8.png" class="op_y50"/>
<image src="colors-16x8.png" class="op_y75"/>
<image src="colors-16x8.png" class="op_y88"/>
<image src="colors-16x8.png" class="op_y111"/>
</hbox>
</window>

Просмотреть файл

@ -0,0 +1,42 @@
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html>
<head>
<meta charset="utf-8">
<title>CSS Reftest Reference</title>
<link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
<style type="text/css">
div {
background: lightgray;
margin-right: 2px;
background-image: url("colors-8x16.png");
background-size: contain;
background-repeat: no-repeat;
float: left;
width: 20px;
height: 20px;
}
.op_x-7 { background-position: -7% 50% }
.op_x13 { background-position: 13% 50% }
.op_x23 { background-position: 23% 50% }
.op_x50 { background-position: 50% 50% }
.op_x75 { background-position: 75% 50% }
.op_x88 { background-position: 88% 50% }
.op_x111 { background-position: 111% 50% }
</style>
</head>
<body>
<div class="op_x-7"></div>
<div class="op_x13"></div>
<div class="op_x23"></div>
<div class="op_x50"></div>
<div class="op_x75"></div>
<div class="op_x88"></div>
<div class="op_x111"></div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,36 @@
<?xml version="1.0"?>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<style xmlns="http://www.w3.org/1999/xhtml"><![CDATA[
window { padding: 8px; }
image {
background: lightgray;
margin-right: 2px;
object-fit: contain;
float: left;
width: 20px;
height: 20px;
}
.op_x-7 { object-position: -7% 50% }
.op_x13 { object-position: 13% 50% }
.op_x23 { object-position: 23% 50% }
.op_x50 { object-position: 50% 50% }
.op_x75 { object-position: 75% 50% }
.op_x88 { object-position: 88% 50% }
.op_x111 { object-position: 111% 50% }
]]></style>
<hbox>
<image src="colors-8x16.png" class="op_x-7"/>
<image src="colors-8x16.png" class="op_x13"/>
<image src="colors-8x16.png" class="op_x23"/>
<image src="colors-8x16.png" class="op_x50"/>
<image src="colors-8x16.png" class="op_x75"/>
<image src="colors-8x16.png" class="op_x88"/>
<image src="colors-8x16.png" class="op_x111"/>
</hbox>
</window>

Просмотреть файл

@ -8,3 +8,51 @@ skip-if(cocoaWidget) skip-if((B2G&&browserIsRemote)||Mulet) == accesskey.xul acc
fails-if(cocoaWidget) skip-if((B2G&&browserIsRemote)||Mulet) == tree-row-outline-1.xul tree-row-outline-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop fails-if(cocoaWidget) skip-if((B2G&&browserIsRemote)||Mulet) == tree-row-outline-1.xul tree-row-outline-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop
skip-if((B2G&&browserIsRemote)||Mulet) != tree-row-outline-1.xul tree-row-outline-1-notref.xul # Initial mulet triage: parity with B2G/B2G Desktop skip-if((B2G&&browserIsRemote)||Mulet) != tree-row-outline-1.xul tree-row-outline-1-notref.xul # Initial mulet triage: parity with B2G/B2G Desktop
skip-if((B2G&&browserIsRemote)||Mulet) == text-small-caps-1.xul text-small-caps-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop skip-if((B2G&&browserIsRemote)||Mulet) == text-small-caps-1.xul text-small-caps-1-ref.xul # Initial mulet triage: parity with B2G/B2G Desktop
# Tests for XUL <image> with 'object-fit' & 'object-position':
# These tests should be very similar to tests in our w3c-css/submitted/images3
# reftest directory. They live here because they use XUL, and it
# wouldn't be fair of us to make a W3C testsuite implicitly depend on XUL.
default-preferences test-pref(layout.css.object-fit-and-position.enabled,true)
== object-fit-contain-png-001.xul object-fit-contain-png-001-ref.html
== object-fit-contain-png-002.xul object-fit-contain-png-002-ref.html
== object-fit-contain-svg-001.xul object-fit-contain-svg-001-ref.html
== object-fit-contain-svg-002.xul object-fit-contain-svg-002-ref.html
== object-fit-contain-svg-003.xul object-fit-contain-svg-003-ref.html
== object-fit-contain-svg-004.xul object-fit-contain-svg-004-ref.html
== object-fit-contain-svg-005.xul object-fit-contain-svg-005-ref.html
== object-fit-contain-svg-006.xul object-fit-contain-svg-006-ref.html
== object-fit-cover-png-001.xul object-fit-cover-png-001-ref.html
== object-fit-cover-png-002.xul object-fit-cover-png-002-ref.html
== object-fit-cover-svg-001.xul object-fit-cover-svg-001-ref.html
== object-fit-cover-svg-002.xul object-fit-cover-svg-002-ref.html
== object-fit-cover-svg-003.xul object-fit-cover-svg-003-ref.html
== object-fit-cover-svg-004.xul object-fit-cover-svg-004-ref.html
== object-fit-cover-svg-005.xul object-fit-cover-svg-005-ref.html
== object-fit-cover-svg-006.xul object-fit-cover-svg-006-ref.html
== object-fit-fill-png-001.xul object-fit-fill-png-001-ref.html
== object-fit-fill-png-002.xul object-fit-fill-png-002-ref.html
== object-fit-fill-svg-001.xul object-fit-fill-svg-001-ref.html
== object-fit-fill-svg-002.xul object-fit-fill-svg-002-ref.html
== object-fit-fill-svg-003.xul object-fit-fill-svg-003-ref.html
== object-fit-fill-svg-004.xul object-fit-fill-svg-004-ref.html
fails == object-fit-fill-svg-005.xul object-fit-fill-svg-005-ref.html # bug 1092436
fails == object-fit-fill-svg-006.xul object-fit-fill-svg-006-ref.html # bug 1092436
== object-fit-none-png-001.xul object-fit-none-png-001-ref.html
== object-fit-none-png-002.xul object-fit-none-png-002-ref.html
== object-fit-none-svg-001.xul object-fit-none-svg-001-ref.html
== object-fit-none-svg-002.xul object-fit-none-svg-002-ref.html
== object-fit-none-svg-003.xul object-fit-none-svg-003-ref.html
== object-fit-none-svg-004.xul object-fit-none-svg-004-ref.html
== object-fit-none-svg-005.xul object-fit-none-svg-005-ref.html
== object-fit-none-svg-006.xul object-fit-none-svg-006-ref.html
== object-fit-scale-down-png-001.xul object-fit-scale-down-png-001-ref.html
== object-fit-scale-down-png-002.xul object-fit-scale-down-png-002-ref.html
== object-fit-scale-down-svg-001.xul object-fit-scale-down-svg-001-ref.html
== object-fit-scale-down-svg-002.xul object-fit-scale-down-svg-002-ref.html
== object-fit-scale-down-svg-003.xul object-fit-scale-down-svg-003-ref.html
== object-fit-scale-down-svg-004.xul object-fit-scale-down-svg-004-ref.html
== object-fit-scale-down-svg-005.xul object-fit-scale-down-svg-005-ref.html
== object-fit-scale-down-svg-006.xul object-fit-scale-down-svg-006-ref.html
== object-position-png-001.xul object-position-png-001-ref.html
== object-position-png-002.xul object-position-png-002-ref.html