summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-content/element-replacement-alt.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-content/element-replacement-alt.html')
-rw-r--r--testing/web-platform/tests/css/css-content/element-replacement-alt.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-content/element-replacement-alt.html b/testing/web-platform/tests/css/css-content/element-replacement-alt.html
new file mode 100644
index 0000000000..e9ee9344c2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-content/element-replacement-alt.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<title>The content CSS property with a broken image doesn't pull the alt attribute from that element</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="match" href="element-replacement-alt-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property">
+<div style="content: url(broken);" alt="Alt text">FAIL</div>