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

Side by Side Diff: LayoutTests/svg/zoom/text/zoom-text-and-geometry-expected.html

Issue 18190003: Account for zoom when computing SVG font size. (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 body {
6 font-size : 16px;
7 font-family : "Times New Roman";
8 zoom: 2;
9 }
10 rect {
11 fill : green;
12 stroke: green;
13 }
14 </style>
15 </head>
16 <body>
17 crbug.com/245996: Text should zoom like geometry.<br/>
18 This test passes if there is no red.<br/>
19 <svg version="1.1" width="32px" height="32px">
20 <rect x="10" y="10" width="12" height="12"/>
21 </svg>
22 <svg version="1.1" width="2em" height="2em">
23 <rect x="10" y="10" width="12" height="12"/>
24 </svg>
25 <svg version="1.1" width="2em" height="2em" viewbox="0 0 32 32">
26 <rect x="10" y="10" width="12" height="12"/>
27 </svg>
28 <svg version="1.1" width="32px" height="32px">
29 <rect x="10" y="10" width="12" height="12"/>
30 </svg>
31 <svg version="1.1" width="2em" height="2em">
32 <rect x="10" y="10" width="12" height="12"/>
33 </svg>
34 <svg version="1.1" width="2em" height="2em" viewbox="0 0 32 32">
35 <rect x="10" y="10" width="12" height="12"/>
36 </svg>
37 </body>
38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698