Bug 251372

Summary: HTML5: Canvas testcase failures
Product: [Applications] konqueror Reporter: Rolf Eike Beer <kde>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal Keywords: testcase
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 156536    
Attachments: testcase

Description Rolf Eike Beer 2010-09-15 21:22:51 UTC
Version:           4.5.1 (using KDE 4.5.1) 
OS:                Linux

Microsoft provides testcases for various browser compliance things (see http://samples.msdn.microsoft.com/ietestcenter/#html5). Some of the HTML5 canvas tests faile:

#1 toDataURL on zero width canvas
#5 createlinearGradient() with two points same
#11 bezierCurveTo() must ensure subpaths
#15 Ignore property-independent style sheet syntax "inherit" in Text
#16 "font-size" component
#17 Text maxWidth
#18 drawImage() with SVG images

Reproducible: Didn't try
Comment 1 pasta0915 2010-12-01 16:47:46 UTC
I wrote testcases and checked on version 4.5.3.
#1 : worked correctly (canvas_01.html
#5 : worked correctly (canvas_02.html
#11 : worked wrong (canvas_03.html
#15 : worked wrong (canvas_06.html
#16 : worked wrong (canvas_04.html
#17 : worked wrong (canvas_05.html
Comment 2 pasta0915 2010-12-03 14:26:17 UTC
Created attachment 54034 [details]
testcase

sorry i failed uploading testcases
Comment 3 Rolf Eike Beer 2013-04-17 12:27:13 UTC
The number of the test inside the list on the MS page have changed, but the tests are still there and fail.
Comment 4 Christoph Cullmann 2024-05-06 18:38:32 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann