Bug 130596 - Subpixel rendering: Make <img> positioning subpixel aware.
Summary: Subpixel rendering: Make <img> positioning subpixel aware.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 09:05 PDT by zalan
Modified: 2014-03-21 15:09 PDT (History)
7 users (show)

See Also:


Attachments
Patch (20.46 KB, patch)
2014-03-21 11:50 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (21.73 KB, patch)
2014-03-21 12:37 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (21.71 KB, patch)
2014-03-21 14:32 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2014-03-21 09:05:08 PDT
+ this also enables proper hairline bordering for <img>
Comment 1 zalan 2014-03-21 09:05:20 PDT
patch is coming up.
Comment 2 zalan 2014-03-21 11:50:24 PDT
Created attachment 227467 [details]
Patch
Comment 3 Simon Fraser (smfr) 2014-03-21 12:05:24 PDT
Comment on attachment 227467 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=227467&action=review

> Source/WebCore/platform/graphics/GraphicsContext.cpp:562
> +    drawImage(image, styleColorSpace, FloatRect(p, FloatSize(image->size())), FloatRect(FloatPoint(), FloatSize(image->size())), op, description);

Doesn't implicit IntSize -> FloatSize conversion happen?
Comment 4 zalan 2014-03-21 12:28:47 PDT
(In reply to comment #3)
> (From update of attachment 227467 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=227467&action=review
> 
> > Source/WebCore/platform/graphics/GraphicsContext.cpp:562
> > +    drawImage(image, styleColorSpace, FloatRect(p, FloatSize(image->size())), FloatRect(FloatPoint(), FloatSize(image->size())), op, description);
> 
> Doesn't implicit IntSize -> FloatSize conversion happen?
yes, it  happens. I had that first but changed to explicit conversion. I guess it does not really bring any value, so I'll change it back to implicit.
Comment 5 zalan 2014-03-21 12:37:52 PDT
Created attachment 227472 [details]
Patch
Comment 6 WebKit Commit Bot 2014-03-21 14:26:24 PDT
Comment on attachment 227472 [details]
Patch

Rejecting attachment 227472 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 227472, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.

Full output: http://webkit-queues.appspot.com/results/4758999488528384
Comment 7 zalan 2014-03-21 14:32:50 PDT
Created attachment 227492 [details]
Patch
Comment 8 WebKit Commit Bot 2014-03-21 15:09:33 PDT
Comment on attachment 227492 [details]
Patch

Clearing flags on attachment: 227492

Committed r166100: <http://trac.webkit.org/changeset/166100>
Comment 9 WebKit Commit Bot 2014-03-21 15:09:39 PDT
All reviewed patches have been landed.  Closing bug.