Bug 89945

Summary: Separate mutating CSSStyleDeclaration operations.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, dglazkov, gustavo, koivisto, macpherson, menard, philn, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch?
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-03
none
Patch
koivisto: review+, webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-04
none
Patch v2
gyuyoung.kim: commit-queue-
Patch
webkit.review.bot: commit-queue-
Archive of layout-test-results from gce-cr-linux-01
none
Patch
koivisto: review+, webkit.review.bot: commit-queue-
Land already none

Description Andreas Kling 2012-06-25 23:10:45 PDT
We should have a separate path for CSSStyleDeclaration operations that may cause the underlying property storage to mutate.
Comment 1 Andreas Kling 2012-06-25 23:14:57 PDT
Created attachment 149461 [details]
Patch?
Comment 2 WebKit Review Bot 2012-06-26 01:24:51 PDT
Comment on attachment 149461 [details]
Patch?

Attachment 149461 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13097369

New failing tests:
platform/chromium/compositing/layout-width-change.html
platform/chromium/compositing/render-surface-alpha-blending.html
platform/chromium/compositing/tiny-layer-rotated.html
platform/chromium/compositing/huge-layer-rotated.html
fast/loader/loadInProgress.html
platform/chromium/compositing/3d-corners.html
platform/chromium/compositing/video-frame-size-change.html
platform/chromium/compositing/perpendicular-layer-sorting.html
fast/loader/unload-form-post-about-blank.html
platform/chromium/compositing/child-layer-3d-sorting.html
editing/pasteboard/paste-text-002.html
platform/chromium/compositing/lost-compositor-context-permanently.html
platform/chromium/compositing/lost-compositor-context-with-video.html
platform/chromium/compositing/accelerated-drawing/alpha.html
http/tests/xmlhttprequest/zero-length-response.html
http/tests/security/script-crossorigin-loads-correctly.html
platform/chromium/compositing/webgl-loses-compositor-context.html
platform/chromium/compositing/backface-visibility-transformed.html
platform/chromium/compositing/lost-compositor-context-with-rendersurface.html
editing/pasteboard/paste-text-003.html
editing/pasteboard/paste-text-008.html
platform/chromium/compositing/lost-compositor-context.html
editing/pasteboard/paste-text-005.html
editing/pasteboard/paste-text-004.html
platform/chromium/compositing/img-layer-grow.html
platform/chromium/compositing/lost-compositor-context-twice.html
Comment 3 WebKit Review Bot 2012-06-26 01:24:55 PDT
Created attachment 149482 [details]
Archive of layout-test-results from ec2-cr-linux-03

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-03  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 4 Antti Koivisto 2012-06-26 05:08:59 PDT
Looks good modulo the test failures.
Comment 5 Andreas Kling 2012-06-26 10:17:35 PDT
Created attachment 149552 [details]
Patch

Let's give that another go (exactly the same patch) since I don't get any of these failures locally..
Comment 6 WebKit Review Bot 2012-06-26 11:26:09 PDT
Comment on attachment 149552 [details]
Patch

Attachment 149552 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13099466

New failing tests:
editing/pasteboard/paste-text-002.html
editing/pasteboard/paste-text-004.html
editing/pasteboard/paste-text-003.html
editing/pasteboard/paste-text-005.html
editing/pasteboard/paste-text-008.html
Comment 7 WebKit Review Bot 2012-06-26 11:26:13 PDT
Created attachment 149571 [details]
Archive of layout-test-results from ec2-cr-linux-04

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-04  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 8 Antti Koivisto 2012-06-26 12:14:02 PDT
Comment on attachment 149552 [details]
Patch

r=me
Comment 9 Andreas Kling 2012-06-29 08:21:00 PDT
(In reply to comment #6)
> (From update of attachment 149552 [details])
> Attachment 149552 [details] did not pass chromium-ews (chromium-xvfb):
> Output: http://queues.webkit.org/results/13099466
> 
> New failing tests:
> editing/pasteboard/paste-text-002.html
> editing/pasteboard/paste-text-004.html
> editing/pasteboard/paste-text-003.html
> editing/pasteboard/paste-text-005.html
> editing/pasteboard/paste-text-008.html

Can't reproduce these failures, so I'm just gonna land-it-and-see-what-happens(tm).
Comment 10 Andreas Kling 2012-06-29 08:21:52 PDT
Committed r121562: <http://trac.webkit.org/changeset/121562>
Comment 11 Andreas Kling 2012-06-29 10:20:53 PDT
Reverted r121562 for reason:

Broke

Committed r121570: <http://trac.webkit.org/changeset/121570>
Comment 12 Andreas Kling 2012-07-02 03:31:18 PDT
Created attachment 150389 [details]
Patch v2
Comment 13 Gyuyoung Kim 2012-07-02 03:40:50 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass efl-ews (efl):
Output: http://queues.webkit.org/results/13133064
Comment 14 Early Warning System Bot 2012-07-02 03:45:14 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/13125131
Comment 15 Early Warning System Bot 2012-07-02 03:49:48 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/13127152
Comment 16 WebKit Review Bot 2012-07-02 03:50:18 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13126145
Comment 17 Build Bot 2012-07-02 03:55:31 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass mac-ews (mac):
Output: http://queues.webkit.org/results/13132074
Comment 18 Build Bot 2012-07-02 04:03:35 PDT
Comment on attachment 150389 [details]
Patch v2

Attachment 150389 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/13126149
Comment 19 Andreas Kling 2012-07-02 04:10:08 PDT
Created attachment 150395 [details]
Patch
Comment 20 WebKit Review Bot 2012-07-02 06:13:12 PDT
Comment on attachment 150395 [details]
Patch

Attachment 150395 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13133098

New failing tests:
editing/pasteboard/paste-text-002.html
editing/pasteboard/paste-text-004.html
editing/pasteboard/paste-text-003.html
editing/pasteboard/paste-text-005.html
editing/pasteboard/paste-text-008.html
Comment 21 WebKit Review Bot 2012-07-02 06:13:20 PDT
Created attachment 150410 [details]
Archive of layout-test-results from gce-cr-linux-01

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-01  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 22 Andreas Kling 2012-07-03 06:11:23 PDT
Created attachment 150594 [details]
Patch

Okay, let's only do one thing in this patch. It turns out that we have some editing code that relies on inline style declarations floating around headlessly after nuking their parent elements' style attribute. A mess for another day.
Comment 23 WebKit Review Bot 2012-07-05 04:59:45 PDT
Comment on attachment 150594 [details]
Patch

Rejecting attachment 150594 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
g file Source/WebCore/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
Hunk #1 FAILED at 132.
1 out of 14 hunks FAILED -- saving rejects to file Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp.rej
patching file Source/WebCore/css/PropertySetCSSStyleDeclaration.h

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Antti Koiv..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue/

Full output: http://queues.webkit.org/results/13138939
Comment 24 Andreas Kling 2012-07-06 06:18:37 PDT
Created attachment 151072 [details]
Land already
Comment 25 WebKit Review Bot 2012-07-06 10:05:58 PDT
Comment on attachment 151072 [details]
Land already

Clearing flags on attachment: 151072

Committed r121982: <http://trac.webkit.org/changeset/121982>
Comment 26 WebKit Review Bot 2012-07-06 10:06:04 PDT
All reviewed patches have been landed.  Closing bug.