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

Unified Diff: LayoutTests/fast/dom/shadow/shadowdom-for-meter-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-meter-redistribute.html
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-meter-redistribute.html b/LayoutTests/fast/dom/shadow/shadowdom-for-meter-redistribute.html
new file mode 100644
index 0000000000000000000000000000000000000000..16e82a5e0f77a41d3f450b2547db4c1884189c5c
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-meter-redistribute.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+meter {
+ display: block;
+ width: auto
+}
+</style>
+<meter id="host"></meter>
+<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 meter.</div>";
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/dom/shadow/shadowdom-for-meter-redistribute-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698