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

Issue 16183002: Unprefix CSS Variables (Closed)

Created:
7 years, 6 months ago by alancutter (OOO until 2018)
Modified:
7 years, 6 months ago
CC:
blink-reviews, apavlov+blink_chromium.org, dglazkov+blink, eae+blinkwatch, darktears, Mike Lawther (Google)
Visibility:
Public.

Description

Unprefix CSS Variables CSS Variables still have the -webkit prefix. This CL removes the prefix. Old format: -webkit-var-name: -webkit-var(otherName) New format: var-name: var(otherName); New test: fast/css/variables/prefix.html BUG=244352 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152747

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixed CSS parser error recovery for CSS variables #

Patch Set 3 : Use COMPILE_ASSERT #

Patch Set 4 : Rebased inspector test #

Patch Set 5 : Rebased onto ToT #

Patch Set 6 : Rebased onto ToT again #

Patch Set 7 : Rebased onto ToT again again #

Patch Set 8 : Rebased and updated prefix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -128 lines) Patch
M LayoutTests/css3/css-variable-definition.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/css3/css-variable-definition-expected.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/css3/filters/reference-filter-update-after-remove.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/test-setting-canvas-color.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/test-setting-canvas-color-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/border-width.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/css/variables/calc.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/css/variables/calc-inside-calc.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/calc-invalid-value.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/calc-invalid-variable.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/calc-negated-variable.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/calc-vw-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/colors-test.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css/variables/complex-cycle.html View 1 chunk +7 lines, -7 lines 0 comments Download
M LayoutTests/fast/css/variables/computed-style.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/deferred-image-load-from-variable.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/inherited-values.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css/variables/inline-styles.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/invalid-font-reference.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/invalid-shorthand.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/invalid-value-list-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/invalid-variable-value.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/css/variables/multi-level-cycle.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/css/variables/name-case-sensitive.html View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download
A LayoutTests/fast/css/variables/prefix.html View 1 2 3 4 5 6 7 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/variables/prefix-expected.html View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/fast/css/variables/redefinition.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css/variables/root-background-size.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/shorthand.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/simple-cycle.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/transform-test.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/css/variables/undefined.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/variables/use-before-defined.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css/variables/value-case-sensitive.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/var-filter.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/var-inside-box-reflect.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/css/variables/var-inside-pair.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/css/variables/var-inside-quad.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/css/variables/var-inside-shape.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/fast/css/variables/var-inside-shorthand.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/css/variables/variable-chain.html View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/css/variables/variable-unparseable-value-crash.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/inspector/styles/variables/css-variables.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/inspector/styles/variables/css-variables-expected.txt View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/CSSGrammar.y.in View 1 2 3 4 5 6 7 4 chunks +5 lines, -1 line 0 comments Download
M Source/core/css/CSSParser.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSParser.cpp View 1 2 3 4 5 6 7 6 chunks +15 lines, -12 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StylePropertySet.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
alancutter (OOO until 2018)
7 years, 6 months ago (2013-05-29 03:59:11 UTC) #1
Mike Lawther (Google)
https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp File Source/core/css/CSSParser.cpp (right): https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp#newcode9799 Source/core/css/CSSParser.cpp:9799: if (RuntimeEnabledFeatures::cssVariablesEnabled() && isASCIIAlphaCaselessEqual(name[0], 'v') && isASCIIAlphaCaselessEqual(name[1], 'a') && ...
7 years, 6 months ago (2013-05-29 04:54:13 UTC) #2
alancutter (OOO until 2018)
https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp File Source/core/css/CSSParser.cpp (right): https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp#newcode9799 Source/core/css/CSSParser.cpp:9799: if (RuntimeEnabledFeatures::cssVariablesEnabled() && isASCIIAlphaCaselessEqual(name[0], 'v') && isASCIIAlphaCaselessEqual(name[1], 'a') && ...
7 years, 6 months ago (2013-05-29 06:41:51 UTC) #3
Mike Lawther (Google)
lgtm https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp File Source/core/css/CSSParser.cpp (right): https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp#newcode9799 Source/core/css/CSSParser.cpp:9799: if (RuntimeEnabledFeatures::cssVariablesEnabled() && isASCIIAlphaCaselessEqual(name[0], 'v') && isASCIIAlphaCaselessEqual(name[1], 'a') ...
7 years, 6 months ago (2013-05-29 08:23:00 UTC) #4
alancutter (OOO until 2018)
On 2013/05/29 08:23:00, Mike Lawther (Google) wrote: > lgtm > > https://codereview.chromium.org/16183002/diff/1/Source/core/css/CSSParser.cpp > File Source/core/css/CSSParser.cpp ...
7 years, 6 months ago (2013-05-30 06:59:38 UTC) #5
alancutter (OOO until 2018)
Rebased to ToT.
7 years, 6 months ago (2013-06-14 05:01:28 UTC) #6
Mike Lawther (Google)
This needs lgtm from an owner - anyone on the CC list who could take ...
7 years, 6 months ago (2013-06-14 07:08:09 UTC) #7
Hajime Morrita
subbetstamping lgtm.
7 years, 6 months ago (2013-06-20 04:12:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/16183002/43001
7 years, 6 months ago (2013-06-20 04:12:37 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-20 04:43:26 UTC) #10
Message was sent while issue was closed.
Change committed as 152747

Powered by Google App Engine
This is Rietveld 408576698