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

Issue 1498713002: Store custom property backing strings in resolved CSSVariableData objects. (Closed)

Created:
5 years ago by shans
Modified:
5 years ago
CC:
alancutter (OOO until 2018), darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store custom property backing strings in resolved CSSVariableData objects. This is a defensive change - it seems unlikely that CSS Variables can persist beyond the style sheets that create them, but it's also easy and cheap to ensure that resolved CSS variables pin their backing strings. It's worth noting that resolved CSS Variables can *only* reference either their own string, or strings from other *already resolved* variables. BUG=465126 Committed: https://crrev.com/e9e72810a4bd7900a69f86f40884ddb310189a92 Cr-Commit-Position: refs/heads/master@{#362913}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M third_party/WebKit/Source/core/css/CSSVariableData.h View 2 chunks +5 lines, -4 lines 2 comments Download
M third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
shans
5 years ago (2015-12-03 03:38:59 UTC) #2
Timothy Loh
On 2015/12/03 03:38:59, shans wrote: lgtm, but BUG= should probably point to the custom properties ...
5 years ago (2015-12-03 03:46:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498713002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498713002/1
5 years ago (2015-12-03 03:56:21 UTC) #6
alancutter (OOO until 2018)
https://codereview.chromium.org/1498713002/diff/1/third_party/WebKit/Source/core/css/CSSVariableData.h File third_party/WebKit/Source/core/css/CSSVariableData.h (right): https://codereview.chromium.org/1498713002/diff/1/third_party/WebKit/Source/core/css/CSSVariableData.h#newcode42 third_party/WebKit/Source/core/css/CSSVariableData.h:42: // this will potentially reference. We should update the ...
5 years ago (2015-12-03 04:14:12 UTC) #8
shans
https://codereview.chromium.org/1498713002/diff/1/third_party/WebKit/Source/core/css/CSSVariableData.h File third_party/WebKit/Source/core/css/CSSVariableData.h (right): https://codereview.chromium.org/1498713002/diff/1/third_party/WebKit/Source/core/css/CSSVariableData.h#newcode42 third_party/WebKit/Source/core/css/CSSVariableData.h:42: // this will potentially reference. On 2015/12/03 at 04:14:12, ...
5 years ago (2015-12-03 04:29:55 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-03 05:16:56 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-03 05:17:38 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e9e72810a4bd7900a69f86f40884ddb310189a92
Cr-Commit-Position: refs/heads/master@{#362913}

Powered by Google App Engine
This is Rietveld 408576698