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

Unified Diff: LayoutTests/css3/calc/viewport-unit.html

Issue 228063006: Remove special cases for viewport units, and add tests for viewport units in calc(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Convert to interpolation test. Created 6 years, 8 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/css3/calc/viewport-unit.html
diff --git a/LayoutTests/css3/calc/viewport-unit.html b/LayoutTests/css3/calc/viewport-unit.html
new file mode 100644
index 0000000000000000000000000000000000000000..3358fe9bfb6bafc083aa68a29873b06a15bbb65c
--- /dev/null
+++ b/LayoutTests/css3/calc/viewport-unit.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<style>
+body {
+ margin: 0;
+ height: 100vh;
+}
+div {
+ width: calc(50vw + 10%);
+ height: calc(50vh + 10%);
+ background-color: green;
+}
+</style>
+<div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698