12ftguru
23 Sep 2011, 8:00 AM
Right now Sencha.io Src seems to be returning the wrong screen sizes for the default and percentage widths.
I have a test page up at http://www.12ftguru.com/senchaIO/ with the following code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>index.html</title>
<meta name="generator" content="BBEdit 10.0" />
<style>
div, img {
float: left;
}
div.blocky {
background: #c00;
width: 640px;
height: 640px;
}
</style>
</head>
<body>
<div class="blocky"> </div>
<img src="http://src.sencha.io/http://12ftguru.com/senchaIO/images/cat2.jpg">
<img src="http://src.sencha.io/640/http://12ftguru.com/senchaIO/images/cat2.jpg">
</body>
</html>
The first image should scale to the screen size, but it does not for either iPod Touch or iPad. The second image scales correctly to 640px (as seen by the big red 640x640 block). Using percentage widths only returns the percentage of the incorrect original size.
I have confirmed this on a couple of machines. Any idea what's going on? Is anyone NOT seeing this?28279
I have a test page up at http://www.12ftguru.com/senchaIO/ with the following code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>index.html</title>
<meta name="generator" content="BBEdit 10.0" />
<style>
div, img {
float: left;
}
div.blocky {
background: #c00;
width: 640px;
height: 640px;
}
</style>
</head>
<body>
<div class="blocky"> </div>
<img src="http://src.sencha.io/http://12ftguru.com/senchaIO/images/cat2.jpg">
<img src="http://src.sencha.io/640/http://12ftguru.com/senchaIO/images/cat2.jpg">
</body>
</html>
The first image should scale to the screen size, but it does not for either iPod Touch or iPad. The second image scales correctly to 640px (as seen by the big red 640x640 block). Using percentage widths only returns the percentage of the incorrect original size.
I have confirmed this on a couple of machines. Any idea what's going on? Is anyone NOT seeing this?28279