Review Request: KHTML, imload: Fix wrong version of last line of scaled tile

Aurélien Gâteau agateau at kde.org
Tue Jan 8 10:15:32 GMT 2013



> On Jan. 7, 2013, 6:30 p.m., Albert Astals Cid wrote:
> > Evil: do you think you could provide a test? Seems like if you already have an image that files, maybe it wouldn't be that hard?

Can be done, but I don't know where to put such tests: there is khtml/test/ but this contains only a few html files, images and a README which says not to add anything there. There is also khtml/tests/ which contains one unittest: khtmlparttest, but this is about testing instantiation of the KHTMLPart class. Is there a set of unit tests to check KHTML rendering?


- Aurélien


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108246/#review24936
-----------------------------------------------------------


On Jan. 7, 2013, 6:16 p.m., Aurélien Gâteau wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108246/
> -----------------------------------------------------------
> 
> (Updated Jan. 7, 2013, 6:16 p.m.)
> 
> 
> Review request for kdelibs, Martin Tobias Holmedahl Sandsmark and Maks Orlovich.
> 
> 
> Description
> -------
> 
> Code in scaledLoop32bit() has an off-by-one error in computation of the versions index, causing some images to contain garbage on their last line. This is visible in Konqueror and Akregator intro pages.
> 
> 
> Diffs
> -----
> 
>   khtml/imload/scaledimageplane.cpp e8ab684 
> 
> Diff: http://git.reviewboard.kde.org/r/108246/diff/
> 
> 
> Testing
> -------
> 
> Tested Akregator and Konqueror about pages. Browsed a few websites with Konqueror + KHTML.
> 
> 
> Screenshots
> -----------
> 
> Konqueror, before - after
>   http://git.reviewboard.kde.org/r/108246/s/988/
> 
> 
> Thanks,
> 
> Aurélien Gâteau
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20130108/20b16796/attachment.htm>


More information about the kde-core-devel mailing list