New issue
Advanced search Search tips

Issue 710496 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 675877



Sign in to add a comment

Consistently process |getter|, |setter|, |initial| method name overrides in all consumers of CSSProperties.json5.

Project Member Reported by lukasza@chromium.org, Apr 11 2017

Issue description

In particular, the manual patch pointed out in https://chromium-review.googlesource.com/c/472428/3/third_party/WebKit/Source/build/scripts/make_computed_style_base.py#132 is wrong:

- It only takes into account |getter|, but not |setter| and |initial|
- It tries to dance around |<getter>IsInherited| names in a hackish and most likely incorrect way
 

Comment 1 by shend@chromium.org, Apr 11 2017

Cc: -shend@chromium.org
Owner: shend@chromium.org

Comment 2 by shend@chromium.org, Apr 11 2017

Status: Started (was: Available)
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 13 2017

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

commit 4b44200a3a78e42f34af7f888ebb6e68ee7b1687
Author: shend <shend@chromium.org>
Date: Thu Apr 13 04:34:10 2017

Respect method name overrides in make_computed_style_base.py.

Currently make_computed_style_base.py ignores any overrides to the
setter and initial method names in CSSProperties.json5. This patch
ensures that the generator uses the overridden names (which are already
handled in its parent class, StyleBuilderWriter, and stored in
property_['setter'] and property_['initial']).

This patch does not change any generated code.

BUG= 710496 

Review-Url: https://codereview.chromium.org/2811183004
Cr-Commit-Position: refs/heads/master@{#464295}

[modify] https://crrev.com/4b44200a3a78e42f34af7f888ebb6e68ee7b1687/third_party/WebKit/Source/build/scripts/make_computed_style_base.py

Comment 4 by shend@chromium.org, Apr 13 2017

Status: Fixed (was: Started)

Sign in to add a comment