diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-06 13:04:35 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-06 13:04:35 +0000 |
commit | 3824bcdc66984af806fdee0c0407057cef13a2e3 (patch) | |
tree | 06443e1e4bae0ff76af0f36c30c0e51d2414d3a1 /experimental/webtry | |
parent | 0205aba7d5e8802d2a3ef55d999f5aa41db3adc9 (diff) |
Square pixels on zoom.
BUG=skia:
R=mtklein@google.com
Author: jcgregorio@google.com
Review URL: https://codereview.chromium.org/270073004
git-svn-id: http://skia.googlecode.com/svn/trunk@14587 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/webtry')
-rw-r--r-- | experimental/webtry/res/css/webtry.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/webtry/res/css/webtry.css b/experimental/webtry/res/css/webtry.css index 1320446ff1..1a1d611871 100644 --- a/experimental/webtry/res/css/webtry.css +++ b/experimental/webtry/res/css/webtry.css @@ -15,10 +15,10 @@ img { .zoomCanvas { position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; + width: vmin; + height: vmin; + top: 3em; + right: 1em; z-index: -1; } |