Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Issue 2006043002: Improved the reporting of background color information. (Closed)

Created:
4 years, 7 months ago by nektarios
Modified:
4 years, 7 months ago
CC:
chromium-reviews, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, haraken, nektarios, je_julie, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, blink-reviews, dmazzoni
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improved the reporting of background color information. Previously only the background color in the element's style was exposed. More often than not, this was set to transparent. With this change, the background colors of all the layout objects from the current object up to the document object are blended until we reach an opacity of less than 50%. R=dmazzoni@chromium.org, aboxhall@chromium.org BUG=595880 TESTED=layout test Committed: https://crrev.com/36a0acdb9f8022148a26ab6198098a44964c19fd Cr-Commit-Position: refs/heads/master@{#396242}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed to using 100% opacity and caching the background color value. #

Total comments: 3

Patch Set 3 : Addressed nits. #

Patch Set 4 : Fixed browser tests. #

Patch Set 5 : Fixed another layout test. #

Patch Set 6 : Added blank line to test expectations. #

Messages

Total messages: 39 (15 generated)
nektarios
4 years, 7 months ago (2016-05-23 22:02:04 UTC) #1
dmazzoni
Why an opacity of 50%? Would it work to just go until 100% opacity? Alice ...
4 years, 7 months ago (2016-05-23 23:03:04 UTC) #2
aboxhall
https://codereview.chromium.org/2006043002/diff/1/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp File third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp (right): https://codereview.chromium.org/2006043002/diff/1/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp#newcode843 third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp:843: for (LayoutObject* layoutObject = getLayoutObject(); layoutObject; Unfortunately, walking up ...
4 years, 7 months ago (2016-05-24 17:06:34 UTC) #3
aboxhall1
Here are the tests I wrote for the devtools code: https://chromium.googlesource.com/chromium/src/+/989a790441d7bd00365a7de1251da03ea5bb3df2/third_party/WebKit/LayoutTests/inspector-protocol/css/css-get-background-colors.html
4 years, 7 months ago (2016-05-24 19:01:13 UTC) #5
blink-reviews
As discussed offline, I changed the stopping condition to opacity 100% and I cached the ...
4 years, 7 months ago (2016-05-25 19:34:57 UTC) #6
chromium-reviews
As discussed offline, I changed the stopping condition to opacity 100% and I cached the ...
4 years, 7 months ago (2016-05-25 19:34:57 UTC) #7
aboxhall
On 2016/05/25 19:34:57, chromium-reviews wrote: > As discussed offline, I changed the stopping condition to ...
4 years, 7 months ago (2016-05-25 19:36:13 UTC) #8
blink-reviews
Sorry, the upload script failed. Now it should be uploaded. -- You received this message ...
4 years, 7 months ago (2016-05-25 20:24:06 UTC) #9
chromium-reviews
Sorry, the upload script failed. Now it should be uploaded. -- You received this message ...
4 years, 7 months ago (2016-05-25 20:24:06 UTC) #10
aboxhall
LGTM with nits. https://codereview.chromium.org/2006043002/diff/20001/third_party/WebKit/LayoutTests/accessibility/background-color.html File third_party/WebKit/LayoutTests/accessibility/background-color.html (right): https://codereview.chromium.org/2006043002/diff/20001/third_party/WebKit/LayoutTests/accessibility/background-color.html#newcode41 third_party/WebKit/LayoutTests/accessibility/background-color.html:41: }, 'Ensures that the color of ...
4 years, 7 months ago (2016-05-25 20:59:07 UTC) #11
blink-reviews
Comments addressed. I'll submit now. -- You received this message because you are subscribed to ...
4 years, 7 months ago (2016-05-25 21:17:09 UTC) #12
chromium-reviews
Comments addressed. I'll submit now. -- You received this message because you are subscribed to ...
4 years, 7 months ago (2016-05-25 21:17:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006043002/40001
4 years, 7 months ago (2016-05-25 21:17:52 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/189936)
4 years, 7 months ago (2016-05-25 21:27:42 UTC) #18
dmazzoni
lgtm
4 years, 7 months ago (2016-05-25 21:33:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006043002/40001
4 years, 7 months ago (2016-05-25 21:35:23 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/166421)
4 years, 7 months ago (2016-05-25 21:49:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006043002/60001
4 years, 7 months ago (2016-05-25 22:21:22 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/234089)
4 years, 7 months ago (2016-05-26 00:06:23 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006043002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006043002/80001
4 years, 7 months ago (2016-05-26 15:16:47 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/234440)
4 years, 7 months ago (2016-05-26 16:45:07 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006043002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006043002/100001
4 years, 7 months ago (2016-05-26 16:59:21 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-26 18:47:29 UTC) #37
commit-bot: I haz the power
4 years, 7 months ago (2016-05-26 18:48:55 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/36a0acdb9f8022148a26ab6198098a44964c19fd
Cr-Commit-Position: refs/heads/master@{#396242}

Powered by Google App Engine
This is Rietveld 408576698