diff options
Diffstat (limited to 'testing/web-platform/tests/svg/layout')
3 files changed, 35 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/layout/svg-embed-intrinsic-size-min-size.html b/testing/web-platform/tests/svg/layout/svg-embed-intrinsic-size-min-size.html new file mode 100644 index 0000000000..79dfb07b42 --- /dev/null +++ b/testing/web-platform/tests/svg/layout/svg-embed-intrinsic-size-min-size.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> +<link rel="author" href="https://mozilla.org" title="Mozilla"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1894363"> +<link rel="match" href="svg-intrinsic-size-min-size-ref.html"> +<style> + embed { + width: auto; + height: auto; + vertical-align: top; + } +</style> +<div style="width: min-content; background-color: green"> + <embed src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='56' height='56' viewBox='0 0 56 56'></svg>"> +</div> diff --git a/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size-ref.html b/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size-ref.html new file mode 100644 index 0000000000..f9ae2910d8 --- /dev/null +++ b/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size-ref.html @@ -0,0 +1,3 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<div style="width: 56px; height: 56px; background-color: green"></div> diff --git a/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size.html b/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size.html new file mode 100644 index 0000000000..41c68e56e1 --- /dev/null +++ b/testing/web-platform/tests/svg/layout/svg-intrinsic-size-min-size.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> +<link rel="author" href="https://mozilla.org" title="Mozilla"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1894363"> +<link rel="match" href="svg-intrinsic-size-min-size-ref.html"> +<style> + svg { + width: auto; + height: auto; + vertical-align: top; + } +</style> +<div style="width: min-content; background-color: green"> + <svg width="56" height="56" viewBox="0 0 56 56"></svg> +</div> |