diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html b/testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html new file mode 100644 index 0000000000..c5e8bb42a8 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/popovers/popover-and-svg.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<meta charset="utf-8" /> +<title>Popover is only effective on HTMLElement, not on svg element</title> +<link rel="author" href="mailto:cathiechen@igalia.com"> +<link rel=help href="https://html.spec.whatwg.org/#the-popover-attribute"> +<link rel="match" href="popover-and-svg-ref.html"> +<style> +svg { + width: 100px; + height: 100px; + background-color:green; +} +[popover] { + top: 100px; + bottom: auto; +} +</style> +<svg popover></svg> |