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

Unified Diff: LayoutTests/svg/zoom/text/zoom-em-units.html

Issue 18421006: Resolve em units against the specified font size in SVG (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « no previous file | LayoutTests/svg/zoom/text/zoom-em-units-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/zoom/text/zoom-em-units.html
diff --git a/LayoutTests/svg/zoom/text/zoom-em-units.html b/LayoutTests/svg/zoom/text/zoom-em-units.html
new file mode 100644
index 0000000000000000000000000000000000000000..a1b1e43b04e05923c988ee2e29c444f6c19724a6
--- /dev/null
+++ b/LayoutTests/svg/zoom/text/zoom-em-units.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+body {
+ zoom: 2;
+}
+rect {
+ fill : green;
+}
+div {
+ width: 3em;
+ height: 3em;
+ display: inline-block;
+ background-color: green;
+}
+</style>
+</head>
+<body>
+ Test for crbug.com/245996: This test passes if<br/>
+ there are two green squares of the same size.<br/>
+ <div></div>
+ <svg width="3em" height="3em">
+ <rect x="0" y="0" width="100%" height="100%"/>
+ </svg>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/zoom/text/zoom-em-units-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698