Bug 75007 - [CSSRegions]Rollout support for background-color region styling
Summary: [CSSRegions]Rollout support for background-color region styling
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mihnea Ovidenie
URL:
Keywords:
Depends on:
Blocks: 74141
  Show dependency treegraph
 
Reported: 2011-12-21 07:03 PST by Mihnea Ovidenie
Modified: 2012-01-04 10:27 PST (History)
3 users (show)

See Also:


Attachments
Patch (30.75 KB, patch)
2011-12-21 07:28 PST, Mihnea Ovidenie
no flags Details | Formatted Diff | Diff
Patch for landing (31.65 KB, patch)
2012-01-04 06:19 PST, Mihnea Ovidenie
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mihnea Ovidenie 2011-12-21 07:03:41 PST
Temporary rollout support for region styling (background-color) since it causes performance regression (see https://bugs.webkit.org/show_bug.cgi?id=74141). I will add the support back after:
1. Improve speed of methods that call RenderObject::style() extensively
2. Finish analyze the regression in performance of the current patch.
Comment 1 Mihnea Ovidenie 2011-12-21 07:28:45 PST
Created attachment 120179 [details]
Patch
Comment 2 Tony Chang 2011-12-27 10:07:30 PST
Comment on attachment 120179 [details]
Patch

Thanks!
Comment 3 WebKit Review Bot 2011-12-27 10:13:30 PST
Comment on attachment 120179 [details]
Patch

Rejecting attachment 120179 [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:
WebCore/rendering/RenderObject.cpp
patching file Source/WebCore/rendering/RenderObject.h
patching file Source/WebCore/rendering/RenderObjectChildList.cpp
patching file Source/WebCore/rendering/RenderRegion.cpp
patching file Source/WebCore/rendering/RenderRegion.h
patching file Source/WebCore/rendering/RenderView.cpp
patching file Source/WebCore/rendering/RenderView.h

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--reviewer', u'Tony Chang', u'--force']" exit_code: 1

Full output: http://queues.webkit.org/results/11039357
Comment 4 Mihnea Ovidenie 2012-01-04 06:19:01 PST
Created attachment 121104 [details]
Patch for landing
Comment 5 WebKit Review Bot 2012-01-04 06:51:47 PST
Comment on attachment 121104 [details]
Patch for landing

Clearing flags on attachment: 121104

Committed r104036: <http://trac.webkit.org/changeset/104036>
Comment 6 WebKit Review Bot 2012-01-04 06:51:52 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Tony Chang 2012-01-04 10:27:25 PST
This didn't seem to change the perf results, so the previous changes (removing the branch in RenderObject::style() and inlining initForRegionStyling()) seem to be sufficient.

I think the path forward is to first change callers of RenderObject::style() to cache the pointer, then try to reland the patch and watch for regressions.