New issue
Advanced search Search tips

Issue 751354 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task

Blocking:
issue 545324



Sign in to add a comment

Ribbonize StyleBuilder and StyleBuilderFunctions

Project Member Reported by meade@chromium.org, Aug 2 2017

Issue description

Comment 1 by meade@chromium.org, Aug 2 2017

Blocking: 545324
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4

commit f8e9b77f8f6b1c037b4a92701c0d35aff18326f4
Author: Jia <jiameng@chromium.org>
Date: Thu Aug 31 08:52:17 2017

Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs.

This is almost exactly the same patch as crrev.com/c/625644 prepared by meade@.
As meade@ is away at the moment, I am submitting the patch so that we can
move forward with the other StyleBuilderFunctions. Differences between this
patch and the original patch is based on review comments from bugsnash@:
1. Removed duplicated macros in StyleBuilderFunctions.cpp.tmpl. They are now
imported from application_macros.tmpl.
2. In make_css_property_api_headers.py, we no longer need to unpack fields from
property as we now return property. 
3. Related to 2, in CSSPropertyAPISubclass.h.tmpl, we now directly access 
fields from property. 

This patch only moves StyleBuilderFunctions for properties, which have 
API implementations and do not share API implementations with other properties.
We would need to consider whether to break up these properties' shared APIs first.

This patch also leaves out custom StyleBuilderFunctions, which will be handled
in later patches. 

Also quoting descriptions from original patch:

================

There is some duplicated code (make_css_property_api_headers.py and
make_style_builder.py, also application_macros.tmpl+CSPropertyAPISubclass.tmpl
and StyleBuilder.cpp.tmpl). Hopefully this is ok since we can delete the old ones
soon. In the mean time I don't think it's worth trying to figure out how to share
the code.

Diff of representative changed APIs and StyleBuilder.cpp:
https://gist.github.com/wilddamon/c1fa5fc53a0433ef6028e0be5335910b/revisions

StyleBuilderFunctions diff:
https://gist.github.com/wilddamon/5d95f4bdec0a8e61c131248b12b57992/revisions

Bug:  751354 
Change-Id: Ib0168e65628e76232ba3c28e95a23e02b0ebbd4a
Reviewed-on: https://chromium-review.googlesource.com/637047
Commit-Queue: Jia Meng <jiameng@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Reviewed-by: Renée Wright <rjwright@chromium.org>
Reviewed-by: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498790}
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPI.h.tmpl
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[add] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/f8e9b77f8f6b1c037b4a92701c0d35aff18326f4/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl

Project Member

Comment 3 by bugdroid1@chromium.org, Aug 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a4d7ce3def7a91b7b87eafe5b398dd16aed599de

commit a4d7ce3def7a91b7b87eafe5b398dd16aed599de
Author: Henrik Boström <hbos@chromium.org>
Date: Thu Aug 31 10:25:28 2017

Revert "Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs."

This reverts commit f8e9b77f8f6b1c037b4a92701c0d35aff18326f4.

Reason for revert:
Speculative revert, Google Chrome Win fails to compile, it can't link third_party/WebKit/Source/core/css/ libs and this is the onle CL in the blamelist that touches css stuff. First compile error:
https://uberchromegw.corp.google.com/i/chromium.chrome/builders/Google%20Chrome%20Win/builds/21614

Original change's description:
> Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs.
> 
> This is almost exactly the same patch as crrev.com/c/625644 prepared by meade@.
> As meade@ is away at the moment, I am submitting the patch so that we can
> move forward with the other StyleBuilderFunctions. Differences between this
> patch and the original patch is based on review comments from bugsnash@:
> 1. Removed duplicated macros in StyleBuilderFunctions.cpp.tmpl. They are now
> imported from application_macros.tmpl.
> 2. In make_css_property_api_headers.py, we no longer need to unpack fields from
> property as we now return property. 
> 3. Related to 2, in CSSPropertyAPISubclass.h.tmpl, we now directly access 
> fields from property. 
> 
> This patch only moves StyleBuilderFunctions for properties, which have 
> API implementations and do not share API implementations with other properties.
> We would need to consider whether to break up these properties' shared APIs first.
> 
> This patch also leaves out custom StyleBuilderFunctions, which will be handled
> in later patches. 
> 
> Also quoting descriptions from original patch:
> 
> ================
> 
> There is some duplicated code (make_css_property_api_headers.py and
> make_style_builder.py, also application_macros.tmpl+CSPropertyAPISubclass.tmpl
> and StyleBuilder.cpp.tmpl). Hopefully this is ok since we can delete the old ones
> soon. In the mean time I don't think it's worth trying to figure out how to share
> the code.
> 
> Diff of representative changed APIs and StyleBuilder.cpp:
> https://gist.github.com/wilddamon/c1fa5fc53a0433ef6028e0be5335910b/revisions
> 
> StyleBuilderFunctions diff:
> https://gist.github.com/wilddamon/5d95f4bdec0a8e61c131248b12b57992/revisions
> 
> Bug:  751354 
> Change-Id: Ib0168e65628e76232ba3c28e95a23e02b0ebbd4a
> Reviewed-on: https://chromium-review.googlesource.com/637047
> Commit-Queue: Jia Meng <jiameng@chromium.org>
> Reviewed-by: nainar <nainar@chromium.org>
> Reviewed-by: Renée Wright <rjwright@chromium.org>
> Reviewed-by: Bugs Nash <bugsnash@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#498790}

TBR=rjwright@chromium.org,nainar@chromium.org,jiameng@chromium.org,bugsnash@chromium.org

Change-Id: Ia321c7d24e8928286c694c56eb6c5fe162b51077
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  751354 
Reviewed-on: https://chromium-review.googlesource.com/645566
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498805}
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPI.h.tmpl
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[delete] https://crrev.com/7a0b317182f57793a288bbc61beafe540637cff0/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/a4d7ce3def7a91b7b87eafe5b398dd16aed599de/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl

Project Member

