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

Issue 1441233006: Move remaining SVG properties into CSSPropertyParser (Closed)

Created:
5 years, 1 month ago by rwlbuis
Modified:
5 years ago
Reviewers:
Timothy Loh, fs
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move remaining SVG properties into CSSPropertyParser Move remaining SVG property handling from LegacyCSSPropertyParser into CSSPropertyParser. With this change, the properties baseline-shift, stroke-width and stroke-dashoffset will show computed style without pixel units when set using user units. Also support for percentages in the opacity properties is removed as this is not specified anywhere in the SVG specs. BUG=499780 Committed: https://crrev.com/53c8da9fe520c90bc1ae325dd4e0513b7851a56c Cr-Commit-Position: refs/heads/master@{#362311}

Patch Set 1 #

Patch Set 2 : Fix ASSERT #

Patch Set 3 : Different props #

Patch Set 4 : All remaining SVG props #

Patch Set 5 : Rebase #

Total comments: 12

Patch Set 6 : Test removing percent part for opacity #

Patch Set 7 : Add tests for opacity+percentage combination #

Messages

Total messages: 22 (12 generated)
rwlbuis
PTAL.
5 years ago (2015-11-30 02:05:52 UTC) #6
Timothy Loh
Description should mention the web-facing changes. lgtm, but wait for fs to have a look. ...
5 years ago (2015-11-30 06:09:57 UTC) #8
fs
LGTM w/ Tim's issues addressed. https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1955 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1955: static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeOpacity(CSSParserTokenRange& range) ...
5 years ago (2015-11-30 09:52:59 UTC) #9
rwlbuis
PTAL again please because of the opacity changes. I also added a testcase for this. ...
5 years ago (2015-11-30 22:17:43 UTC) #11
fs
https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1955 third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp:1955: static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeOpacity(CSSParserTokenRange& range) On 2015/11/30 at 22:17:43, rwlbuis ...
5 years ago (2015-11-30 23:10:31 UTC) #13
rwlbuis
On 2015/11/30 23:10:31, fs wrote: > https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp > File third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp (right): > > https://codereview.chromium.org/1441233006/diff/100001/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp#newcode1955 > ...
5 years ago (2015-11-30 23:21:58 UTC) #14
Timothy Loh
lgtm
5 years ago (2015-11-30 23:43:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441233006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441233006/140001
5 years ago (2015-11-30 23:50:45 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years ago (2015-12-01 01:43:01 UTC) #20
commit-bot: I haz the power
5 years ago (2015-12-01 01:43:44 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/53c8da9fe520c90bc1ae325dd4e0513b7851a56c
Cr-Commit-Position: refs/heads/master@{#362311}

Powered by Google App Engine
This is Rietveld 408576698