Questions tagged [webkit]

WebKit is an open-source Web content engine for browsers and other applications, such as Apple Safari, Mail, App Store and several mobile browsers including the pre-installed browsers for Android, iOS, RIM Blackberry, Symbian, and WebOS.

WebKit is an open-source Web content engine for browsers and other applications and was originally released by Apple in 2003 as part of its Safari browser.

Due to its open source nature and clean design, WebKit has been taken on and implemented as the engine for a wide variety of web browsers.


Documentation

7404 questions
4
votes
2 answers

-webkit-transition works OK in HTML4 transitional but not in HTML5?

I am running my app on google Chrome and Safari, both webkit-compliant. I'm building a scrolling div using -webkit-transition. It worked just fine when I had the doctype specified as HTML 4 transitional (!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0…
DaveC426913
  • 2,012
  • 6
  • 35
  • 63
4
votes
2 answers

Canvas.measureText differences on browsers are huge

EDIT: originally I checked only desktop browsers - but with mobile browsers, the picture is even more complicated. I came across a strange issue with some browsers and its text rendering capabilities and I am not sure if I can do anything to avoid…
Michael
  • 93
  • 1
  • 6
4
votes
12 answers

Weird artifacts on Safari when using -webkit-background-clip, -webkit-text-fill-color and gradient

So, I have this title text here: And as you can see, there's a weird line above the text with gradient. The CSS for that text is the following: color: #fff; background: -webkit-linear-gradient(180deg, #8dc9fb 0, #fff…
user3219369
4
votes
4 answers

How to set up a WebView to allow getImageData on canvas from local or remote files?

In my application I have a WebView and I would like to be able to disable the security feature of not allowing ctx.getImageData on a canvas where an image from the local (file:// url) machine was drawn. There doesn't seem to be a method on the…
Jakub Hampl
  • 39,863
  • 10
  • 77
  • 106
4
votes
0 answers

Reading files from CD using HTML5, webkitdirectory takes more time compared to reading local files

I have a web application which allows the user to upload DICOM and Non-DICOM files to their account. I am using JavaScript, HTML5, Webkitdirectory, Chrome and Datatable to populate selected files on UI. The issue i am facing is - While selecting…
4
votes
2 answers

Help Using Javascript Code in a UIWebView

I would like to run the following code in a webView, so that the content is editable: javascript: document.body.contentEditable ='true'; document.designMode='on'; void 0 So far I have got as far as trying this: -…
MKDev
  • 147
  • 2
  • 12
4
votes
0 answers

What's wrong with JavaFX's WebView text?

I'm experimenting with JavaFX's WebView that uses WebKit and there's something wrong with fonts. On Windows, a simple app I built looks like this: But on MacOS it looks like this Any ideas what's going on? What's wrong with JavaFX?
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
4
votes
1 answer

How to compare WKNavigation object

I need to know wether navigation at start(did commit navigation) and end(ie. did finish navigation) are same or not during WkWebview's loading process. I tried to compare WKNavigation object which the documentation states ...uniquely identify a…
Bigair
  • 1,452
  • 3
  • 15
  • 42
4
votes
2 answers

Android O failing to inflate webview after AFW enrollment

I'm using the latest Android O beta version in a Pixel XL device. This is my webview in xml.
kdas
  • 602
  • 2
  • 7
  • 22
4
votes
1 answer

How to make Qt support HTML 5 database?

I am using Qt 4.7.1 and embedded a webview in my app. But I got the following error when trying to visit http://webkit.org/demos/sticky-notes/ to test the HTML 5 database feature Failed to open the database on disk. This is probably because the…
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
4
votes
1 answer

Horizontal Border Gradient

This may seem trivial but I cannot seem to find an answer anywhere. I'm trying to make a border change to a gradient fill on hover. Here's the codepen; https://codepen.io/gavdraws/pen/LyWJML As you'll see, the vertical borders on each side work as…
Gavin Friel
  • 125
  • 12
4
votes
7 answers

Images not displaying in WebKit based browsers

For some strange, bizarre reason, my images in my website just will not display on webkit based languages (such as safari and chrome). This is the image tag Not only does it not display in the website,…
Josh Hunt
  • 14,225
  • 26
  • 79
  • 98
4
votes
2 answers

Qt programming: How to use custom data type in QVariantMap?

I am writing a Qt app that maps a C++ class to Javascript object in QtWebkit. Firstly let me explain what I am trying to do: I have a class inherited from QObject: class myobj : public QObject { Q_OBJECT public: myobj(); …
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
4
votes
1 answer

Need full example on this topic: QtWebKit Bridge

I am new to Qt and currently I am doing some stuff on this topic: http://doc.qt.io/archives/qt-4.7/qtwebkit-bridge.html What I am trying to do is: create a JS object that maps to a C++ class with many properties and functions. this C++ class could…
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
4
votes
1 answer

Detect the time when the user talk SpeechRecognition API?

I am trying to detect when the user pauses and start talking again without stop recognizing. This is the code I set to detect when the user talks and output it to the page: //set up vars var final_transcript; var recognizing = false; //check if…
1 2 3
99
100