Comment 4 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/172efa58dafa9d8da018abd49e5764a59f09adcb

commit 172efa58dafa9d8da018abd49e5764a59f09adcb
Author: Jia <jiameng@chromium.org>
Date: Fri Sep 01 04:03:19 2017

Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs.

This is a resubmission of an earlier cl (crrev.com/c/637047), which was 
reverted because another with conflicting changes went in at the same time 
causing compiler errors. This patch rebased the earlier cl.

Bug:  751354 
Change-Id: I74f941a291fb1c70fe88099eeb3108671e3bf498
Reviewed-on: https://chromium-review.googlesource.com/646928
Reviewed-by: Bugs Nash <bugsnash@chromium.org>
Commit-Queue: Jia Meng <jiameng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499124}
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPI.h.tmpl
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[add] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/172efa58dafa9d8da018abd49e5764a59f09adcb/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl

Project Member

Comment 5 by bugdroid1@chromium.org, Sep 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e4af4cd23d5e8d566994823d7aee8fe5765086a8

commit e4af4cd23d5e8d566994823d7aee8fe5765086a8
Author: Greg Thompson <grt@chromium.org>
Date: Fri Sep 01 11:09:40 2017

Revert "Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs."

This reverts commit 172efa58dafa9d8da018abd49e5764a59f09adcb.

Reason for revert: Compile failures on Google Chrome Win builder; see https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/21644.

Original change's description:
> Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs.
> 
> This is a resubmission of an earlier cl (crrev.com/c/637047), which was 
> reverted because another with conflicting changes went in at the same time 
> causing compiler errors. This patch rebased the earlier cl.
> 
> Bug:  751354 
> Change-Id: I74f941a291fb1c70fe88099eeb3108671e3bf498
> Reviewed-on: https://chromium-review.googlesource.com/646928
> Reviewed-by: Bugs Nash <bugsnash@chromium.org>
> Commit-Queue: Jia Meng <jiameng@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#499124}

TBR=jiameng@chromium.org,bugsnash@chromium.org

Change-Id: Ia743e37ebad1c3aa72b80452688c7fed88ee6330
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug:  751354 
Reviewed-on: https://chromium-review.googlesource.com/647446
Reviewed-by: Greg Thompson <grt@chromium.org>
Commit-Queue: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499163}
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPI.h.tmpl
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[delete] https://crrev.com/bcbca5321782e576080f33ea4dbd0562e55194d0/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/e4af4cd23d5e8d566994823d7aee8fe5765086a8/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl

Project Member

Comment 6 by bugdroid1@chromium.org, Sep 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/73b2912f51a7a60a9801e79a45802ac1def391de

commit 73b2912f51a7a60a9801e79a45802ac1def391de
Author: Jia <jiameng@chromium.org>
Date: Thu Sep 07 05:14:54 2017

Move fully generated StyleBuilderFunction methods to corresponding CSSPropertyAPIs.

This is a resubmission of an earlier cl (crrev.com/c/646928), which was 
reverted because it caused a Chrome Win Build error. The linker error suggest the
size of static lib was too large, exceeding win limit. In this cl, we increase
split_count from 5 to 10 for all systems.

Bug:  751354 
Change-Id: I536bf5e8adbdd3da58418e77cbc882432e4b3c7f
Reviewed-on: https://chromium-review.googlesource.com/648536
Reviewed-by: meade_UTC10 <meade@chromium.org>
Commit-Queue: Jia Meng <jiameng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#500221}
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPI.h.tmpl
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[add] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl
[modify] https://crrev.com/73b2912f51a7a60a9801e79a45802ac1def391de/third_party/WebKit/Source/core/css/BUILD.gn

Project Member

Comment 7 by bugdroid1@chromium.org, Oct 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e5a5438e01450e1aea1df4cb6fc20de938432760

commit e5a5438e01450e1aea1df4cb6fc20de938432760
Author: Eddy Mead <meade@chromium.org>
Date: Mon Oct 09 06:53:19 2017

Update CSSPropertyAPI templates to conditionally include headers.

This reduces the number of includes of ComputedStyle by 12, 
SVGComputedStyle by 221, and some others.

In https://chromium-review.googlesource.com/c/chromium/src/+/656117,
mstensho@opera removes #includes for ComputedStyle because they were
slowing build times. Hopefully this can help reduce build time also.

CSSPropertyAPI subclass diffs:
StyleBuilderFunctions diff:

https: //gist.github.com/b4676c89b217fb8246e157ba7dd10dad/revisions
https: //gist.github.com/wilddamon/f11d3920466215622e6eb96510ea00f0/revisions
Bug:  751354 
Change-Id: I62ceeb8652edefaeb9bd586a713bf1f8a5e4226f
Reviewed-on: https://chromium-review.googlesource.com/656643
Commit-Queue: meade_UTC10 <meade@chromium.org>
Reviewed-by: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507336}
[modify] https://crrev.com/e5a5438e01450e1aea1df4cb6fc20de938432760/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_api_headers.py
[modify] https://crrev.com/e5a5438e01450e1aea1df4cb6fc20de938432760/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertyAPISubclass.h.tmpl
[modify] https://crrev.com/e5a5438e01450e1aea1df4cb6fc20de938432760/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/e5a5438e01450e1aea1df4cb6fc20de938432760/third_party/WebKit/Source/build/scripts/make_style_builder.py

Comment 8 by meade@chromium.org, Oct 11 2017

Cc: -bugsnash@chromium.org meade@chromium.org
Owner: bugsnash@chromium.org
Bugs is going to take this over for Q4.

Comment 9 by nainar@chromium.org, Oct 30 2017

Labels: Objective
Labels: -Type-Bug Type-Feature
Labels: -Type-Feature Type-Task
Project Member

Comment 12 by bugdroid1@chromium.org, Nov 7 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ca0eaab9a306fe6e26ba5e2f708e73cd5995f7c5

commit ca0eaab9a306fe6e26ba5e2f708e73cd5995f7c5
Author: Bugs Nash <bugsnash@chromium.org>
Date: Tue Nov 07 04:43:41 2017

