Bug 144986 - White edge on animating panel on http://rokkosunnyvale.com
Summary: White edge on animating panel on http://rokkosunnyvale.com
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: InRadar
Depends on:
Blocks:
 
Reported: 2015-05-13 21:10 PDT by zalan
Modified: 2015-05-15 10:40 PDT (History)
8 users (show)

See Also:


Attachments
Patch (34.04 KB, patch)
2015-05-13 21:36 PDT, zalan
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews103 for mac-mavericks (541.67 KB, application/zip)
2015-05-13 22:15 PDT, Build Bot
no flags Details
Patch (35.51 KB, patch)
2015-05-13 22:29 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (35.39 KB, patch)
2015-05-15 09:00 PDT, zalan
no flags Details | Formatted Diff | Diff
Patch (35.39 KB, patch)
2015-05-15 09:45 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 2015-05-13 21:10:08 PDT
1. Load rokkosunnyvale.com
2. Wait for the animation
Notice the white edge on the panel while animating.
Comment 1 zalan 2015-05-13 21:10:24 PDT
rdar://problem/20907683
Comment 2 zalan 2015-05-13 21:36:07 PDT
Created attachment 253094 [details]
Patch
Comment 3 Build Bot 2015-05-13 22:15:36 PDT
Comment on attachment 253094 [details]
Patch

Attachment 253094 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/4832866173190144

New failing tests:
fast/backgrounds/hidpi-bitmap-background-repeat-on-subpixel-position.html
Comment 4 Build Bot 2015-05-13 22:15:48 PDT
Created attachment 253096 [details]
Archive of layout-test-results from ews103 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 5 zalan 2015-05-13 22:29:15 PDT
Created attachment 253097 [details]
Patch
Comment 6 Simon Fraser (smfr) 2015-05-14 14:46:02 PDT
Comment on attachment 253097 [details]
Patch

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

> Source/WebCore/rendering/RenderBox.cpp:1349
> +bool RenderBox::getBackgroundPaintedExtent(const LayoutPoint& absolutePaintPosition, LayoutRect& paintedExtent) const

I think "absolute" is misleading here; it's not absolute when painting in graphics layers. Maybe just paintOffset?

> Source/WebCore/rendering/RenderBox.cpp:1469
> +bool RenderBox::computeBackgroundIsKnownToBeObscured(const LayoutPoint& absolutePaintPosition)

Ditto.

> Source/WebCore/rendering/RenderBox.cpp:1562
> +LayoutRect RenderBox::maskClipRect(const LayoutPoint& absolutePaintPosition)

Ditto.

> Source/WebCore/rendering/RenderBox.h:517
> +    LayoutRect maskClipRect(const LayoutPoint& absolutePaintPosition);

paintOffset

> Source/WebCore/rendering/RenderBoxModelObject.cpp:1073
> +    const LayoutRect& relativePaintRect, RenderElement* backgroundObject) const

relativePaintRect is relative to the renderer? Or does it include the current paint offset?
Comment 7 Simon Fraser (smfr) 2015-05-14 14:53:05 PDT
Comment on attachment 253097 [details]
Patch

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

> Source/WebCore/rendering/RenderBox.cpp:1704
> +            BackgroundImageGeometry geometry = layerRenderer->calculateBackgroundImageGeometry(nullptr, *curLayer, LayoutPoint(), rendererRect);

I think this needs a FIXME comment.

>> Source/WebCore/rendering/RenderBoxModelObject.cpp:1073
>> +    const LayoutRect& relativePaintRect, RenderElement* backgroundObject) const
> 
> relativePaintRect is relative to the renderer? Or does it include the current paint offset?

Maybe borderBoxRect?
Comment 8 zalan 2015-05-15 09:00:46 PDT
Created attachment 253200 [details]
Patch
Comment 9 zalan 2015-05-15 09:02:11 PDT
(In reply to comment #6)
> Comment on attachment 253097 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=253097&action=review
> 
> > Source/WebCore/rendering/RenderBox.cpp:1349
> > +bool RenderBox::getBackgroundPaintedExtent(const LayoutPoint& absolutePaintPosition, LayoutRect& paintedExtent) const
> 
> I think "absolute" is misleading here; it's not absolute when painting in
> graphics layers. Maybe just paintOffset?
> 
> > Source/WebCore/rendering/RenderBox.cpp:1469
> > +bool RenderBox::computeBackgroundIsKnownToBeObscured(const LayoutPoint& absolutePaintPosition)
> 
> Ditto.
> 
> > Source/WebCore/rendering/RenderBox.cpp:1562
> > +LayoutRect RenderBox::maskClipRect(const LayoutPoint& absolutePaintPosition)
> 
> Ditto.
> 
> > Source/WebCore/rendering/RenderBox.h:517
> > +    LayoutRect maskClipRect(const LayoutPoint& absolutePaintPosition);
> 
> paintOffset
> 
Done.

> > Source/WebCore/rendering/RenderBoxModelObject.cpp:1073
> > +    const LayoutRect& relativePaintRect, RenderElement* backgroundObject) const
> 
> relativePaintRect is relative to the renderer? Or does it include the
> current paint offset?
No, it does not include the paint offset.

> Source/WebCore/rendering/RenderBox.cpp:1704
> +            BackgroundImageGeometry geometry = layerRenderer->calculateBackgroundImageGeometry(nullptr, *curLayer, LayoutPoint(), rendererRect);

>I think this needs a FIXME comment.
Done.

>> Source/WebCore/rendering/RenderBoxModelObject.cpp:1073
>> +    const LayoutRect& relativePaintRect, RenderElement* backgroundObject) const
> 
> relativePaintRect is relative to the renderer? Or does it include the current paint offset?
>Maybe borderBoxRect?
Done.
Comment 10 WebKit Commit Bot 2015-05-15 09:43:28 PDT
Comment on attachment 253200 [details]
Patch

Rejecting attachment 253200 [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-02', 'validate-changelog', '--check-oops', '--non-interactive', 253200, '--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/5898968324112384
Comment 11 zalan 2015-05-15 09:45:35 PDT
Created attachment 253204 [details]
Patch
Comment 12 WebKit Commit Bot 2015-05-15 10:40:35 PDT
Comment on attachment 253204 [details]
Patch

Clearing flags on attachment: 253204

Committed r184395: <http://trac.webkit.org/changeset/184395>
Comment 13 WebKit Commit Bot 2015-05-15 10:40:40 PDT
All reviewed patches have been landed.  Closing bug.