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

Issue 2645563002: Serialize type and attribute selectors as identifiers (Closed)

Created:
3 years, 11 months ago by fs
Modified:
3 years, 11 months ago
Reviewers:
rune
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Serialize type and attribute selectors as identifiers Per [1], both the element name of a type selector and the attribute name of an attribute selector - as well as their corresponding namespace prefix (if any) - should be serialized as identifiers [2]. [1] https://drafts.csswg.org/cssom/#serialize-a-simple-selector [2] https://drafts.csswg.org/cssom/#serialize-an-identifier BUG=681814 Review-Url: https://codereview.chromium.org/2645563002 Cr-Commit-Position: refs/heads/master@{#444766} Committed: https://chromium.googlesource.com/chromium/src/+/97b5d7d2b375ae960a7b8084591815e30ae19832

Patch Set 1 #

Total comments: 2

Patch Set 2 : weird -> escaped; add "serialize character as code point" test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -13 lines) Patch
A third_party/WebKit/LayoutTests/cssom/serialize-attribute-selectors.html View 1 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/cssom/serialize-namespaced-type-selectors.html View 1 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSSelector.cpp View 2 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
fs
3 years, 11 months ago (2017-01-18 15:49:55 UTC) #4
rune
lgtm with some nits. For test coverage, testing a case of "escaped as code point" ...
3 years, 11 months ago (2017-01-18 23:29:24 UTC) #7
fs
On 2017/01/18 at 23:29:24, rune wrote: ... > For test coverage, testing a case of ...
3 years, 11 months ago (2017-01-19 11:43:27 UTC) #10
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/2645563002/20001
3 years, 11 months ago (2017-01-19 16:47:50 UTC) #15
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 16:52:59 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/97b5d7d2b375ae960a7b80845918...

Powered by Google App Engine
This is Rietveld 408576698