webkit

Webkit support for gradient transitions

Hi, Im wondering if anyone know when will webkit support transitions of gradients? for example, the following code doesnt work in Chrome 6 (assuming grad-transition is a link): .grad-transition { background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(black)); -webkit-transition: background-image .5s; } .grad-t...

How to force clear user's cache/cookies?

Is there any way to force clear users cache and/or cookies? Especially in Safari/Webkit. Many thanks! ...

webkit profiler

what are the 'self' and 'total' columns? The 'total' column does not add up to 100% (much higher) and it looks like the self does. I suspect self is non-cumulative and total is. So if methodA calls methodB calls methodC, in self Id see the % for each method call individually, whereas in total methodA would show the total of all three ...

Zooming in WebView (Cocoa)

I have a Cocoa application with a WebView and would like to add buttons to zoom in and out, and was wondering how to accomplish this. I am also using custom scrollbars (via NSSlider) so the scrollbars that are part of the WebView are hidden. ...

<div> height 100% isn't working in Chrome

I'm having a problem, which already searched the internet but can not solve. I have an iframe, and inside I have a page that is loading the following CSS. html, body { position:relative; height:100%; } .c1{ float:left; text-align:left; margin-top:1px; margin-bottom:1px; width:100%; } .c2{ float:left; text-...

Strange `clear: both;` bug using WebKit

Hello, I am developing a website for a Curling Club in France. When you open the website http://www.bcc.ionyse.com/ with Firefox you don't have any problem. But if you try using webkit, the right column disappear. Do you know what's wrong ? I am guessing some clear or overflow CSS properties are missing but I cannot figure out how. Th...

Flip a div back to front with webkit transform CSS3

I know it sounds a bit weird but can you flip a div back to front with -webkit-trasnform? For example imagine a show window with writing on but you are looking at it from the inside so the writing is back to front. ...

Trying to get vertical text to bottom align

The layout I'm trying to achieve is shown in this image: The HTML below is one of many attempts which haven't worked. The project this is for is targeting HTML5 in the latest browsers only, so there is no need for it to work in anything except the latest Chrome, Safari, Firefox and (with a following wind) IE9 beta. <!DOCTYPE html> <h...

webkit animation props

is there a way to get a webkit animation to run indefinitely? ...

Javascript: Resize page contents to fit window size (no scroll bars)?

I'm trying to write a bit of code that shrinks the size of the contents of the current page to eliminate vertical and horizontal scrollbars. This script only has to work on Mobile Safari, so I'm not very worried about browser compatibility. Here's what I have so far: // maxHeight, maxWidth are the height and width of the browser wi...

Change dimensions of body with JavaScript

How can I change the dimensions (width, height) of the body element after the content has been loaded? Restrictions: Only targeting WebKit browsers Can't use frameworks like JQuery Can't make changes to the original HTML file; only execute JavaScript after the content has been loaded. ...

WebKit gradient from an image

Does anyone know if there is a tool that will take an image (.png, .gif, etc) and output the gradient that the image contains? I really want to recreate this image in css. Looks like a mix of linear and radial gradients and is beyond my css skills ...

Can't figure out why Chrome/Safari can't get the ScrollHeight right here

I just asked a question about why a certain js code won't work in Chrome and Safari 100%, but after more troubleshooting I think I have found out that this is the question I should be posting. I have a page which has a form in it. This form's target is an iframe on the same page. The iframe is dynamic, and php based. This is the bottom...

How does facebook rewrite the source URL of a page in the browser address bar?

Go to http://www.facebook.com/facebook?v=wall, then click on the info tab. The content will be loaded, and the address bar now becomes http://www.facebook.com/facebook?v=info but the webpage didn't reload. At first I think it is Ajax, but my question is, how do you change the address bar without reloading? I know I can change anchor (#w...

Stack gradients in -webkit-gradient

Can I combine 3 gradients into one -webkit-gradient? I want to have an image that has a radial gradient for the "background" and "middle-ground" and a linear gradient for the "foreground". Is this possible? ...

How to enable -webkit-animation/transition-property for :before and :after pseudo elements?

How to enable -webkit-animation for :before and :after pseudo elements? You can see in http://jsfiddle.net/4rnsx/ that it is not working for :before and :after. And here I am trying to enable this feature with Mootools http://jsfiddle.net/6bzCS/. Mozilla - will support it in Firefox 4 https://developer.mozilla.org/en/CSS/-moz-transit...

Is it possible to use Webkit as a framework on iPhone?

Hi guys. I'm developing on iPhone App.And I want to use webkit for browsing. As you know apple provides webkit(UIWebview). but it just provides extremely limited api like loadpage, back and forward something like that. So, my question is how can I use webkit engine? Anybody know? It's ok even if you just know a little hint for this. ...

Images are messed up in webkit

On this page http://cacrochester.com/ the 2 rotating images are messed up in webkit browsers. It's not all the time, and it's usually not on the first image. Why is that? I'm using the NivoSlider jquery plugin to rotate the images. here's what i'm seeing. ...

iPhone web app - How to uploade local fotos in browser?

Hello all i try relly all, but i can't finde out how i can uploade fotos from my iPhone in a iPhone browser to the server? i have try whit simple HTML but its not work, can sombardy maby help me? i use the jQuery lib. jQTouch if its help. ...

Why isn't my jQuery plugin loading in webkit browsers?

I'm using the Galleria plug-in. It works perfectly in Firefox and IE 7/8 but just completely fails in Chrome/Safari. The JavaScript doesn't even kick in, you can tell by the fact that it's not surrounded the #gallery div with the extra #galleria-container divs like it normally does. Literally nothing happens, I've checked the resource tr...