diff options
Diffstat (limited to 'layout/reftests/forms/fieldset/sticky-legend-1.html')
-rw-r--r-- | layout/reftests/forms/fieldset/sticky-legend-1.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/forms/fieldset/sticky-legend-1.html b/layout/reftests/forms/fieldset/sticky-legend-1.html new file mode 100644 index 000000000..588ea521f --- /dev/null +++ b/layout/reftests/forms/fieldset/sticky-legend-1.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML> +<html> +<body> +<fieldset style="overflow:hidden; height:300px;"> + <legend style="position:sticky; top:0;"><div style="width:200px; height:50px; background:yellow;"></div></legend> +</fieldset> +<div style="height:5000px;"></div> +<script> +window.scrollTo(0,100); +</script> +</body> +</html> |