After some grueling debugging, I think I have found a bug in the iPad Safari's implementation of canvas.drawImage(). Specifically this overload:
void drawImage(in HTMLImageElement image, in float sx, in float sy, in float sw, in float sh, in float dx, in float dy, in float dw, in float dh);
When slicing an image and scaling it down, i...
Anyone here know the fix for this?
...
You can see this problem for a while at:
http://www.hopplayground.com/
I'm trying to display a cufon headline and nav system. The font I'm using is a little too widely kerned, so I'm trying to push the letters closer together with letter-spacing in the CSS:
h1, h2, h3 {
margin: 0;
padding: 0;
font-family: "DIN 1451 Std", Trebu...
This is a problem I've encountered on both Windows and Mac for many, many months and it's driving me crazy. Whenever I drop in a "debugger" directive or set a breakpoint in the Safari scripts console, more than half the time the code breaks where it is supposed to, but the code view is blank; some of the JS files are also blank, but not ...
I'm experiencing what seems to be a caching issue with Google Chrome and Safari on my cart page. In the cart there are 2 dropdown lists. When you hit the checkout button after changing the values in the dropdown lists, it commits what's selected in the lists to the database.
It's a little bit hard to explain the unexpected behavior so I...
Im looking for a loading (progress bar) like the one seen in the the mobile safari app. I want a bar to cross a uitextfeild using the actual loading data. Has this been done?
Thanks!
...
I have a box in one of my websites that has a these property:
-moz-box-shadow:inset 0 0 50px #ecf4de;
-webkit-box-shadow:inset 0 0 50px #ecf4de;
box-shadow:inset 0 0 50px #ecf4de;
This gives the box a nice gradient towards the center. However, Safari does not support the "inset" property and IE doesn't support box-shadow at all. I can...
This works fine in FireFox:
$("#listname").val().trim()
But in safari it errors: $("#listname").val().trim() while this does work, $("#listname").val()
Why is that?
...
Is it possible to use AppleScript to open a link in a new tab in Safari?
Thanks in advance!
...
I'm trying to open the Safari browser in my app using http post.
I know how to do this using get, but I can't find anything for http post.
Any help would be appreciated. Thanks!
...
Hi there,
I have problem with web after adding icon to Home Screen. If the web is launched from Home Screen, all links will open in new window in Safari (and lose full screen functionality). How can I prevent it? I couldn't find any help, only the same unanswered question.
Please help.
Thanks.
...
Does anyone know how to either lock Mobile Safari's orientation to portrait, or to block landscape (via javascript or otherwise)?
In other words, I want the web page to remain in portrait mode regardless of the orientation of the device.
...
I'm developing a WebKit Safari Plugin with Xcode. How do I call JavaScript from -webPlugInStart?
...
My client is starting to get antsy....so any help would be greatly appreciated. I am having issues with my secondary page header images shifting. It is displaying correctly in Firefox, I haven't been able to check in IE yet w/out access to a PC. It was displaying correctly in Chrome, but shifting in Safari.
I added the "webkit hack" ...
Hi
I have a horizontal scrolling site that uses jquery to reverse the mouse axis on the scroll wheel on the mouse. This works fine on every browser apart from safari. The address of the page with the scrolling is here: http://www.jamesbells.com/index.php?page=alias
Can anyone help - all I need is for the mouse wheel to scroll left and...
I'm trying to create a new tab in a Safari window from Cocoa using Scripting Bridge. My code looks something like this:
SafariApplication *safari = [SBApplication applicationWithBundleIdentifier:@"com.apple.Safari"];
if ([[safari windows] count] == 0)
{
NSLog(@"No window found. Creating a new one.");
...
I'm trying to return focus to the textbox after showing message. Like the following code:
<input type="text" id="text1" />
<input type="submit" id="submit1" onclick="alert('test');document.getElementById('text1').focus();return false;" />
It's not working in Safari. I've got version 4.0.5 for Windows.
...
My website renders well on the iPhone/Safari browser, with one exception: My text input fields have a weird rounded style which doesn't look good at all with the rest of my website.
Is there a way to instruct Safari (via CSS or metadata) not to round the input fields and render them rectangular as intended?
...
Safari on the iPhone renders my {position: relative; top: 80px;} div 1px too low (all other browsers work fine) - is there any way to fix this via conditional css?
...
Hi all. I am building an app using the tablesorter plug-in and it's pager plug-in. Things work perfectly fine in Firefox and IE, but in Safari (4.0.4 on a PC) and Chrome () I get errors when it hits the following code that binds the tablesorter pager. I took the pager binding out and it worked, so something is going wrong somewhere in th...