webkit

render HTML (convert to bitmap)

Can somebody recommend the best (and preferably portable) way to render HTML documents onto a bitmap? As far as I understand my main 2 options are WebKit and Gecko, but I wasn't able to find a good starting point on how to do it. When I last tried doing this 5 years ago, I ended up using Gecko to send the document to a printer, which i...

Is there an equivalent apple-touch-startup-image for the IPAD?

For web apps you can set the startup screen with apple-touch-startup-image What about for iPads? ...

Using of html5 <video> tag in web-based applications for iPhone

As you know iPhone plays video content from < video> tags in full-screen mode via internal media player. Here I have several questions: 1) is it possible to show custom text over video playing? something like subtitles appeared during movie playback. I tried several solutions like http://blog.gingertech.net/2008/12/12/attaching-subtitl...

Finding proper offsetLeft within CSS3 columns on webkit

I'm the author of the multi-column articles Greasemonkey script (http://userscripts.org/scripts/show/9022), which I'm trying to port from Firefox to WebKit-based browsers like Chrome. In doing so, I ran into this WebKit issue (I'm the reporter of the bug). In essence, the offsetLeft property doesn't seem to be set correctly for paragra...

How can I equalize the heights of text input fields?

What is the best way to equalize the height of my <select..> elements and my <input type="text"..> elements? It's proving difficult because of differences in box-sizing models. Google Chrome's user agent stylesheet has this: select { -webkit-box-sizing: border-box; } ..whereas other text input fields use the content box model. Why th...

Safari 4.0.5 will not play any HTML5 (H.264) video

The html5test.com tells me that my browser does not support the <video> element, and when I try example page, I get the fallback message, usually "Your browser does not support HTML5 video." I know this should work in Safari. I am on Windows 7, 64-bit (running 32-bit Safari). Video works in Safari for everyone else in the office. (Wi...

Embeding Gecko/Webkit in Java

Id' like to have Gecko/Webkit/other webbrowser embeded in Java as a swing/awt control. I like something different to Jrex or JWebPane. ...

iPhone - customizing WebKit

Hello, Apple has disabled the overflow CSS aspect in mobile Safari so it is not possible to scroll inside a fixed height div. This is quite annoying. While making an iPhone native app, is it possible to access WebKit settings to turn that feature on ? ...

Ajax doesn't trigger a change-event on a webkit based browser

I have adapted a Jquery plugin to for-fill my needs to send GET requests to servers as a way of "pinging" them. I've also added some javascript code to add some fancy features like: depending on the changed value in a span that the Jquery plugin changes, it changes the Icon accordingly. To make it all work essentially, I made so that w...

WebKit and npapi and mingw-w64

Hi, The problem is the following: On Windows x64, pointers are 64-bit, but type long is 32-bit. MSVC doesn't seem to care, and even omits warnings about pointer truncation on the default warning level. Since recently, there is a GCC that targets x86_64-w64-mingw32, or better native Windows x64. GCC produces errors when pointers are trun...

Coverflow in HTML5 for iPhone/iPod Touch

Hi, I have to do a web page destined for iPhone and iPod-touch that needs to incorporate the Coverflow style of apple in a page to display a list of videos. I've heard something about gizmos that could help, but I can't find anything relevant or that could work properly with the iPhone/iPod-Touch navigation. Anyone knows something t...

css menu hover "hangs" in chrome & safari

Greetings - Struggeling with a three-level css menu. Works fine in FireFox and Opera for mac, but in Chrome and Safari the third level "sticks" or "hangs" as a watermark after you move the cursor away. I have tried a few different things without luck. Live demo here: http://www.it-stud.hiof.no/~benteh/tmp/ I have cut away eve...

Canvas Image Smoothing

What is ctx.mozImageSmoothingEnabled = false; for webkit(or other browsers)? I need it to remove anti-aliasing because i am trying to get a pixelized effect to an image. With anti-aliasing, it looks bad-quality but with no sharp edges. ...

Can I use Data URLs in Android 2.1's Webkit-based browser?

Hi all, I am writing a tutorial about the HTML5 Canvas for mobile and did some basic tests. While I can call the getDataURL() Method on an iPhone's HTML5 Canvas Element, it does not seem to return the data URL on Android 2.1 (Google Nexus One) and it's webkit-based default browser. Here is the sample: var dataURL = canvas.toDataURL();...

Website does not automatically fit to iphone screen

Hello, The following code does not fit onto the iphone screen; how do I have to define the viewport? <html> <body> <center> <div id="karteu" style="background: url('../customer/Karten/karte1.jpg') no-repeat left center;width:714px;height:540px;" > </div> </body> </html> Normally the site should be zoomed, so i first should see the web...

Android browser scaling?

I'm trying to create a mobile website for android. When I set the width of the body to 480px (the width of the screen) the result is about 50% larger than what I expect. It seems that android is scaling what it draws and messing up all my layouts. Does anyone know how to disable this, or work around it? I'm already using this: <meta n...

Changing Textbox and other UI components in Qt/Webkit ?

I am making my own browser with Qt/Webkit for touch screen devices. I want to have My own editbox in browser ( so that when user click on it, I can open virtual keyboard), Touch friendly listbox and other controls. So In QWebView I want to have MyOwnTextEdit instread of QTextEdit and same for all other UI controls. Please tell me How c...

Web browsers layout engines, question about API

I'm a little new to GUI things, but I read about Webkit, Presto etc.. all these layout rendering things. How do they for example draw HTML etc. on my Windows form? Take Opera, I've this window form... all that flash, and images, text. Is that all GDI for example? Or have they created their own API for that? And that API, who does that ta...

Get background-position

Hi, I'm trying to animate a canvas on three different layers on the onmousedown and ontouchstart. The three canvas go from left to right at a different speed to give a perspective effect as long as the onmouseup or ontouchend are not fired. I am using @-webkit-keyframes css to do my animations: @-webkit-keyframes aCarsRight { from{ba...

How do I know all the events (especially webkit only) supported by webkit/chrome/safari

I just cannot find a reference doc for webkit/chrome/safari ...