summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/1556414-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bidi/1556414-1.html')
-rw-r--r--layout/reftests/bidi/1556414-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/bidi/1556414-1.html b/layout/reftests/bidi/1556414-1.html
new file mode 100644
index 0000000000..474b112388
--- /dev/null
+++ b/layout/reftests/bidi/1556414-1.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+ <meta charset="utf-8"/>
+</head>
+<body>
+ <custom-span text="בדיקה"></custom-span>
+</body>
+<script>
+ class CustomSpan extends HTMLElement {
+ constructor() {
+ super();
+
+ var shadow = this.attachShadow({ mode: 'open' });
+
+ const span = document.createElement('span');
+ span.innerText = this.getAttribute('text');
+
+ shadow.appendChild(span);
+ }
+ }
+
+ window.customElements.define('custom-span', CustomSpan);
+</script>
+</html>