Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: LayoutTests/fast/dom/shadow/shadowdom-for-progress-redistribute.html

Issue 880573007: Re-attach renderer for progress/meter when author shadow is allowed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698