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

Issue 2815033002: Split initial methods of left/right/top/bottom on ComputedStyle. (Closed)

Created:
3 years, 8 months ago by shend
Modified:
3 years, 8 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Split initial methods of left/right/top/bottom on ComputedStyle. Currently the left, right, top and bottom share the same method for the initial value: initialOffset(). This makes it difficult to generate because the generator will generate four copies of initialOffset(), causing a name conflict. This patch splits the initialOffset() method into four separate methods, one for each property. Diff of generated files: https://gist.github.com/darrnshn/88a94abf4e37e26b7fdcc4126beb11fa/revisions BUG=628043 Review-Url: https://codereview.chromium.org/2815033002 Cr-Commit-Position: refs/heads/master@{#464313} Committed: https://chromium.googlesource.com/chromium/src/+/68c508188787079d0400260ee4dff6ef6814c40c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -6 lines) Patch
M third_party/WebKit/Source/core/css/CSSProperties.json5 View 4 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.h View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
shend
Hi Naina, PTAL :)
3 years, 8 months ago (2017-04-12 04:09:25 UTC) #2
nainar
lgtm
3 years, 8 months ago (2017-04-12 05:21:28 UTC) #3
shend
Hi Alan, PTAL
3 years, 8 months ago (2017-04-12 05:40:40 UTC) #5
alancutter (OOO until 2018)
lgtm How was 'initial: "InitialOffset"' used anyway? What's the generated diff here?
3 years, 8 months ago (2017-04-12 05:43:27 UTC) #6
shend
On 2017/04/12 at 05:43:27, alancutter wrote: > lgtm > > How was 'initial: "InitialOffset"' used ...
3 years, 8 months ago (2017-04-12 05:51:37 UTC) #8
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/2815033002/1
3 years, 8 months ago (2017-04-13 05:24:09 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:39:43 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/68c508188787079d0400260ee4df...

Powered by Google App Engine
This is Rietveld 408576698