Bug 114655

Summary: Composited layer that painted into composited ancestor is not repainted after moving
Product: WebKit Reporter: Hurnjoo Lee <hurnjoo.lee>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, esprehn+autocc, glenn, kondapallykalyan, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
Test case
none
patch
simon.fraser: review-, simon.fraser: commit-queue-
patch
none
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion
none
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2
none
updated patch for the ews.
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion
none
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion
none
Add a text repaint test instead of ref test
none
Patch none

Description Hurnjoo Lee 2013-04-15 19:07:53 PDT
Composited layer that painted into composited ancestor is not repainted after moving.
Comment 1 Hurnjoo Lee 2013-04-15 19:17:58 PDT
Created attachment 198217 [details]
Test case
Comment 2 Simon Fraser (smfr) 2013-04-18 11:21:11 PDT
Does this affect any real-world site?
Comment 3 Radar WebKit Bug Importer 2013-04-18 11:21:47 PDT
<rdar://problem/13685897>
Comment 4 Hurnjoo Lee 2013-04-18 23:33:31 PDT
(In reply to comment #1)
> Created an attachment (id=198217) [details]
> Test case

(In reply to comment #2)
> Does this affect any real-world site?

No, this bug was found when making other testcase.
Comment 5 Hurnjoo Lee 2013-04-19 01:20:51 PDT
Created attachment 198823 [details]
patch
Comment 6 Simon Fraser (smfr) 2013-04-19 09:00:28 PDT
Comment on attachment 198823 [details]
patch 

The change looks good, but you should be able to make a LayoutTest as a repaint test or a ref test.
Comment 7 Hurnjoo Lee 2013-04-24 01:41:45 PDT
Created attachment 199404 [details]
patch

add a ref test.
Comment 8 Hurnjoo Lee 2013-04-24 01:55:26 PDT
(In reply to comment #6)
> (From update of attachment 198823 [details])
> The change looks good, but you should be able to make a LayoutTest as a repaint test or a ref test.

Sorry for the delay.
I made a ref-test instead of a manual test.
Comment 9 Build Bot 2013-04-24 04:47:17 PDT
Comment on attachment 199404 [details]
patch

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

New failing tests:
compositing/repaint/absolute-painted-into-composited-ancestor.html
Comment 10 Build Bot 2013-04-24 04:47:18 PDT
Created attachment 199414 [details]
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-06  Port: mac-mountainlion  Platform: Mac OS X 10.8.2
Comment 11 Build Bot 2013-04-24 06:13:48 PDT
Comment on attachment 199404 [details]
patch

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

New failing tests:
compositing/repaint/absolute-painted-into-composited-ancestor.html
fast/repaint/japanese-rl-selection-repaint-in-regions.html
Comment 12 Build Bot 2013-04-24 06:13:49 PDT
Created attachment 199420 [details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-16  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.2
Comment 13 Simon Fraser (smfr) 2013-04-24 09:15:09 PDT
Comment on attachment 199404 [details]
patch

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

r+ but please improve the test and investigate the EWS failures.

> LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor.html:27
> +    function doTest() {
> +      setTimeout(function() {
> +          moveBox();
> +      }, 100);

100ms is a very long timeout for a test; you should be able to use 10 or less.
Comment 14 Hurnjoo Lee 2013-04-24 19:03:58 PDT
Created attachment 199593 [details]
updated patch for the ews.
Comment 15 Hurnjoo Lee 2013-04-25 02:10:37 PDT
(In reply to comment #13)

Thanks for the review.

> (From update of attachment 199404 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=199404&action=review
> 
> r+ but please improve the test and investigate the EWS failures.
EWS failures are still remaining. I am investigating it.

> 
> > LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor.html:27
> > +    function doTest() {
> > +      setTimeout(function() {
> > +          moveBox();
> > +      }, 100);
> 
> 100ms is a very long timeout for a test; you should be able to use 10 or less.
Done.
Comment 16 Build Bot 2013-04-25 02:18:40 PDT
Comment on attachment 199593 [details]
updated patch for the ews.

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

New failing tests:
compositing/repaint/absolute-painted-into-composited-ancestor.html
Comment 17 Build Bot 2013-04-25 02:18:42 PDT
Created attachment 199639 [details]
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-01  Port: mac-mountainlion  Platform: Mac OS X 10.8.2
Comment 18 Build Bot 2013-04-25 02:41:56 PDT
Comment on attachment 199593 [details]
updated patch for the ews.

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

New failing tests:
compositing/repaint/absolute-painted-into-composited-ancestor.html
Comment 19 Build Bot 2013-04-25 02:41:58 PDT
Created attachment 199642 [details]
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-03  Port: mac-mountainlion  Platform: Mac OS X 10.8.2
Comment 20 Hurnjoo Lee 2013-04-28 23:17:35 PDT
Created attachment 199985 [details]
Add a text repaint test instead of ref test
Comment 21 Hurnjoo Lee 2013-04-28 23:46:43 PDT
(In reply to comment #15)
> (In reply to comment #13)
> 
> Thanks for the review.
> 
> > (From update of attachment 199404 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=199404&action=review
> > 
> > r+ but please improve the test and investigate the EWS failures.
> EWS failures are still remaining. I am investigating it.
> 
> > 
> > > LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor.html:27
> > > +    function doTest() {
> > > +      setTimeout(function() {
> > > +          moveBox();
> > > +      }, 100);
> > 
> > 100ms is a very long timeout for a test; you should be able to use 10 or less.
> Done.

The ref-test was not working correctly in MAC-WK1, so I added a text repaint test instead of the ref-test.
Comment 22 Simon Fraser (smfr) 2013-10-07 12:03:08 PDT
Comment on attachment 199985 [details]
Add a text repaint test instead of ref test

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

> LayoutTests/ChangeLog:8
> +        Add a text repait test to check the repainting of composited layer

"repait"
Comment 23 Hurnjoo Lee 2013-10-07 21:40:08 PDT
Created attachment 213651 [details]
Patch
Comment 24 Hurnjoo Lee 2013-10-07 21:52:18 PDT
(In reply to comment #22)
> (From update of attachment 199985 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=199985&action=review
> 
> > LayoutTests/ChangeLog:8
> > +        Add a text repait test to check the repainting of composited layer
> 
> "repait"
Fixed.

I'm sorry, r+ was canceled by my mistake. Could you please give r+ again?
Comment 25 WebKit Commit Bot 2013-10-08 08:54:51 PDT
Comment on attachment 213651 [details]
Patch

Clearing flags on attachment: 213651

Committed r157108: <http://trac.webkit.org/changeset/157108>
Comment 26 WebKit Commit Bot 2013-10-08 08:54:55 PDT
All reviewed patches have been landed.  Closing bug.