Qt Webkit HTML5 Score: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Developing with Qt::QtWebKit]]<br />[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]
[[Category:Developing with Qt::QtWebKit]]
[toc align_right="yes" depth="2"]


———— to be formatted
———— to be formatted


==== This is just to track support of Qt Webkit for HTML5. These are the ratings generating using &quot;html5test&amp;quot;:http://www.html5test.com<br />and on Qt Webkit 2.0.x ====
==== This is just to track support of Qt Webkit for HTML5. These are the ratings generating using "html5test":http://www.html5test.com
and on Qt Webkit 2.0.x ====


= SCORE 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 ==
Line 13: Line 16:
Score: '''1/11'''
Score: '''1/11'''


&lt;!DOCTYPE html&amp;gt; triggers standards mode Yes ✔<br />HTML5 tokenizer No ✘<br />HTML5 tree building No ✘<br />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.<br />SVG 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 ==
Line 19: Line 27:
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 ==
Line 25: Line 35:
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 />MPEG-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 ==
Line 31: Line 48:
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 />PCM audio support Yes ✔<br />MP3 support Yes ✔<br />AAC 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 ==
Line 37: Line 60:
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 ==
Line 43: Line 75:
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 />CSS 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 ==
Line 57: Line 115:
Score: '''15/15'''
Score: '''15/15'''


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


== Microdata ==
== Microdata ==
Line 69: Line 128:
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 ==
Line 75: Line 136:
Score: '''5/10'''
Score: '''5/10'''


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


= Related specifications =
= Related specifications =
Line 95: Line 157:
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 ==
Line 101: Line 166:
Score: '''0/20'''
Score: '''0/20'''


FileReader API No ✘<br />FileWriter API No ✘
FileReader API No ✘
FileWriter API No ✘


== Storage ==
== Storage ==
Line 107: Line 173:
Score: '''15/20'''
Score: '''15/20'''


Session Storage Yes ✔<br />Local Storage Yes ✔<br />IndexedDB No ✘<br />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.<br />Web SQL 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 ==
Line 125: Line 195:
Score: '''6/6'''
Score: '''6/6'''


Text selection Yes ✔<br />Scroll into view Yes ✔
Text selection Yes ✔
Scroll into view Yes ✔

Revision as of 09:52, 25 February 2015

[toc align_right="yes" depth="2"]

———— to be formatted

==== This is just to track support of Qt Webkit for HTML5. These are the ratings generating using "html5test":http://www.html5test.com 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 ✔