bug 383080 - add -moz-image-region reftest, r=roc
git-svn-id: svn://10.0.0.236/trunk@231789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
12d4d9a89a
commit
c5c7743f94
BIN
mozilla/layout/reftests/image-region/image-region-ref.png
Normal file
BIN
mozilla/layout/reftests/image-region/image-region-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 174 B |
14
mozilla/layout/reftests/image-region/image-region-ref.xul
Normal file
14
mozilla/layout/reftests/image-region/image-region-ref.xul
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<?xml-stylesheet href="image-region.css" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="main"
|
||||
class="reftest-image-region">
|
||||
<hbox id="ref">
|
||||
<image id="image1" />
|
||||
<hbox flex="1000" />
|
||||
</hbox>
|
||||
</window>
|
||||
19
mozilla/layout/reftests/image-region/image-region.css
Normal file
19
mozilla/layout/reftests/image-region/image-region.css
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
*/
|
||||
hbox#test > image {
|
||||
list-style-image: url("image-region.png");
|
||||
}
|
||||
|
||||
hbox#test > #image1 {
|
||||
-moz-image-region: rect(1px, 19px, 9px, 1px);
|
||||
}
|
||||
|
||||
hbox#ref > image {
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
hbox#ref > #image1 {
|
||||
list-style-image: url("image-region-ref.png");
|
||||
}
|
||||
BIN
mozilla/layout/reftests/image-region/image-region.png
Normal file
BIN
mozilla/layout/reftests/image-region/image-region.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 189 B |
14
mozilla/layout/reftests/image-region/image-region.xul
Normal file
14
mozilla/layout/reftests/image-region/image-region.xul
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/licenses/publicdomain/
|
||||
-->
|
||||
<?xml-stylesheet href="image-region.css" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="main"
|
||||
class="reftest-image-region">
|
||||
<hbox id="test">
|
||||
<image id="image1" />
|
||||
<hbox flex="1000" />
|
||||
</hbox>
|
||||
</window>
|
||||
1
mozilla/layout/reftests/image-region/reftest.list
Normal file
1
mozilla/layout/reftests/image-region/reftest.list
Normal file
@ -0,0 +1 @@
|
||||
== image-region.xul image-region-ref.xul
|
||||
@ -58,3 +58,6 @@ include z-index/reftest.list
|
||||
|
||||
# columns/
|
||||
include columns/reftest.list
|
||||
|
||||
# image-region/
|
||||
include image-region/reftest.list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user