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

Issue 2102843002: Fix getComputedStyle for non-box-layout elements (Closed)

Created:
4 years, 5 months ago by Mr. Kevin
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix getComputedStyle for non-box-layout elements This fixes a crash introduced by https://codereview.chromium.org/1826423003/ Code that treated a layout object as a Box layout were not properly guarded by isBox. This caused a crash when calling getComputedStyle on positioned non-box elements, e.g. <ruby>. R=mstensho@opera.com BUG=610986 Committed: https://crrev.com/86d16a615d6e9abf6d991f430b496c26a4271d10 Cr-Commit-Position: refs/heads/master@{#404336}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix getComputedStyle for non-box-layout elements #

Patch Set 3 : Fix getComputedStyle for non-box-layout elements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -8 lines) Patch
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values-expected.txt View 1 2 2 chunks +70 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp View 1 1 chunk +15 lines, -8 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102843002/1
4 years, 5 months ago (2016-06-27 22:25:09 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/246248)
4 years, 5 months ago (2016-06-27 23:36:36 UTC) #6
Timothy Loh
https://codereview.chromium.org/2102843002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp (right): https://codereview.chromium.org/2102843002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp#newcode218 third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp:218: opposite *= -1.f; This looks like it might hit ...
4 years, 5 months ago (2016-06-28 00:20:29 UTC) #7
Mr. Kevin
https://codereview.chromium.org/2102843002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp (right): https://codereview.chromium.org/2102843002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp#newcode218 third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp:218: opposite *= -1.f; On 2016/06/28 00:20:29, Timothy Loh wrote: ...
4 years, 5 months ago (2016-06-28 00:55:52 UTC) #8
Mr. Kevin
On 2016/06/28 00:55:52, Mr. Kevin wrote: > https://codereview.chromium.org/2102843002/diff/1/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp > File third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp > (right): > > ...
4 years, 5 months ago (2016-06-29 02:11:06 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102843002/20001
4 years, 5 months ago (2016-06-29 16:55:20 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/237647)
4 years, 5 months ago (2016-06-29 17:54:59 UTC) #13
Mr. Kevin
On 2016/06/29 17:54:59, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 5 months ago (2016-06-30 17:01:45 UTC) #15
Timothy Loh
On 2016/06/30 17:01:45, Mr. Kevin wrote: > On 2016/06/29 17:54:59, commit-bot: I haz the power ...
4 years, 5 months ago (2016-06-30 23:47:14 UTC) #16
Timothy Loh
+eae, Kevin had some questions about getting the width of non-box containers, maybe you could ...
4 years, 5 months ago (2016-06-30 23:48:33 UTC) #18
eae
On 2016/06/29 02:11:06, Mr. Kevin wrote: > On 2016/06/28 00:55:52, Mr. Kevin wrote: > > ...
4 years, 5 months ago (2016-06-30 23:54:53 UTC) #19
Mr. Kevin
On 2016/06/30 23:54:53, eae wrote: > On 2016/06/29 02:11:06, Mr. Kevin wrote: > > On ...
4 years, 5 months ago (2016-07-01 21:30:55 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102843002/40001
4 years, 5 months ago (2016-07-05 17:10:31 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 19:00:37 UTC) #24
eae
ok, LGTM
4 years, 5 months ago (2016-07-05 23:25:32 UTC) #25
Mr. Kevin
On 2016/07/05 23:25:32, eae wrote: > ok, LGTM Is anything else needed for this to ...
4 years, 5 months ago (2016-07-07 00:33:58 UTC) #26
Timothy Loh
On 2016/07/07 00:33:58, Mr. Kevin wrote: > On 2016/07/05 23:25:32, eae wrote: > > ok, ...
4 years, 5 months ago (2016-07-07 01:40:03 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2102843002/40001
4 years, 5 months ago (2016-07-08 00:29:26 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-08 09:44:30 UTC) #31
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 09:49:17 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/86d16a615d6e9abf6d991f430b496c26a4271d10
Cr-Commit-Position: refs/heads/master@{#404336}

Powered by Google App Engine
This is Rietveld 408576698