summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/outline-style-inherit.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ui/outline-style-inherit.html')
-rw-r--r--testing/web-platform/tests/css/css-ui/outline-style-inherit.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ui/outline-style-inherit.html b/testing/web-platform/tests/css/css-ui/outline-style-inherit.html
new file mode 100644
index 0000000000..7a82bc790f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/outline-style-inherit.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Inheriting outline-style should compute the right outline-width</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-ui-4/#outline-width">
+<link rel="help" href="https://drafts.csswg.org/css-ui-4/#outline-style">
+<link rel="match" href="outline-style-inherit-ref.html">
+<style>
+ div { width: 100px; height: 100px }
+</style>
+<div style="outline-style: solid; outline-color: transparent">
+ <div style="outline-style: inherit; outline-color: green"></div>
+</div>