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

Issue 1251523003: Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed)

Created:
5 years, 5 months ago by meade_UTC10
Modified:
5 years, 3 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-rendering, blink-reviews-style_chromium.org, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, sof, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Delete AuthorStyleInfo & move its data into ComputedStyle.RareNonInheritedData. This allows caching of styles that may be affected by LayoutThemes as the data is now available even when cached. Now with shiny new layout tests to make sure http://crbug/517567 doesn't happen again BUG=259995 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199708 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200094 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201208

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Update mac LayoutTheme to also get rid of AuthorStyleInfo #

Patch Set 5 : Revert change made for debugging. #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : Fix mistake in mac them #

Patch Set 9 : Set the style as unique when the colour is changed based on element. #

Patch Set 10 : Merge 1257023002 #

Patch Set 11 : #

Patch Set 12 : Remove spurious comment #

Total comments: 10

Patch Set 13 : use CachedUAStyle #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : Fix uninitialized variable #

Patch Set 18 : Make sure new members in StyleRareNonInheritedData are always initialized and used in comparison. #

Patch Set 19 : #

Patch Set 20 : #

Patch Set 21 : #

Patch Set 22 : Some stuff to fix dev tools (no tests yet) #

Patch Set 23 : update #

Patch Set 24 : remove spurious file #

Patch Set 25 : #

Patch Set 26 : update comment and add test file #

Patch Set 27 : Add expectation file #

Patch Set 28 : Add txt expectation file #

Patch Set 29 : Use html expectation instead #

Total comments: 8

Patch Set 30 : Address CL comments #

Patch Set 31 : update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -83 lines) Patch
A LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/cache/matched-properties-cache-partial-match-expected.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/resolver/MatchedPropertiesCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/css/resolver/StyleAdjuster.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 3 chunks +33 lines, -23 lines 0 comments Download
M Source/core/layout/LayoutTheme.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/layout/LayoutTheme.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +6 lines, -9 lines 0 comments Download
M Source/core/layout/LayoutThemeMac.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutThemeMac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +3 lines, -4 lines 0 comments Download
D Source/core/style/AuthorStyleInfo.h View 1 1 chunk +0 lines, -32 lines 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/style/StyleRareNonInheritedData.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/style/StyleRareNonInheritedData.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 35 (12 generated)
meade_UTC10
5 years, 4 months ago (2015-07-28 00:41:37 UTC) #2
Timothy Loh
https://codereview.chromium.org/1251523003/diff/220001/Source/core/css/resolver/StyleResolver.cpp File Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1251523003/diff/220001/Source/core/css/resolver/StyleResolver.cpp#newcode1316 Source/core/css/resolver/StyleResolver.cpp:1316: // Make a copy of the current UA border ...
5 years, 4 months ago (2015-07-29 03:37:08 UTC) #3
meade_UTC10
https://codereview.chromium.org/1251523003/diff/220001/Source/core/css/resolver/StyleResolver.cpp File Source/core/css/resolver/StyleResolver.cpp (right): https://codereview.chromium.org/1251523003/diff/220001/Source/core/css/resolver/StyleResolver.cpp#newcode1316 Source/core/css/resolver/StyleResolver.cpp:1316: // Make a copy of the current UA border ...
5 years, 4 months ago (2015-07-30 05:38:18 UTC) #4
Timothy Loh
lgtm
5 years, 4 months ago (2015-07-30 05:44:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/280001
5 years, 4 months ago (2015-07-30 05:51:22 UTC) #7
commit-bot: I haz the power
Committed patchset #15 (id:280001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199708
5 years, 4 months ago (2015-07-30 05:54:05 UTC) #8
Yuta Kitamura
On 2015/07/30 05:54:05, commit-bot: I haz the power wrote: > Committed patchset #15 (id:280001) as ...
5 years, 4 months ago (2015-07-30 06:52:35 UTC) #9
Yuta Kitamura
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.chromium.org/1266723004/ by yutak@chromium.org. ...
5 years, 4 months ago (2015-07-30 07:16:02 UTC) #10
meade_UTC10
Hi Tim, Doug, Ojan Retrying this without the uninitialized variable (whoops!). PTAL! Thanks --Eddy
5 years, 4 months ago (2015-07-31 05:59:48 UTC) #11
Timothy Loh
On 2015/07/31 05:59:48, Eddy wrote: > Hi Tim, Doug, Ojan > > Retrying this without ...
5 years, 4 months ago (2015-08-03 04:45:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/340001
5 years, 4 months ago (2015-08-03 04:47:13 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/72306)
5 years, 4 months ago (2015-08-03 06:30:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/340001
5 years, 4 months ago (2015-08-03 06:40:58 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/72322)
5 years, 4 months ago (2015-08-03 10:34:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/380001
5 years, 4 months ago (2015-08-06 04:00:36 UTC) #23
commit-bot: I haz the power
Committed patchset #20 (id:380001) as https://src.chromium.org/viewvc/blink?view=rev&revision=200094
5 years, 4 months ago (2015-08-06 04:45:32 UTC) #24
caseq
A revert of this CL (patchset #20 id:380001) has been created in https://codereview.chromium.org/1274263003/ by caseq@chromium.org. ...
5 years, 4 months ago (2015-08-06 18:37:36 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/530001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/530001
5 years, 4 months ago (2015-08-25 05:52:04 UTC) #27
commit-bot: I haz the power
Dry run: 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/103631)
5 years, 4 months ago (2015-08-25 06:57:01 UTC) #29
Timothy Loh
lgtm https://codereview.chromium.org/1251523003/diff/530001/LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html File LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html (right): https://codereview.chromium.org/1251523003/diff/530001/LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html#newcode1 LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html:1: <html> usually we use <!doctype html> and leave ...
5 years, 4 months ago (2015-08-25 08:08:20 UTC) #30
meade_UTC10
PTAL, thanks! https://codereview.chromium.org/1251523003/diff/530001/LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html File LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html (right): https://codereview.chromium.org/1251523003/diff/530001/LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html#newcode1 LayoutTests/fast/css/cache/matched-properties-cache-partial-match.html:1: <html> On 2015/08/25 at 08:08:20, Timothy Loh ...
5 years, 4 months ago (2015-08-25 08:22:51 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1251523003/570001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1251523003/570001
5 years, 3 months ago (2015-08-26 06:44:44 UTC) #34
commit-bot: I haz the power
5 years, 3 months ago (2015-08-26 06:48:45 UTC) #35
Message was sent while issue was closed.
Committed patchset #31 (id:570001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201208

Powered by Google App Engine
This is Rietveld 408576698