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

Issue 1386733003: Do not accept CSS-wide keywords for descriptors (Closed)

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

Description

Do not accept CSS-wide keywords for descriptors Do not accept CSS-wide keywords for descriptors, since they are only defined to work on properties[1]. In order to test for descriptors, add a new keyword 'descriptor' to CSSProperties.in and generate the function isDescriptor based on that. BUG=448567 [1] http://www.w3.org/TR/css3-values/#common-keywords Committed: https://crrev.com/cc83aeab5eb7a294fc8583bbbd3c8b4ee4c0281f Cr-Commit-Position: refs/heads/master@{#396870}

Patch Set 1 #

Patch Set 2 : V2 #

Patch Set 3 : V3 #

Patch Set 4 : V4 #

Patch Set 5 : V5 #

Patch Set 6 : V6 #

Patch Set 7 : V7 #

Total comments: 10

Patch Set 8 : Address review comments #

Patch Set 9 : Try to fix ASSERTs #

Total comments: 3

Patch Set 10 : Patch for landing #

Messages

Total messages: 26 (14 generated)
rwlbuis
PTAL.
4 years, 7 months ago (2016-05-16 02:08:52 UTC) #8
Timothy Loh
lgtm
4 years, 7 months ago (2016-05-19 05:12:22 UTC) #9
Timothy Loh
On 2016/05/19 05:12:22, Timothy Loh wrote: > lgtm oops finger slipped, meant to be for ...
4 years, 7 months ago (2016-05-19 05:12:40 UTC) #10
Timothy Loh
https://codereview.chromium.org/1386733003/diff/120001/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html File third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html (right): https://codereview.chromium.org/1386733003/diff/120001/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html#newcode8 third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html:8: assert_invalid_value("orientation", "initial"); I'd swap some initials to inherit/unset and ...
4 years, 7 months ago (2016-05-19 05:44:42 UTC) #11
rwlbuis
PTAL. https://codereview.chromium.org/1386733003/diff/120001/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html File third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html (right): https://codereview.chromium.org/1386733003/diff/120001/third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html#newcode8 third_party/WebKit/LayoutTests/css-parser/css-wide-keywords-descriptors.html:8: assert_invalid_value("orientation", "initial"); On 2016/05/19 05:44:41, Timothy Loh wrote: ...
4 years, 7 months ago (2016-05-20 00:51:11 UTC) #15
rwlbuis
On 2016/05/20 00:51:11, rwlbuis wrote: > [ bunch of stuff fixed] > PTAP (please take ...
4 years, 6 months ago (2016-05-25 20:49:10 UTC) #16
rwlbuis
On 2016/05/20 00:51:11, rwlbuis wrote: > [ bunch of stuff fixed] > PTAP (please take ...
4 years, 6 months ago (2016-05-25 20:49:23 UTC) #17
Timothy Loh
lgtm, sorry for the delay. Please update the description too. https://codereview.chromium.org/1386733003/diff/220001/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl File third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl (right): https://codereview.chromium.org/1386733003/diff/220001/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl#newcode65 ...
4 years, 6 months ago (2016-05-31 03:24:05 UTC) #18
Timothy Loh
https://codereview.chromium.org/1386733003/diff/220001/third_party/WebKit/Source/core/css/CSSProperties.in File third_party/WebKit/Source/core/css/CSSProperties.in (right): https://codereview.chromium.org/1386733003/diff/220001/third_party/WebKit/Source/core/css/CSSProperties.in#newcode16 third_party/WebKit/Source/core/css/CSSProperties.in:16: // - descriptor_only // These are actually descriptors and ...
4 years, 6 months ago (2016-05-31 07:35:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1386733003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1386733003/240001
4 years, 6 months ago (2016-05-31 16:08:43 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:240001)
4 years, 6 months ago (2016-05-31 18:26:47 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 18:27:48 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/cc83aeab5eb7a294fc8583bbbd3c8b4ee4c0281f
Cr-Commit-Position: refs/heads/master@{#396870}

Powered by Google App Engine
This is Rietveld 408576698