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

Issue 1330243002: CSS escape doesn't escape leading hyphen. (Closed)

Created:
5 years, 3 months ago by ramya.v
Modified:
5 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, rwlbuis, apavlov+blink_chromium.org, blink-reviews-css, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

CSS escape doesn't escape leading hyphen. As per the spec https://drafts.csswg.org/cssom/#serialize-an-identifier If the character is the first character and is a '-' (U+002D), and there is no second character, then it should be escaped. BUG=528972 Committed: https://crrev.com/b000368e89cd7e755f91623ad6f6460883d056eb git-svn-id: svn://svn.chromium.org/blink/trunk@202039 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Patch Set 2 : Updated patch to handle '--' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M LayoutTests/css3/escape-dom-api.html View 1 1 chunk +2 lines, -0 lines 2 comments Download
M LayoutTests/css3/escape-dom-api-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSMarkup.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
ramya.v
PTAL! Thanks
5 years, 3 months ago (2015-09-10 07:17:23 UTC) #2
Timothy Loh
On 2015/09/10 07:17:23, ramya.v wrote: > PTAL! > > Thanks Does this handle the ident ...
5 years, 3 months ago (2015-09-10 07:21:25 UTC) #3
ramya.v
On 2015/09/10 07:21:25, Timothy Loh wrote: > On 2015/09/10 07:17:23, ramya.v wrote: > > PTAL! ...
5 years, 3 months ago (2015-09-10 07:32:24 UTC) #4
Timothy Loh
On 2015/09/10 07:32:24, ramya.v wrote: > On 2015/09/10 07:21:25, Timothy Loh wrote: > > On ...
5 years, 3 months ago (2015-09-10 07:37:41 UTC) #5
Timothy Loh
On 2015/09/10 07:37:41, Timothy Loh wrote: > On 2015/09/10 07:32:24, ramya.v wrote: > > On ...
5 years, 3 months ago (2015-09-10 07:38:36 UTC) #6
ramya.v
On 2015/09/10 07:38:36, Timothy Loh wrote: > On 2015/09/10 07:37:41, Timothy Loh wrote: > > ...
5 years, 3 months ago (2015-09-10 07:41:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330243002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330243002/20001
5 years, 3 months ago (2015-09-10 07:42:10 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=202039
5 years, 3 months ago (2015-09-10 08:49:08 UTC) #10
mathias
https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html File LayoutTests/css3/escape-dom-api.html (right): https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html#newcode57 LayoutTests/css3/escape-dom-api.html:57: shouldBeEqualToString("CSS.escape('-')", "\\-"); To match the updated source tests, add ...
5 years, 3 months ago (2015-09-10 10:13:04 UTC) #12
mathias
https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html File LayoutTests/css3/escape-dom-api.html (right): https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html#newcode58 LayoutTests/css3/escape-dom-api.html:58: shouldBeEqualToString("CSS.escape('--')", "--"); This test expectation is incorrect. It should ...
5 years, 3 months ago (2015-09-10 10:20:25 UTC) #13
mathias
On 2015/09/10 10:20:25, mathias wrote: > https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html > File LayoutTests/css3/escape-dom-api.html (right): > > https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html#newcode58 > ...
5 years, 3 months ago (2015-09-10 10:22:53 UTC) #14
ramya.v
On 2015/09/10 10:13:04, mathias wrote: > https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html > File LayoutTests/css3/escape-dom-api.html (right): > > https://codereview.chromium.org/1330243002/diff/20001/LayoutTests/css3/escape-dom-api.html#newcode57 > ...
5 years, 3 months ago (2015-09-10 11:41:02 UTC) #15
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:08:46 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b000368e89cd7e755f91623ad6f6460883d056eb

Powered by Google App Engine
This is Rietveld 408576698