Qt Webkit HTML5 Score: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(clean-up)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
—————- to be formatted
[[Category:Developing with Qt::QtWebKit]]


====This is just to track support of Qt Webkit for HTML5. These are the ratings generating using [http://www.html5test.com html5test] ''[html5test.com]'' and on Qt Webkit 2.0.x====
This is just to track support of Qt Webkit for HTML5. These are the ratings generating using [http://www.html5test.com html5test]
and on Qt Webkit 2.0.x  


=<span class="caps">SCORE</span> out of 400=
= SCORE out of 400 =


Total Score is 212<br /> And Bonus Points: 2
Total Score is 212
And Bonus Points: 2


==Parsing rules==
== Parsing rules ==


Score: '''1/11'''
Score: '''1/11'''


&lt;!DOCTYPE html&gt; triggers standards mode Yes ✔<br /> HTML5 tokenizer No ✘<br /> HTML5 tree building No ✘<br /> HTML5 defines rules for embedding <span class="caps">SVG</span> and MathML inside a regular <span class="caps">HTML</span> document. Support for <span class="caps">SVG</span> and MathML is not required though, so bonus points are awarded if your browser supports embedding these two technologies. <br /><span class="caps">SVG</span> in text/html No ✘<br /> MathML in text/html No ✘
<!DOCTYPE html> triggers standards mode Yes ✔
HTML5 tokenizer No ✘
HTML5 tree building No ✘
HTML5 defines rules for embedding SVG and MathML inside a regular HTML document. Support for SVG and MathML is not required though, so bonus points are awarded if your browser supports embedding these two technologies.
SVG in text/html No ✘
MathML in text/html No ✘


==Canvas==
== Canvas ==


Score: '''20/20'''
Score: '''20/20'''


canvas element Yes ✔<br /> 2D context Yes ✔<br /> Text Yes ✔
canvas element Yes ✔
2D context Yes ✔
Text Yes ✔


==Video==
== Video ==


Score: '''21/31'''
Score: '''21/31'''


video element Yes ✔<br /> Subtitle support No ✘<br /> Poster image support Yes ✔<br /> The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more video codecs, two bonus points are awarded for each codec. <br /><span class="caps">MPEG</span>-4 support No ✘<br /> H.264 support No ✘<br /> Ogg Theora support No ✘<br /> WebM support No ✘
video element Yes ✔
Subtitle support No ✘
Poster image support Yes ✔
The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more video codecs, two bonus points are awarded for each codec.
MPEG-4 support No ✘
H.264 support No ✘
Ogg Theora support No ✘
WebM support No ✘


==Audio==
== Audio ==


Score: '''2 bonus points: 20'''
Score: '''2 bonus points: 20'''


audio element Yes ✔<br /> The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more audio codecs, one bonus point is awarded for each codec. <br /><span class="caps">PCM</span> audio support Yes ✔<br /> MP3 support Yes ✔<br /><span class="caps">AAC</span> support No ✘<br /> Ogg Vorbis support No ✘<br /> WebM support No ✘
audio element Yes ✔
The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more audio codecs, one bonus point is awarded for each codec.
PCM audio support Yes ✔
MP3 support Yes ✔
AAC support No ✘
Ogg Vorbis support No ✘
WebM support No ✘


==Elements==
== Elements ==


Score: '''24/38'''
Score: '''24/38'''


Embedding custom non-visible data No ✘<br /> New or modified elements <br /> Section elements Yes ✔<br /> Grouping content elements No ✘<br /> Text-level semantic elements Partial ○<br /> Interactive elements Partial ○<br /> Global attributes or methods <br /> hidden attribute No ✘<br /> contenteditable attribute Yes ✔<br /> Dynamic markup insertion Yes ✔
Embedding custom non-visible data No ✘
New or modified elements
Section elements Yes ✔
Grouping content elements No ✘
Text-level semantic elements Partial ○
Interactive elements Partial ○
Global attributes or methods
hidden attribute No ✘
contenteditable attribute Yes ✔
Dynamic markup insertion Yes ✔


==Forms==
== Forms ==


Score: '''31/90'''
Score: '''31/90'''


Field types <br /> input type=search Yes ✔<br /> input type=tel Yes ✔<br /> input type=url Yes ✔<br /> input type=email Yes ✔<br /> input type=datetime Partial ○<br /> input type=date Partial ○<br /> input type=month Partial ○<br /> input type=week Partial ○<br /> input type=time Partial ○<br /> input type=datetime-local Partial ○<br /> input type=number Partial ○<br /> input type=range Yes ✔<br /> input type=color Partial ○<br /> input type=checkbox Yes ✔<br /> select No ✘<br /> fieldset No ✘<br /> datalist Partial ○<br /> keygen Partial ○<br /> output No ✘<br /> progress No ✘<br /> meter No ✘
Field types
input type=search Yes ✔
input type=tel Yes ✔
input type=url Yes ✔
input type=email Yes ✔
input type=datetime Partial ○
input type=date Partial ○
input type=month Partial ○
input type=week Partial ○
input type=time Partial ○
input type=datetime-local Partial ○
input type=number Partial ○
input type=range Yes ✔
input type=color Partial ○
input type=checkbox Yes ✔
select No ✘
fieldset No ✘
datalist Partial ○
keygen Partial ○
output No ✘
progress No ✘
meter No ✘


===Fields===
=== Fields ===


Field validation Yes ✔<br /> Association of controls and forms Partial ○<br /> Other attributes Partial ○<br /><span class="caps">CSS</span> selectors Partial ○<br /> Events Yes ✔
Field validation Yes ✔
Association of controls and forms Partial ○
Other attributes Partial ○
CSS selectors Partial ○
Events Yes ✔


===Forms===
=== Forms ===


Form validation Yes ✔<br /> Events No ✘
Form validation Yes ✔
Events No ✘


==User interaction==
== User interaction ==


Score: '''15/15'''
Score: '''15/15'''


Drag and drop Yes ✔<br /> Session history Yes ✔
Drag and drop Yes ✔
Session history Yes ✔


==Microdata==
== Microdata ==


Score: '''0/15'''
Score: '''0/15'''
Line 63: Line 121:
Microdata No ✘
Microdata No ✘


==Web applications==
== Web applications ==


Score: '''19'''
Score: '''19'''


Application Cache Yes ✔<br /> Custom scheme handlers Yes ✔<br /> Custom content handlers Yes ✔
Application Cache Yes ✔
Custom scheme handlers Yes ✔
Custom content handlers Yes ✔


==Security==
== Security ==


Score: '''5/10'''
Score: '''5/10'''


Sandboxed iframe Yes ✔<br /> Seamless iframe No ✘
Sandboxed iframe Yes ✔
Seamless iframe No ✘


=Related specifications=
= Related specifications =


==Geolocation==
== Geolocation ==


Score: '''0/15'''
Score: '''0/15'''
Line 83: Line 144:
Geolocation No ✘
Geolocation No ✘


==WebGL==
== WebGL ==


Score: '''0/15'''
Score: '''0/15'''
Line 89: Line 150:
3D context No ✘
3D context No ✘


==Communication==
== Communication ==


Score: '''25/25'''
Score: '''25/25'''


Cross-document messaging Yes ✔<br /> Server-Sent Events Yes ✔<br /> Both Mozilla and Opera do support the WebSocket protocol in their latest browsers, but have disabled it due to a fundamental security issue with the protocol. Once the protocol has been updated it is expected they will re-enable this feature. <br /> WebSocket Yes ✔
Cross-document messaging Yes ✔
Server-Sent Events Yes ✔
Both Mozilla and Opera do support the WebSocket protocol in their latest browsers, but have disabled it due to a fundamental security issue with the protocol. Once the protocol has been updated it is expected they will re-enable this feature.
WebSocket Yes ✔


==Files==
== Files ==


Score: '''0/20'''
Score: '''0/20'''


FileReader <span class="caps">API</span> No ✘<br /> FileWriter <span class="caps">API</span> No ✘
FileReader API No ✘
FileWriter API No ✘


==Storage==
== Storage ==


Score: '''15/20'''
Score: '''15/20'''


Session Storage Yes ✔<br /> Local Storage Yes ✔<br /> IndexedDB No ✘<br /> The Web <span class="caps">SQL</span> Database specification is no longer being updated and has been replaced by IndexedDB. Because at least 3 vendors have shipped implementations of this specification we still include it in this test. <br /> Web <span class="caps">SQL</span> Database Yes ✔
Session Storage Yes ✔
Local Storage Yes ✔
IndexedDB No ✘
The Web SQL Database specification is no longer being updated and has been replaced by IndexedDB. Because at least 3 vendors have shipped implementations of this specification we still include it in this test.
Web SQL Database Yes ✔


==Workers==
== Workers ==


Score: '''10/10'''
Score: '''10/10'''
Line 113: Line 182:
Web Workers Yes ✔
Web Workers Yes ✔


==Local devices==
== Local devices ==


Score: '''0/20'''
Score: '''0/20'''
Line 119: Line 188:
device element No ✘
device element No ✘


==Other==
== Other ==


Score: '''6/6'''
Score: '''6/6'''


Text selection Yes ✔<br /> Scroll into view Yes ✔
Text selection Yes ✔
 
Scroll into view Yes ✔
===Categories:===
 
* [[:Category:Developing with Qt|Developing_with_Qt]]
** [[:Category:Developing with Qt::QtWebKit|QtWebKit]]

Latest revision as of 01:49, 24 March 2016


This is just to track support of Qt Webkit for HTML5. These are the ratings generating using html5test and on Qt Webkit 2.0.x

SCORE out of 400

Total Score is 212 And Bonus Points: 2

Parsing rules

Score: 1/11

<!DOCTYPE html> triggers standards mode Yes ✔ HTML5 tokenizer No ✘ HTML5 tree building No ✘ HTML5 defines rules for embedding SVG and MathML inside a regular HTML document. Support for SVG and MathML is not required though, so bonus points are awarded if your browser supports embedding these two technologies. SVG in text/html No ✘ MathML in text/html No ✘

Canvas

Score: 20/20

canvas element Yes ✔ 2D context Yes ✔ Text Yes ✔

Video

Score: 21/31

video element Yes ✔ Subtitle support No ✘ Poster image support Yes ✔ The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more video codecs, two bonus points are awarded for each codec. MPEG-4 support No ✘ H.264 support No ✘ Ogg Theora support No ✘ WebM support No ✘

Audio

Score: 2 bonus points: 20

audio element Yes ✔ The following tests go beyond the requirements of the HTML5 specification and are not counted towards the total score. If a browser supports one or more audio codecs, one bonus point is awarded for each codec. PCM audio support Yes ✔ MP3 support Yes ✔ AAC support No ✘ Ogg Vorbis support No ✘ WebM support No ✘

Elements

Score: 24/38

Embedding custom non-visible data No ✘ New or modified elements Section elements Yes ✔ Grouping content elements No ✘ Text-level semantic elements Partial ○ Interactive elements Partial ○ Global attributes or methods hidden attribute No ✘ contenteditable attribute Yes ✔ Dynamic markup insertion Yes ✔

Forms

Score: 31/90

Field types input type=search Yes ✔ input type=tel Yes ✔ input type=url Yes ✔ input type=email Yes ✔ input type=datetime Partial ○ input type=date Partial ○ input type=month Partial ○ input type=week Partial ○ input type=time Partial ○ input type=datetime-local Partial ○ input type=number Partial ○ input type=range Yes ✔ input type=color Partial ○ input type=checkbox Yes ✔ select No ✘ fieldset No ✘ datalist Partial ○ keygen Partial ○ output No ✘ progress No ✘ meter No ✘

Fields

Field validation Yes ✔ Association of controls and forms Partial ○ Other attributes Partial ○ CSS selectors Partial ○ Events Yes ✔

Forms

Form validation Yes ✔ Events No ✘

User interaction

Score: 15/15

Drag and drop Yes ✔ Session history Yes ✔

Microdata

Score: 0/15

Microdata No ✘

Web applications

Score: 19

Application Cache Yes ✔ Custom scheme handlers Yes ✔ Custom content handlers Yes ✔

Security

Score: 5/10

Sandboxed iframe Yes ✔ Seamless iframe No ✘

Related specifications

Geolocation

Score: 0/15

Geolocation No ✘

WebGL

Score: 0/15

3D context No ✘

Communication

Score: 25/25

Cross-document messaging Yes ✔ Server-Sent Events Yes ✔ Both Mozilla and Opera do support the WebSocket protocol in their latest browsers, but have disabled it due to a fundamental security issue with the protocol. Once the protocol has been updated it is expected they will re-enable this feature. WebSocket Yes ✔

Files

Score: 0/20

FileReader API No ✘ FileWriter API No ✘

Storage

Score: 15/20

Session Storage Yes ✔ Local Storage Yes ✔ IndexedDB No ✘ The Web SQL Database specification is no longer being updated and has been replaced by IndexedDB. Because at least 3 vendors have shipped implementations of this specification we still include it in this test. Web SQL Database Yes ✔

Workers

Score: 10/10

Web Workers Yes ✔

Local devices

Score: 0/20

device element No ✘

Other

Score: 6/6

Text selection Yes ✔ Scroll into view Yes ✔