Bug 85633 - [CSSRegions] Add region styling support for color property
Summary: [CSSRegions] Add region styling support for color property
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:
 
Reported: 2012-05-04 10:00 PDT by Mihnea Ovidenie
Modified: 2012-05-22 09:06 PDT (History)
9 users (show)

See Also:


Attachments
Patch (106.88 KB, patch)
2012-05-04 10:07 PDT, Mihnea Ovidenie
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-04 (6.18 MB, application/zip)
2012-05-04 10:39 PDT, WebKit Review Bot
no flags Details
Patch 2 (26.58 KB, patch)
2012-05-07 10:09 PDT, Mihnea Ovidenie
hyatt: review-
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-03 (6.95 MB, application/zip)
2012-05-07 11:03 PDT, WebKit Review Bot
no flags Details
Patch 3 (33.15 KB, patch)
2012-05-11 09:42 PDT, Mihnea Ovidenie
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-02 (821.48 KB, application/zip)
2012-05-11 10:34 PDT, WebKit Review Bot
no flags Details
Patch for landing (34.21 KB, patch)
2012-05-22 08:27 PDT, 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 2012-05-04 10:00:10 PDT
Currently, region styling allows only background-color. Extend it by adding support for color.
Comment 1 Mihnea Ovidenie 2012-05-04 10:07:00 PDT
Created attachment 140260 [details]
Patch
Comment 2 WebKit Review Bot 2012-05-04 10:39:14 PDT
Comment on attachment 140260 [details]
Patch

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

New failing tests:
fast/regions/render-region-custom-style-mark.html
fast/regions/region-style-color.html
Comment 3 WebKit Review Bot 2012-05-04 10:39:20 PDT
Created attachment 140268 [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 4 Tony Chang 2012-05-04 10:40:18 PDT
This might be easier to review if you do the ref test conversion first as a separate patch.
Comment 5 Gustavo Noronha (kov) 2012-05-04 18:24:13 PDT
Comment on attachment 140260 [details]
Patch

Attachment 140260 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/12630327
Comment 6 Mihnea Ovidenie 2012-05-07 10:09:30 PDT
Created attachment 140544 [details]
Patch 2
Comment 7 WebKit Review Bot 2012-05-07 11:03:26 PDT
Comment on attachment 140544 [details]
Patch 2

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

New failing tests:
fast/regions/render-region-custom-style-mark.html
fast/regions/region-style-color.html
Comment 8 WebKit Review Bot 2012-05-07 11:03:33 PDT
Created attachment 140556 [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 9 Dave Hyatt 2012-05-08 13:35:58 PDT
Comment on attachment 140544 [details]
Patch 2

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

> Source/WebCore/rendering/RenderInline.cpp:216
> +        || parentStyle->lineHeight() != style()->lineHeight()))
> +        || inRenderFlowThread();

I would like to see more precision here. You really mean "I'm in a render flow thread that has some custom styles." Let's not slow down the common case of no custom styling (which is as much as a 5-10% performance hit).
Comment 10 Mihnea Ovidenie 2012-05-11 09:42:07 PDT
Created attachment 141434 [details]
Patch 3
Comment 11 WebKit Review Bot 2012-05-11 10:34:28 PDT
Comment on attachment 141434 [details]
Patch 3

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

New failing tests:
fast/regions/render-region-custom-style-mark.html
fast/regions/region-style-color.html
Comment 12 WebKit Review Bot 2012-05-11 10:34:33 PDT
Created attachment 141442 [details]
Archive of layout-test-results from ec2-cr-linux-02

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-02  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 13 Dave Hyatt 2012-05-21 12:38:34 PDT
Comment on attachment 141434 [details]
Patch 3

r=me
Comment 14 Mihnea Ovidenie 2012-05-22 08:27:22 PDT
Created attachment 143306 [details]
Patch for landing
Comment 15 WebKit Review Bot 2012-05-22 09:06:25 PDT
Comment on attachment 143306 [details]
Patch for landing

Clearing flags on attachment: 143306

Committed r117980: <http://trac.webkit.org/changeset/117980>
Comment 16 WebKit Review Bot 2012-05-22 09:06:31 PDT
All reviewed patches have been landed.  Closing bug.