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

Unified Diff: LayoutTests/fast/css/variables/border-width.html

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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/border-width.html
diff --git a/LayoutTests/fast/css/variables/border-width.html b/LayoutTests/fast/css/variables/border-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..ba6a090a137a6116fcb455c26ac1d7d309aea56d
--- /dev/null
+++ b/LayoutTests/fast/css/variables/border-width.html
@@ -0,0 +1,10 @@
+<style>
+div {
+ border-width: var(--a) var(--b) ;
+ --a: 3px;
+ --b: 10px;
+ border-color: green;
+ border-style: solid;
+}
+</style>
+<div>This text should have top and bottom borders of 3px and left and right borders of 10px</div>

Powered by Google App Engine
This is Rietveld 408576698