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

Unified Diff: LayoutTests/fast/css/variables/prefix.html

Issue 16183002: Unprefix CSS Variables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and updated prefix test Created 7 years, 6 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/css/variables/prefix.html
diff --git a/LayoutTests/fast/css/variables/prefix.html b/LayoutTests/fast/css/variables/prefix.html
new file mode 100644
index 0000000000000000000000000000000000000000..e89f4d04ee01f664d43b5458fd7e2bf061398d5e
--- /dev/null
+++ b/LayoutTests/fast/css/variables/prefix.html
@@ -0,0 +1,18 @@
+<style>
+#outer {
+ color: white;
+ background-color: green;
+}
+#inner {
+ -webkit-var-test: red;
+ background-color: -webkit-var(test);
+}
+</style>
+<div id="outer">
+ <div id="inner">This text should be white on a green background.</div>
+</div>
+<div id="inline" style="var-test: 123">This text should end in an unprefixed CSS variable property: </div>
+<script>
+var div = document.querySelector("#inline");
+div.innerHTML += div.style[0];
+</script>
« no previous file with comments | « LayoutTests/fast/css/variables/name-case-sensitive.html ('k') | LayoutTests/fast/css/variables/prefix-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698