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

Issue 2188343002: Fix serialization of css-wide keywords in custom properties (Closed)

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

Description

Fix serialization of css-wide keywords in custom properties Serialize css-wide keywords in custom properties by prefixing it with a space character and then serialing the keyword itself (inherit/initial/unset). BUG=632242 Committed: https://crrev.com/fffdf72e66e5aadec1c74bbbb7f4b60d4c629cfa Cr-Commit-Position: refs/heads/master@{#408655}

Patch Set 1 #

Patch Set 2 : V2 #

Patch Set 3 : V3 #

Total comments: 4

Patch Set 4 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style.html View 1 1 chunk +4 lines, -3 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style-expected.txt View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/StylePropertySerializer.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
rwlbuis
PTAL.
4 years, 4 months ago (2016-07-28 21:49:21 UTC) #6
Timothy Loh
lgtm https://codereview.chromium.org/2188343002/diff/40001/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp File third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp (right): https://codereview.chromium.org/2188343002/diff/40001/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp#newcode22 third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp:22: return emptyString(); Do we actually get here? Maybe ...
4 years, 4 months ago (2016-07-29 01:15:06 UTC) #7
rwlbuis
Thanks for the review, will fix and land tomorrow. https://codereview.chromium.org/2188343002/diff/40001/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp File third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp (right): https://codereview.chromium.org/2188343002/diff/40001/third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp#newcode22 third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp:22: ...
4 years, 4 months ago (2016-07-29 01:25:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2188343002/60001
4 years, 4 months ago (2016-07-29 15:17:25 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style-expected.txt: While running git rm third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style-expected.txt; fatal: pathspec 'third_party/WebKit/LayoutTests/fast/css/variables/inherit-in-inline-style-expected.txt' did ...
4 years, 4 months ago (2016-07-29 16:33:05 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-07-29 16:37:35 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fffdf72e66e5aadec1c74bbbb7f4b60d4c629cfa
Cr-Commit-Position: refs/heads/master@{#408655}

Powered by Google App Engine
This is Rietveld 408576698