Removed excess whitespace in generated style buider functions

- Removed newline in middle of IsInherited setter functions
- Removed extra newline after applyValue functions

Diff of generated file:
https://gist.github.com/BugsNash/4ba9af5ff8ef16c0f8579fcf5291973d/revisions

Bug:  751354 
Change-Id: Iba8912e7f0a93e746d9fff99f40e6fb292a5528a
Reviewed-on: https://chromium-review.googlesource.com/756192
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#514394}
[modify] https://crrev.com/ca0eaab9a306fe6e26ba5e2f708e73cd5995f7c5/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[modify] https://crrev.com/ca0eaab9a306fe6e26ba5e2f708e73cd5995f7c5/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl

Project Member

Comment 13 by bugdroid1@chromium.org, Nov 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/353bb5ee951255cc6d3b8a06d441b3e834cc8a97

commit 353bb5ee951255cc6d3b8a06d441b3e834cc8a97
Author: Bugs Nash <bugsnash@chromium.org>
Date: Mon Nov 13 06:10:25 2017

Moved generated apply methods to property class for 'auto' properties

Moved the generated apply* methods from StyleBuilderFunctions.cpp
to the property classes for 'auto' properties which share a non
custom template:
- clip
- column-count
- column-gap
- column-width
- z-index

Also fixed includes so that headers required for apply* functions
are only included when those functions are implemented, not
when they are to be declared only.

Note that this patch creates duplicated logic in
make_css_property_headers.py and make_style_builder.py.
Since it is planned to remove style builder as part of this project
I have not bothered factoring this logic out.

Diff of generated files:
https://gist.github.com/1bad2de3801d6d75d77e9b08c7b128f8/revisions

Bug:  751354 
Change-Id: I75d9a85a50771541f8c8be64c62c4dfa0796cd8a
Reviewed-on: https://chromium-review.googlesource.com/760079
Reviewed-by: Renée Wright <rjwright@chromium.org>
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515888}
[modify] https://crrev.com/353bb5ee951255cc6d3b8a06d441b3e834cc8a97/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_headers.py
[modify] https://crrev.com/353bb5ee951255cc6d3b8a06d441b3e834cc8a97/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.h.tmpl
[modify] https://crrev.com/353bb5ee951255cc6d3b8a06d441b3e834cc8a97/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/353bb5ee951255cc6d3b8a06d441b3e834cc8a97/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl

Project Member

Comment 14 by bugdroid1@chromium.org, Nov 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9

commit 6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9
Author: Bugs Nash <bugsnash@chromium.org>
Date: Mon Nov 20 03:01:24 2017

Split grouped property classes into single property classes

This is preparation for moving generated style builder methods to
property class header files for properties that use the
'border-image-modifier' template. These style buider methods are unique
to each property and therefore require separate property classes.

Created new property classes for the following previously grouped
properties:
- WebkitMaskBoxImageWidth
- WebkitMaskBoxImageSlice
- WebkitMaskBoxImageRepeats
- WebkitMaskBoxImageOutsets

Bug:  751354 
Change-Id: Iaf2f782086b13b4f4d84a3e3f16890aa264badd2
Reviewed-on: https://chromium-review.googlesource.com/775913
Reviewed-by: nainar <nainar@chromium.org>
Reviewed-by: meade_UTC10 <meade@chromium.org>
Commit-Queue: meade_UTC10 <meade@chromium.org>
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517748}
[modify] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/BUILD.gn
[modify] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/CSSProperties.json5
[add] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/properties/longhands/WebkitMaskBoxImageOutset.cpp
[add] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/properties/longhands/WebkitMaskBoxImageRepeat.cpp
[add] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/properties/longhands/WebkitMaskBoxImageSlice.cpp
[add] https://crrev.com/6ba6f6467e9b8c27e0afe4d0c8235bd72a67cda9/third_party/WebKit/Source/core/css/properties/longhands/WebkitMaskBoxImageWidth.cpp

Project Member

Comment 15 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7a8c5e9bbc09017028beb456b8f3835b23937a5a

commit 7a8c5e9bbc09017028beb456b8f3835b23937a5a
Author: Bugs Nash <bugsnash@chromium.org>
Date: Tue Nov 21 03:20:41 2017

Fixed ordering of conditional includes in property header files

Moved the logic to determine which includes are required for property
class header files from the shared template to the python generator.
This simplifies the template, makes it easier to add more conditional
includes later, and enforces proper ordering of the includes.

Diff of generated files:
https://gist.github.com/BugsNash/fd7d99bb4ef52a709df11a4040f42d05/revisions

Bug:  751354 
Change-Id: I84b09021bb9cf57398eef36c3e80b934f40e1e48
Reviewed-on: https://chromium-review.googlesource.com/780600
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518068}
[modify] https://crrev.com/7a8c5e9bbc09017028beb456b8f3835b23937a5a/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_headers.py
[modify] https://crrev.com/7a8c5e9bbc09017028beb456b8f3835b23937a5a/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.h.tmpl

Project Member

Comment 16 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a161b4c714bcaf08cf431364f4b67011efb52f9d

commit a161b4c714bcaf08cf431364f4b67011efb52f9d
Author: Bugs Nash <bugsnash@chromium.org>
Date: Tue Nov 21 05:37:27 2017

Pulled style builder template logic out into separate file

Moved all style builder funcitons logic (apply*) out of the shared
template for property class header files; moved it into a macro in a
new template file 'style_builder_functions.tmpl'.
This is to improve readability of the header template file because the
style builder logic is getting large and will continue to grow.

Also merged new template file with existing 'application_macros.tmpl'
as these macros are only ever used in style builder functions.

There is no change to generated code.

