Index: LayoutTests/fast/dom/shadow/shadowdom-for-progress-redistribute.html |
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-progress-redistribute.html b/LayoutTests/fast/dom/shadow/shadowdom-for-progress-redistribute.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..405246e16a21152f18d4c561acce41c78067c632 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-progress-redistribute.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<style> |
+progress { |
+ display: block; |
+ width: auto |
+} |
+</style> |
+<progress id="host" min="0" max="100" value="50"></progress> |
+<script> |
+if (window.internals) |
+ internals.settings.setAuthorShadowDOMForAnyElementEnabled(true); |
+ |
+document.body.offsetTop; // Force rendering with UA Shadow DOM. |
+ |
+var root = host.createShadowRoot(); |
+root.innerHTML = "<div>You should see no progress.</div>"; |
+</script> |