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

Issue 22610005: Implement runtime feature support for CSS Shorthands (Closed)

Created:
7 years, 4 months ago by abinader
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, Savago-old
Visibility:
Public.

Description

Implement runtime feature support for CSS Shorthands Some newly implemented shorthand properties (eg. text-decoration) are only allowed if a runtime feature is enabled, with fallback to regular non-shorthand parsing otherwise. This patch adds a 'runtimeEnabledShorthand' optional variable that must contain the name of the runtime feature (eg. CSS3TextDecorations). This fixes an issue where an assertion in StyleResolver indicated that it expected a shorthand property (see link below for details): https://codereview.chromium.org/20262002/#msg28 BUG=165462 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155866

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M Source/core/scripts/make_style_shorthands.py View 1 3 chunks +9 lines, -0 lines 0 comments Download
M Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl View 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
abinader
This adds support for runtime feature check in CSSShorthands.in.
7 years, 4 months ago (2013-08-08 21:27:48 UTC) #1
darktears
On 2013/08/08 21:27:48, abinader wrote: > This adds support for runtime feature check in CSSShorthands.in. ...
7 years, 4 months ago (2013-08-09 16:43:14 UTC) #2
Julien - ping for review
lgtm. > Some newly implemented shorthand properties (eg. text-decoration) are enabled in runtime. This is ...
7 years, 4 months ago (2013-08-09 16:47:30 UTC) #3
abinader
On 2013/08/09 16:47:30, Julien Chaffraix wrote: > lgtm. > > > Some newly implemented shorthand ...
7 years, 4 months ago (2013-08-09 16:52:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.d@partner.samsung.com/22610005/12001
7 years, 4 months ago (2013-08-09 18:06:31 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 20:40:24 UTC) #6
Message was sent while issue was closed.
Change committed as 155866

Powered by Google App Engine
This is Rietveld 408576698