Bug:  751354 
Change-Id: I34de5e2e733fa457559efd9fcd68799131daf2cb
Reviewed-on: https://chromium-review.googlesource.com/778659
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518137}
[modify] https://crrev.com/a161b4c714bcaf08cf431364f4b67011efb52f9d/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.h.tmpl
[delete] https://crrev.com/0d16ca1cf9089047493f2e1abbe1c30b3b619aa1/third_party/WebKit/Source/build/scripts/core/css/properties/templates/application_macros.tmpl
[add] https://crrev.com/a161b4c714bcaf08cf431364f4b67011efb52f9d/third_party/WebKit/Source/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/a161b4c714bcaf08cf431364f4b67011efb52f9d/third_party/WebKit/Source/build/scripts/scripts.gni
[modify] https://crrev.com/a161b4c714bcaf08cf431364f4b67011efb52f9d/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl

Project Member

Comment 17 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fd3029364dfe58bba76a5636289e0184fb460c64

commit fd3029364dfe58bba76a5636289e0184fb460c64
Author: Bugs Nash <bugsnash@chromium.org>
Date: Tue Nov 21 20:34:43 2017

Made property class headers more readable by adding comment

This is to prevent upcoming larger style builder functions from making
the headers difficult to read

This patch
- Added a comment to section off style builder functions in the property
  class header files for readability
- Moved style builder functions to end of class so that that section
  does not merge with another optional section
- Changed the condition to print style builder functions from
  should_declare to should_implement so that the comment does not appear
  for classes that have not yet had the style builder methods moved into
  them. The should_declare member is kept as it will be required in
  future for declaration only cases.

Diff of generated files:
https://gist.github.com/BugsNash/49febc392af82920fea3e59e6c7d3224/revisions

Bug:  751354 
Change-Id: Ic664b6fcad97d70bf24d46428561fff2dd6107a0
Reviewed-on: https://chromium-review.googlesource.com/780160
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518372}
[modify] https://crrev.com/fd3029364dfe58bba76a5636289e0184fb460c64/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.h.tmpl

Project Member

Comment 18 by bugdroid1@chromium.org, Dec 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/29c96a0edc1962577b350e37a696e28af86ab03d

commit 29c96a0edc1962577b350e37a696e28af86ab03d
Author: Bugs Nash <bugsnash@chromium.org>
Date: Fri Dec 01 06:05:12 2017

Updated stale FIXME comment in StyleBuilder

Bug:  751354 
Change-Id: Idd2f5b8b28f6afe2c47cffe2fc01f2d51e7aa922
Reviewed-on: https://chromium-review.googlesource.com/802599
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520867}
[modify] https://crrev.com/29c96a0edc1962577b350e37a696e28af86ab03d/third_party/WebKit/Source/build/scripts/templates/StyleBuilder.cpp.tmpl
[modify] https://crrev.com/29c96a0edc1962577b350e37a696e28af86ab03d/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.h.tmpl

Project Member

Comment 19 by bugdroid1@chromium.org, Dec 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/827b9e9a969c3a9079056dbf3786702b3d2e3681

commit 827b9e9a969c3a9079056dbf3786702b3d2e3681
Author: Bugs Nash <bugsnash@chromium.org>
Date: Fri Dec 01 06:20:42 2017

Moved generated apply methods to property class for border_image props

Moved the generated apply* methods form StyleBuiderFunctions.cpp to the
property classes for 'border_image' properties which share a non custom
template:
- border-image-outset
- border-image-repeat
- border-image-slice
- border-image-width
- -webkit-mask-box-image-outset
- -webkit-mask-box-image-repeat
- -webkit-mask-box-image-slice
- -webkit-mask-box-image-width

Also moves util methods used by these apply* methods out of
StyleBuilderFunctions.cpp and into a new StyleBuilderUtils.h class
in the properties directory.

Diff of generated files:
https://gist.github.com/BugsNash/ecd3af075b562babdbc1a703868f1184/revisions

Bug:  751354 
Change-Id: Ic3f426edd5d7bbdd6408240a3cccbe38b30d5848
Reviewed-on: https://chromium-review.googlesource.com/780942
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520874}
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/LayoutTests/fast/backgrounds/mask-box-image.html
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_headers.py
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/core/css/BUILD.gn
[add] https://crrev.com/827b9e9a969c3a9079056dbf3786702b3d2e3681/third_party/WebKit/Source/core/css/properties/StyleBuildingUtils.h

Project Member

Comment 20 by bugdroid1@chromium.org, Dec 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5ef8abbcbed2dbb78818a219c8e7be872934da23

commit 5ef8abbcbed2dbb78818a219c8e7be872934da23
Author: Bugs Nash <bugsnash@chromium.org>
Date: Wed Dec 06 04:16:41 2017

Changed basic applyValue generated code to hand written.

Changed custom applyValue code for border-image-source and
-webkit-mask-box-image-source to be hand written instead of generated
with a custom template as the savings on code duplication aren't large
enough to warrant the added code complexity.

These hand written custom methods will be moved to property classes
after all the generated methods are moved.

Bug:  751354 
Change-Id: Ie983aa0b3a13bddc3c0435faf40e0960e2d2dac5
Reviewed-on: https://chromium-review.googlesource.com/810245
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522001}
[modify] https://crrev.com/5ef8abbcbed2dbb78818a219c8e7be872934da23/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/5ef8abbcbed2dbb78818a219c8e7be872934da23/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

Labels: -Update-Quarterly
Project Member

Comment 22 by bugdroid1@chromium.org, Dec 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e

commit 09dfe34bd8d5fd465d3073d040cfdc86fc921b7e
Author: Bugs Nash <bugsnash@chromium.org>
Date: Thu Dec 21 03:34:54 2017

Renamed position functions for consistency with property name

Renames XPosition and YPosition patterns in FillLayer to PositionX and
PositionY respectively for consistency with the property names, e.g.
background-position-x. This is the pattern followed by other properties
and is pre work to allow simpler generation of style builder functions
in property classes.

