|
|
DescriptionImplements CSSPropertyAPI for the margin properties.
A part of Project Ribbon, separating the parsing logic for CSS
properties from the parser into an API. This patch removes
CSSPropertyMargin{Top,Right,Bottom,Left},
CSSProperty{Top,Right,Bottom,Left}, and
CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement
in parseSingleValue, and calls the API instead.
A function pointer to the parseSingleValue function from the API for the
margin properties is stored in a CSSPropertyDescriptor, and is
called from CSSPropertyParser.
This patch:
- Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to
the BUILD.gn file.
- Adds api_class=CSSPropertyAPIMargin and
api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each
of the margin and -webkit-margin properties respectively, which
indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h
are generated.
- Moves the parsing logic for radius from CSSPropertyParser.cpp
to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h.
BUG=668012
Review-Url: https://codereview.chromium.org/2648703002
Cr-Original-Commit-Position: refs/heads/master@{#447430}
Committed: https://chromium.googlesource.com/chromium/src/+/72f22e3a5858ab9593cea5703c840b8f3c60327c
Review-Url: https://codereview.chromium.org/2648703002
Cr-Commit-Position: refs/heads/master@{#447473}
Committed: https://chromium.googlesource.com/chromium/src/+/bd564cefdfd28db390dcde233aa9bb5b5943abea
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #Patch Set 4 : Fixed bug #Patch Set 5 : rebase #Patch Set 6 : rebase #Patch Set 7 : removed accidental lines in json #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 46 (33 generated)
aazzam@google.com changed reviewers: + sashab@chromium.org
ptal sasha :)
Haha oh man this is an old one! LGTM. Replaec '}' with '|' in CL description :) Also the convention is {a,b,c} notation which is taken from shell expansion syntax: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html
The CQ bit was checked by aazzam@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
Description was changed from ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin[Top|Right}Bottom|Left], CSSProperty[Top|Right|Bottom|Left], and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 ========== to ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin{Top,Right,Bottom,Left}, CSSProperty{Top,Right,Bottom,Left}, and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 ==========
The CQ bit was checked by aazzam@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by aazzam@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by aazzam@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from sashab@chromium.org Link to the patchset: https://codereview.chromium.org/2648703002/#ps40001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by aazzam@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by aazzam@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from sashab@chromium.org Link to the patchset: https://codereview.chromium.org/2648703002/#ps60001 (title: "Fixed bug")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1485910228735590, "parent_rev": "a023c75cbfdf289ca3104d272c16447dead2c1a5", "commit_rev": "72f22e3a5858ab9593cea5703c840b8f3c60327c"}
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1485910228735590, "parent_rev": "a023c75cbfdf289ca3104d272c16447dead2c1a5", "commit_rev": "72f22e3a5858ab9593cea5703c840b8f3c60327c"}
Message was sent while issue was closed.
Description was changed from ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin{Top,Right,Bottom,Left}, CSSProperty{Top,Right,Bottom,Left}, and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 ========== to ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin{Top,Right,Bottom,Left}, CSSProperty{Top,Right,Bottom,Left}, and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2648703002 Cr-Commit-Position: refs/heads/master@{#447430} Committed: https://chromium.googlesource.com/chromium/src/+/72f22e3a5858ab9593cea5703c84... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/72f22e3a5858ab9593cea5703c84...
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2668753005/ by aazzam@google.com. The reason for reverting is: conflict with patch landed at the same time.
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2668143003/ by tsergeant@chromium.org. The reason for reverting is: conflict with patch landed at the same time.
Message was sent while issue was closed.
FYI: Findit identified this CL at revision 447430 as the culprit for failures in the build cycles as shown on: https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...
The CQ bit was checked by aazzam@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by aazzam@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by aazzam@google.com
The CQ bit was checked by aazzam@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from sashab@chromium.org Link to the patchset: https://codereview.chromium.org/2648703002/#ps120001 (title: "removed accidental lines in json")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 120001, "attempt_start_ts": 1485928574630230, "parent_rev": "ab70c862d2b27087dd382a65a00001c666550cdd", "commit_rev": "bd564cefdfd28db390dcde233aa9bb5b5943abea"}
Message was sent while issue was closed.
Description was changed from ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin{Top,Right,Bottom,Left}, CSSProperty{Top,Right,Bottom,Left}, and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2648703002 Cr-Commit-Position: refs/heads/master@{#447430} Committed: https://chromium.googlesource.com/chromium/src/+/72f22e3a5858ab9593cea5703c84... ========== to ========== Implements CSSPropertyAPI for the margin properties. A part of Project Ribbon, separating the parsing logic for CSS properties from the parser into an API. This patch removes CSSPropertyMargin{Top,Right,Bottom,Left}, CSSProperty{Top,Right,Bottom,Left}, and CSSPropertyWebkitMargin[Top|Right|Bottom|Left] from the switch statement in parseSingleValue, and calls the API instead. A function pointer to the parseSingleValue function from the API for the margin properties is stored in a CSSPropertyDescriptor, and is called from CSSPropertyParser. This patch: - Adds CSSPropertyAPIMargin.cpp and CSSPropertyAPIWebkitMargin.cpp to the BUILD.gn file. - Adds api_class=CSSPropertyAPIMargin and api_class=CSSPropertyAPIWebkitMargin flag in CSSProperties.in to each of the margin and -webkit-margin properties respectively, which indicates that CSSPropertyAPIMargin.h and CSSPropertyWebkitMargin.h are generated. - Moves the parsing logic for radius from CSSPropertyParser.cpp to CSSPropertyAPI[Webkit]Margin.cpp, which implements CSSPropertyAPI.h. BUG=668012 Review-Url: https://codereview.chromium.org/2648703002 Cr-Original-Commit-Position: refs/heads/master@{#447430} Committed: https://chromium.googlesource.com/chromium/src/+/72f22e3a5858ab9593cea5703c84... Review-Url: https://codereview.chromium.org/2648703002 Cr-Commit-Position: refs/heads/master@{#447473} Committed: https://chromium.googlesource.com/chromium/src/+/bd564cefdfd28db390dcde233aa9... ==========
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/bd564cefdfd28db390dcde233aa9... |