diff options
Diffstat (limited to 'layout/reftests/box-shadow/611574-2.html')
-rw-r--r-- | layout/reftests/box-shadow/611574-2.html | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/layout/reftests/box-shadow/611574-2.html b/layout/reftests/box-shadow/611574-2.html new file mode 100644 index 0000000000..1b16220393 --- /dev/null +++ b/layout/reftests/box-shadow/611574-2.html @@ -0,0 +1,67 @@ +<!DOCTYPE HTML> +<html> +<head><style> +button,span,fieldset { border-radius: 7px 3px; background-color: #0F0; } +button { border: none; outline: 3px solid black; -moz-outline-radius: 7px 3px; outline-offset: -2px; } +</style></head> +<body style="margin:30px"> +<div style="column-count:3"> +<p><button style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</button> +<p><button style="box-shadow: inset 20px 10px 0 #0F0;">No Blur Radius</button> +<p><button style="box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</button> +<p><button style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</button> +<p><button style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</button> + +<p><button style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</button> +<p><button style="box-shadow: inset 20px 10px 2px #0F0;">2px Blur Radius</button> +<p><button style="box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</button> +<p><button style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</button> +<p><button style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</button> + +<!-- XXX TODO: SPAN does not work due to differences in anti-aliasing with the reference +<p><span style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</span> +<p><span style="box-shadow: inset 20px 10px 0 #0F0;">No Blur Radius</span> +<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</span> +<p><span style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</span> +<p><span style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</span> + +<p><span style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</span> +<p><span style="box-shadow: inset 20px 10px 2px #0F0;">2px Blur Radius</span> +<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</span> +<p><span style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</span> +<p><span style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</span> +--> + +<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 20px 10px 0 #0F0;">No Blur Radius</fieldset> +<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset> + +<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 20px 10px 2px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset> + +<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 20px 10px 0 #0F0;">No Blur Radius</fieldset> +<p><fieldset style="display:inline;box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset> + +<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 20px 10px 2px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="display:inline;box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset> +<p><fieldset style="display:inline;box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset> + +</div> + + +</body> +</html> |