Bug:  751354 
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I255adbde0965be00c0c3cc3e836caa4f004a300d
Reviewed-on: https://chromium-review.googlesource.com/833426
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: dstockwell <dstockwell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525583}
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/animation/LengthListPropertyFunctions.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/css/CSSPropertyEquality.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.h
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/layout/LayoutBox.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/style/FillLayer.cpp
[modify] https://crrev.com/09dfe34bd8d5fd465d3073d040cfdc86fc921b7e/third_party/WebKit/Source/core/style/FillLayer.h

Project Member

Comment 23 by bugdroid1@chromium.org, Dec 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e0c81ef2dce702f1159057e8270db9ca7396173a

commit e0c81ef2dce702f1159057e8270db9ca7396173a
Author: Bugs Nash <bugsnash@chromium.org>
Date: Fri Dec 29 02:22:47 2017

Moved generated apply methods to property classes for fill_layer props

Moved the generated apply* methods from StyleBuilderFunctions.cpp to the
property classes for properties that share the custom 'fill_layer'
template:
- background-attachment
- background-blend-mode
- background-clip
- background-image
- background-origin
- background-position-x
- background-position-y
- background-repeat-x
- background-repeat-y
- background-size
- mask-source-type
- -webkit-mask-clip
- -webkit-mask-composite
- -webkit-mask-image
- -webkit-mask-origin
- -webkit-mask-position-x
- -webkit-mask-position-y
- -webkit-mask-repeat-x
- -webkit-mask-repeat-y

Created generated cpp files for property classes where the generated
apply methods are too complex to be included in the header files.
Renamed hand written cpp files for property classes to end in 'Custom'
so that the property name by itself could be used for the generated
cpp files, which is consistent with the rest of the style engine where
there is both a generated and a hand written cpp file for a class.

Renamed make_css_property_headers.py to make_css_property_subclasses.py
to reflect its new function.

Diff of generated property class files:
https://gist.github.com/BugsNash/98d54d6ddddaf0d513712bfc7bd31d44/revisions

Diff of generated StyleBuilder files:
https://gist.github.com/BugsNash/ed6477dadd4a8c55a7795a0f91f95ed2/revisions

Bug:  751354 
Change-Id: I9e697faba7e6cd857a0e547257caaf4799f4cb4a
Reviewed-on: https://chromium-review.googlesource.com/838765
Commit-Queue: Bugs Nash <bugsnash@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#526351}
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_base.py
[delete] https://crrev.com/881ea6b6f05340928a91c392c344b451b43b76a0/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_headers.py
[add] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/core/css/properties/make_css_property_subclasses.py
[add] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.cpp.tmpl
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/core/css/properties/templates/CSSPropertySubclass.h.tmpl
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/make_style_builder.py
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/BUILD.gn
[modify] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/BUILD.gn
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AlignContentCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AlignItemsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AlignSelfCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationDelayCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationDirectionCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationDurationCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationFillModeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationIterationCountCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationNameCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationPlayStateCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/AnimationTimingFunctionCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackdropFilterCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundAttachmentCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundBlendModeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundClipCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundImageCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundOriginCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundPositionXCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundPositionYCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BackgroundSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BaselineShiftCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BlockSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderBottomColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderBottomLeftRadiusCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderBottomRightRadiusCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderBottomWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderImageOutsetCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderImageRepeatCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderImageSliceCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderImageSourceCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderImageWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderLeftColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderLeftWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderRightColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderRightWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderTopColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderTopLeftRadiusCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderTopRightRadiusCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BorderTopWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BottomCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/BoxShadowCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CaretColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ClipCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ClipPathCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnCountCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnGapCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnRuleColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnRuleWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnSpanCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ColumnWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ContainCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ContentCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CounterIncrementCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CounterResetCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CursorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CxCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/CyCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/DCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FillCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FillOpacityCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FilterCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FlexBasisCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FlexGrowCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FlexShrinkCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FloodColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FloodOpacityCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontFamilyCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontFeatureSettingsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontSizeAdjustCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontStretchCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontStyleCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontVariantCapsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontVariantEastAsianCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontVariantLigaturesCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontVariantNumericCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontVariationSettingsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/FontWeightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridAutoColumnsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridAutoFlowCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridAutoRowsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridColumnEndCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridColumnGapCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridColumnStartCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridRowEndCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridRowGapCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridRowStartCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridTemplateAreasCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridTemplateColumnsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/GridTemplateRowsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/HeightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ImageOrientationCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/InlineSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/JustifyContentCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/JustifyItemsCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/JustifySelfCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/LeftCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/LetterSpacingCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/LightingColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/LineHeightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/LineHeightStepCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ListStyleImageCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarginBottomCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarginLeftCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarginRightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarginTopCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarkerEndCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarkerMidCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MarkerStartCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaskCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaskSourceTypeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaxBlockSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaxHeightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaxInlineSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MaxWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MinBlockSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MinHeightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MinInlineSizeCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/MinWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/ObjectPositionCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OffsetAnchorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OffsetDistanceCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OffsetPathCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OffsetPositionCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OffsetRotateCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OpacityCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OrderCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OrphansCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OutlineColorCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OutlineOffsetCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/OutlineWidthCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PaddingBottomCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PaddingLeftCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PaddingRightCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PaddingTopCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PageCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PaintOrderCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PerspectiveCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/PerspectiveOriginCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/QuotesCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/third_party/WebKit/Source/core/css/properties/longhands/RCustom.cpp
[rename] https://crrev.com/e0c81ef2dce702f1159057e8270db9ca7396173a/th

Comment 24 by e...@chromium.org, Mar 21 2018

Cc: -meade@chromium.org -jiameng@chromium.org -rjwright@chromium.org
Owner: ----
Status: Available (was: Assigned)
Owner: andruud@chromium.org
Status: Started (was: Available)
Project Member

Comment 26 by bugdroid1@chromium.org, May 18 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/aa59b11a8848c0d13cc156016c4a73ed9057c7f1

commit aa59b11a8848c0d13cc156016c4a73ed9057c7f1
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Fri May 18 10:11:51 2018

