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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/calc-expression-with-zoom.html

Issue 2097383002: Added support of calc() for SVGLength (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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: third_party/WebKit/LayoutTests/svg/custom/calc-expression-with-zoom.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/calc-expression-with-zoom.html b/third_party/WebKit/LayoutTests/svg/custom/calc-expression-with-zoom.html
new file mode 100644
index 0000000000000000000000000000000000000000..9a76d70998da338dc8ebe29af02c6c57a384317c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/calc-expression-with-zoom.html
@@ -0,0 +1,8 @@
+ <!DOCTYPE html>
+<style>
+ body { zoom: 200%; }
+</style>
+<svg id="svg" width="500" height="500" viewBox='0 0 1000 1000'>
+ <rect width='calc(50px + 50)' height='100' fill='green'/>
+ <rect x='110' width='calc(50 + 50)' height='100' fill='green'/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698