diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/forms/legend/legend.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/forms/legend/legend.html')
-rw-r--r-- | layout/reftests/forms/legend/legend.html | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/layout/reftests/forms/legend/legend.html b/layout/reftests/forms/legend/legend.html new file mode 100644 index 0000000000..9d05fbe6af --- /dev/null +++ b/layout/reftests/forms/legend/legend.html @@ -0,0 +1,87 @@ +<!DOCTYPE HTML> +<html><head> + <title>Testcase for bug 740743</title> + <style type="text/css"> + + html,body { + color:black; background-color:white; font-size:16px; padding:0; margin:0; + } + +fieldset { padding: 2px; } +legend { background: lime; } +.s10 { width:10px; height:10px; } +.h10 { height:10px; } +.w50 { width:50px; } +.hidden { overflow:hidden; } +.scroll { overflow:scroll; } +.auto { overflow:auto; } + +.o { text-overflow: ellipsis; } + +#inline legend { display:inline; } +#inline-block legend { display:inline-block; } + </style> +</head> +<body> + +<fieldset><legend class="hidden s10"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="scroll s10">Legend Test</legend></fieldset> +<fieldset><legend class="auto s10">Legend Test</legend></fieldset> +<fieldset><legend class="hidden w50"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="scroll w50">Legend Test</legend></fieldset> +<fieldset><legend class="auto w50"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="hidden">Legend Test</legend></fieldset> +<fieldset><legend class="auto"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="auto" style="width:auto"><b>Legend Test</b></legend></fieldset> +<fieldset><legend style="width:auto"><b>Legend Test</b></legend></fieldset> + +<fieldset><legend class="hidden w50 o"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="hidden w50 o">Test Legend</legend></fieldset> +<fieldset><legend class="hidden o">Test Legend</legend></fieldset> +<fieldset><legend class="auto w50 o"><b>Legend Test</b></legend></fieldset> +<fieldset><legend class="hidden w50 o" align="right">Test Legend</legend></fieldset> +<fieldset><legend class="hidden w50 o" align="center">Test Legend</legend></fieldset> + +<div id="inline"> +<legend class="hidden s10"><b>Legend Test</b></legend> +<legend class="scroll s10">Legend Test</legend> +<legend class="auto s10">Legend Test</legend> +<legend class="hidden w50"><b>Legend Test</b></legend> +<legend class="scroll w50">Legend Test</legend> +<legend class="auto w50"><b>Legend Test</b></legend> +<legend class="hidden">Legend Test</legend> +<legend class="auto"><b>Legend Test</b></legend> + +<legend class="hidden w50 o"><b>Legend Test</b></legend> +<legend class="hidden w50 o">Test Legend</legend> +<legend class="hidden o">Test Legend</legend> +<legend class="auto w50 o"><b>Legend Test</b></legend> +<legend class="hidden w50 o" align="right">Test Legend</legend> +<legend class="hidden w50 o" align="center">Test Legend</legend> +</div> + +<div id="inline-block"> +<legend class="hidden s10"><b>Legend Test</b></legend> +<legend class="scroll s10">Legend Test</legend> +<legend class="auto s10">Legend Test</legend> +<legend class="hidden w50"><b>Legend Test</b></legend> +<legend class="scroll w50">Legend Test</legend> +<legend class="auto w50"><b>Legend Test</b></legend> +<legend class="hidden">Legend Test</legend> +<legend class="auto"><b>Legend Test</b></legend> +<legend class="auto" style="width:auto"><b>Legend Test</b></legend> + +<legend class="hidden w50 o"><b>Legend Test</b></legend> +<legend class="hidden w50 o">Test Legend</legend> +<legend class="hidden o">Test Legend</legend> +<legend class="auto w50 o"><b>Legend Test</b></legend> +<legend class="hidden w50 o" align="right">Test Legend</legend> +<legend class="hidden w50 o" align="center">Test Legend</legend> +</div> + +<legend class="auto w50"><b>Legend Test</b></legend> +<legend class="auto" zstyle="width:auto"><b>Legend Test</b></legend> +<legend style="width:auto"><b>Legend Test</b></legend> + +</body> +</html> |