Perform color property application in CSSProperty classes.

This applies to:

  background-color
  border-bottom-color
  border-left-color
  border-right-color
  border-top-color
  column-rule-color
  outline-color
  text-decoration-color
  -webkit-text-emphasis-color
  -webkit-text-fill-color
  -webkit-text-stroke-color

R=futhark@chromium.org

      Style, _except_ background-color which is stored as a StyleColor.
      (I don't yet know why). This is the reason for using the
      custom_apply_args['initial_color'] instead of the regular
      'default_value' defined in CSSProperties.json5.

Note: All of the above properties are stored as a Color+1bit on Computed-
Bug:  751354 
Change-Id: Icef9c99b3507da88820e4a79d6864f315f8b7136
Reviewed-on: https://chromium-review.googlesource.com/1061415
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#559854}
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/build/scripts/core/css/properties/templates/css_property_subclass.cc.tmpl
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/build/scripts/make_style_builder.py
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/build/scripts/templates/style_builder_functions.cc.tmpl
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/core/BUILD.gn
[modify] https://crrev.com/aa59b11a8848c0d13cc156016c4a73ed9057c7f1/third_party/blink/renderer/core/css/CSSProperties.json5

Project Member

Comment 27 by bugdroid1@chromium.org, May 22 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6fc8991a4e66031ed27261602742c9f3d6d2754f

commit 6fc8991a4e66031ed27261602742c9f3d6d2754f
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Tue May 22 11:14:27 2018

Let CSSProperties.json5 decide which properties gets legacy style builders.

Currently, we have the json5-field 'custom_apply_functions_all', which expands
to custom_apply_functions_[initial, inherit, value]. These fields were probably
originally intended to mean that style building functions for this property
should not be generated (for initial/inherit/value), but should instead be
provided manually (hand-written) elsewhere.

However, 'custom_apply_functions_all' has a second meaning, beyond its expansion
to _[initial, inherit, value]: it is also an indication that the property
_maybe_ (depending on hard-coded lists in Python) uses a non-default template
"fragment" for the code generation.

So 'custom_apply_functions_all' _could_ mean that all of the style building
functions really are custom (hard-written), or it could mean that the property
has generated style building functions, but that the template deviates from the
standard one. (You have to check the .py/.tmpl-files to figure out which).

Finally, 'custom_apply_functions_all' is used in a third way: the new code
generator uses custom_apply_functions_all (via its expansion) to determine
whether a CSSProperty subclass should get style building functions or not.
(The new code generator does still not handle all cases, so StyleBuilder::
ApplyProperty uses the old code paths for such properties). I.e. we use
'custom_apply_functions_all' as an indication of 'legacy' style building.

This is confusing, and source of truth is spread across several json5/tmpl/py
files.

To improve this, I propose:

 * Remove custom_apply_functions_*. Instead:
 * Add 'style_builder_custom_functions', which takes a list of actually custom
   (i.e. always hand-written) builders. (Following the pattern of
   computed_style_custom_functions).
 * Add 'style_builder_template', which changes how code generation is performed.
   The plan here is to eventually set this to values like 'fill_layer', 'color',
   etc, instead of having hard-coded lists in Python to achieve the same thing.
   For now, however (to keep this patch manageable), only the 'legacy' value
   exists. Using this value suppresses the default code generation in
   style_builder_functions.cc.tmpl, and assumes that the code generation of
   that property is manually handled (in the same .tmpl file).
 * Add 'style_builder_legacy', which explicitly says whether a property should
   use the old code path or not. This avoids a hard-coded list in Python.

Note: Previously we generated some unused style builder functions in
      CSSProperty subclasses even for properties that used the legacy code path.
      This caused certain includes to be added to the generated headers, and
      these includes are needed (i.e. assumed to be present) by some of our
      _custom files. The "path of least diff" to solve this in this case, is to
      simply always add those includes. (That will be the end state anyway).

R=futhark@chromium.org

      with usages of 'style_builder_template'. Also we also need an additional
      'style_builder_template_args' field, to pass custom data to the templates.

Next: Replacing hard-coded abomination in calculate_apply_functions_to_declare
Bug:  751354 
Change-Id: I50049254c50afd739dc5385078c5252f0139dd01
Reviewed-on: https://chromium-review.googlesource.com/1066064
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560531}
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/build/scripts/core/css/css_properties.py
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/build/scripts/make_style_builder.py
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/build/scripts/templates/style_builder_functions.cc.tmpl
[modify] https://crrev.com/6fc8991a4e66031ed27261602742c9f3d6d2754f/third_party/blink/renderer/core/css/CSSProperties.json5

Project Member

Comment 28 by bugdroid1@chromium.org, May 23 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bee4a5a94f7ea8942a6b51200be99076d4db57eb

commit bee4a5a94f7ea8942a6b51200be99076d4db57eb
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Wed May 23 14:03:43 2018

Move information about code generation templates into CSSProperties.json5.

Instead of having huge and unpleasant hard-coded lists in Python, set
the 'style_builder_template' field for the relevant properties in
CSSProperties.json5.

Some style builder templates (e.g. border_image) require an additional
custom parameter. Such parameters are now stored in the
'style_builder_template_args' field in CSSProperties.json5.

R=futhark@chromium.org

Bug:  751354 
Change-Id: Ic3ea6945a3ed125836dbd01e6703689763f4376e
Reviewed-on: https://chromium-review.googlesource.com/1069073
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561061}
[modify] https://crrev.com/bee4a5a94f7ea8942a6b51200be99076d4db57eb/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/bee4a5a94f7ea8942a6b51200be99076d4db57eb/third_party/blink/renderer/build/scripts/core/css/properties/templates/css_property_subclass.cc.tmpl
[modify] https://crrev.com/bee4a5a94f7ea8942a6b51200be99076d4db57eb/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/bee4a5a94f7ea8942a6b51200be99076d4db57eb/third_party/blink/renderer/core/css/CSSProperties.json5

Project Member

Comment 29 by bugdroid1@chromium.org, May 23 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/383f09a52d885a8916cc057df1fc5c36f20769db

commit 383f09a52d885a8916cc057df1fc5c36f20769db
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Wed May 23 14:12:14 2018

Perform animation/transition property application in CSSProperty classes.

I split this up into two templates as seen from the CSSProperties.json5-
side, but it's really (almost) the same code in the .tmpl.

R=futhark@chromium.org

Bug:  751354 
Change-Id: I0082b08f6a66d93f92b1126ccb1d1173b4919951
Reviewed-on: https://chromium-review.googlesource.com/1070138
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561065}
[modify] https://crrev.com/383f09a52d885a8916cc057df1fc5c36f20769db/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/383f09a52d885a8916cc057df1fc5c36f20769db/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/383f09a52d885a8916cc057df1fc5c36f20769db/third_party/blink/renderer/build/scripts/templates/style_builder_functions.cc.tmpl
[modify] https://crrev.com/383f09a52d885a8916cc057df1fc5c36f20769db/third_party/blink/renderer/core/css/CSSProperties.json5

Project Member

Comment 33 by bugdroid1@chromium.org, May 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e30ae7ad67ba97a406bb821b534c1c238b7bdc22

commit e30ae7ad67ba97a406bb821b534c1c238b7bdc22
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Mon May 28 15:01:28 2018

Macro-ify generation of individual style builder functions.

In order to fully support custom (hand-written) style builder functions
in CSSProperty subclasses, we must be able to generate declarations
(only) for the custom builders, and full definitions for the non-custom
ones. For instance, a property may have non-custom style builders for
'initial' and 'inherited', but require a custom style builder for 'value'.
This is currently not supported.

This patch adds support for that, by:

 * Moving all style builder template code into style_builder_functions.tmpl
 * Creating macros for initial, inherit and value builders, which either
   emit a declaration, definition, or nothing, as appropriate.
 * Including style_builder_functions.tmpl from both header/cc, giving
   both files an opportunity to generate code for all the properties.
   (Previously, header/cc destination was hard-coded to a few
    style_builder_templates).
 * A nice side-effect is that we can now combine style_builder_template
   properties with style_builder_custom_functions. This is currently not
   needed, but it could be used to reduce the amount of custom style
   builder functions, for e.g. the 'color' property.

R=futhark@chromium.org

Bug:  751354 
Change-Id: Ie861c95335c660737c3eddde0adf709ee2c99206
Reviewed-on: https://chromium-review.googlesource.com/1074659
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562264}
[modify] https://crrev.com/e30ae7ad67ba97a406bb821b534c1c238b7bdc22/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/e30ae7ad67ba97a406bb821b534c1c238b7bdc22/third_party/blink/renderer/build/scripts/core/css/properties/templates/css_property_subclass.cc.tmpl
[modify] https://crrev.com/e30ae7ad67ba97a406bb821b534c1c238b7bdc22/third_party/blink/renderer/build/scripts/core/css/properties/templates/css_property_subclass.h.tmpl
[modify] https://crrev.com/e30ae7ad67ba97a406bb821b534c1c238b7bdc22/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/e30ae7ad67ba97a406bb821b534c1c238b7bdc22/third_party/blink/renderer/core/css/properties/style_building_utils.h

Project Member

Comment 34 by bugdroid1@chromium.org, May 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ec18bd7222f763c7f1d1cb6265273e52259a6549

commit ec18bd7222f763c7f1d1cb6265273e52259a6549
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Mon May 28 21:28:08 2018

Move custom style builders into CSSProperty classes.

After this, all custom builders are moved, except the builder for
custom properties. That one is a little bit special, so I'll take that
separately.

R=futhark@chromium.org

Bug:  751354 
Change-Id: I825135a3f042f659cc5418734ceafd0675711ed7
Reviewed-on: https://chromium-review.googlesource.com/1075109
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562312}
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/CSSProperties.json5
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/baseline_shift_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/border_image_source_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/caret_color_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/color_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/content_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/cursor_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/direction_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/display_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/grid_template_areas_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/list_style_image_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/outline_style_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/position_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/resize_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/size_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/text_align_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/text_indent_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/text_orientation_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/vertical_align_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_app_region_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_border_image_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_locale_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_mask_box_image_source_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_text_emphasis_style_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_text_orientation_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/webkit_writing_mode_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/will_change_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/writing_mode_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/properties/longhands/zoom_custom.cc
[modify] https://crrev.com/ec18bd7222f763c7f1d1cb6265273e52259a6549/third_party/blink/renderer/core/css/resolver/style_builder_custom.cc

Project Member

Comment 35 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f1e34a756158e4a937f6bed82aa0d0f3aee41a13

commit f1e34a756158e4a937f6bed82aa0d0f3aee41a13
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Tue May 29 15:39:58 2018

Replace builder_skip with style_builder_template:empty.

Currently, we generate switch-cases for these properties in the style
builder, and simply ignore them if they are encountered. However, in a
Ribbonized world, we would like to avoid such switch statements, which
means we need another way of detecting properties that should be skipped.

This patch adds empty style builder functions for the relevant properties.
This means we can (in a subsequent patch) avoid an if-check on every
CSSProperty and do a virtual function call into a no-op instead.

R=futhark@chromium.org

Bug:  751354 
Change-Id: Icd9c4e2915d5a1855fc707a41247207f9063294b
Reviewed-on: https://chromium-review.googlesource.com/1076238
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562436}
[modify] https://crrev.com/f1e34a756158e4a937f6bed82aa0d0f3aee41a13/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/f1e34a756158e4a937f6bed82aa0d0f3aee41a13/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/f1e34a756158e4a937f6bed82aa0d0f3aee41a13/third_party/blink/renderer/build/scripts/make_style_builder.py
[modify] https://crrev.com/f1e34a756158e4a937f6bed82aa0d0f3aee41a13/third_party/blink/renderer/build/scripts/templates/style_builder.cc.tmpl
[modify] https://crrev.com/f1e34a756158e4a937f6bed82aa0d0f3aee41a13/third_party/blink/renderer/core/css/CSSProperties.json5

Project Member

Comment 36 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/52047e377c6973328f386bd0538f51461fa238c5

commit 52047e377c6973328f386bd0538f51461fa238c5
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Tue May 29 15:52:04 2018

Do direction-aware property resolution in CSSProperty subclasses.

Currently, we generate switch-cases for direction-aware properties in
style_builder_functions.cc, and do the resolution there.

This patch lets CSSProperty subclasses do that instead; direction-aware
properties now implement ApplyInitial/Inherit/Value, which resolves the
property, and forwards the call to the appropriate property.

An alternative would be generating a function like IsDirectionAware on
the CSSProperty subclasses, but that would require an if-check for all
applied properties.

Note that our existing code actually recurs into the outer StyleBuilder::
ApplyProperty with the resolved CSSProperty. While that may be slightly
more theoretically rigorous, it doesn't appear to be required for these
properties.

R=futhark@chromium.org

Bug:  751354 
Change-Id: Id5fde537aa6d49905d44f449b7bb5886fa9b4c69
Reviewed-on: https://chromium-review.googlesource.com/1076239
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562444}
[modify] https://crrev.com/52047e377c6973328f386bd0538f51461fa238c5/third_party/blink/renderer/build/scripts/core/css/css_properties.py
[modify] https://crrev.com/52047e377c6973328f386bd0538f51461fa238c5/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/52047e377c6973328f386bd0538f51461fa238c5/third_party/blink/renderer/build/scripts/core/css/properties/templates/style_builder_functions.tmpl
[modify] https://crrev.com/52047e377c6973328f386bd0538f51461fa238c5/third_party/blink/renderer/build/scripts/make_style_builder.py
[modify] https://crrev.com/52047e377c6973328f386bd0538f51461fa238c5/third_party/blink/renderer/build/scripts/templates/style_builder.cc.tmpl

Project Member

Comment 37 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/45f985f49334cdab115cf731d2b421f671407e1b

commit 45f985f49334cdab115cf731d2b421f671407e1b
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Tue May 29 20:37:28 2018

Make Variable a Longhand, and implement ApplyValue.

This makes custom properties _almost_ normal w.r.t. style building.
As long as we DCHECK that the value is not initial/inherit before
applying, we can treat it as any other CSSProperty.

R=futhark@chromium.org

Bug:  751354 
Change-Id: I2009320d95e1371df550fd2a55d7d561042d2061
Reviewed-on: https://chromium-review.googlesource.com/1076327
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562574}
[modify] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/build/scripts/templates/style_builder.cc.tmpl
[modify] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/build/scripts/templates/style_builder_functions.h.tmpl
[modify] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/core/css/BUILD.gn
[add] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/core/css/properties/longhands/variable.cc
[modify] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/core/css/properties/longhands/variable.h
[modify] https://crrev.com/45f985f49334cdab115cf731d2b421f671407e1b/third_party/blink/renderer/core/css/resolver/style_builder_custom.cc

Project Member

Comment 38 by bugdroid1@chromium.org, May 29 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/92f2bfa3f691786e8e4e29847e4ba92fd73a7658

commit 92f2bfa3f691786e8e4e29847e4ba92fd73a7658
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Tue May 29 20:49:04 2018

Remove old StyleBuilder and related code.

All properties are now Ribbonized, so we don't need to generate a massive
switch statement anymore.

R=futhark@chromium.org

      another code generated.

Note: make_style_builder.py has been kept, because it's actually imported
Bug:  751354 
Change-Id: I952fc4e30dff3f42ed0e926cd7e4d7ab60705794
Reviewed-on: https://chromium-review.googlesource.com/1076328
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562579}
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/build/scripts/core/css/properties/make_css_property_subclasses.py
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/build/scripts/make_computed_style_base.py
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/build/scripts/make_style_builder.py
[delete] https://crrev.com/b356f98c4759bc1d603e0f19256f35521bbf7d9d/third_party/blink/renderer/build/scripts/templates/style_builder.cc.tmpl
[delete] https://crrev.com/b356f98c4759bc1d603e0f19256f35521bbf7d9d/third_party/blink/renderer/build/scripts/templates/style_builder_functions.cc.tmpl
[delete] https://crrev.com/b356f98c4759bc1d603e0f19256f35521bbf7d9d/third_party/blink/renderer/build/scripts/templates/style_builder_functions.h.tmpl
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/core/BUILD.gn
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/core/css/CSSProperties.json5
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/core/css/resolver/css_variable_resolver.cc
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/core/css/resolver/style_builder.h
[modify] https://crrev.com/92f2bfa3f691786e8e4e29847e4ba92fd73a7658/third_party/blink/renderer/core/css/resolver/style_builder_custom.cc

Project Member

Comment 39 by bugdroid1@chromium.org, May 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/50789144ce3c4781d769e3c43fa8ef00570f7313

commit 50789144ce3c4781d769e3c43fa8ef00570f7313
Author: Anders Hartvoll Ruud <andruud@chromium.org>
Date: Wed May 30 20:05:49 2018

Rename style_builder_custom.cc -> style_builder.cc.

"Custom" is no longer appropriate for this file, now that we don't
generate style_builder.cc.

Note: style_builder.h was missing from BUILD.gn for some reason.

R=futhark@chromium.org

Bug:  751354 
Change-Id: Ie2ac69734979a9b9488e876533da51b68e6ae971
Reviewed-on: https://chromium-review.googlesource.com/1079387
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#562970}
[modify] https://crrev.com/50789144ce3c4781d769e3c43fa8ef00570f7313/third_party/blink/renderer/core/css/BUILD.gn
[rename] https://crrev.com/50789144ce3c4781d769e3c43fa8ef00570f7313/third_party/blink/renderer/core/css/resolver/style_builder.cc

Status: Fixed (was: Started)

Sign in to add a comment