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

Side by Side Diff: lib/src/prism/tests/languages/css!+css-extras/selector_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 foo:after {
2 foo::first-letter {
3
4 foo:nth-child(2n+1) {
5
6 foo.bar {
7
8 foo#bar {
9
10 #foo > .bar:not(baz):after {
11
12 ----------------------------------------------------
13
14 [
15 ["selector", [
16 "foo",
17 ["pseudo-element", ":after"]
18 ]], ["punctuation", "{"],
19
20 ["selector", [
21 "foo",
22 ["pseudo-element", "::first-letter"]
23 ]], ["punctuation", "{"],
24
25 ["selector", [
26 "foo",
27 ["pseudo-class", ":nth-child(2n+1)"]
28 ]], ["punctuation", "{"],
29
30 ["selector", [
31 "foo",
32 ["class", ".bar"]
33 ]], ["punctuation", "{"],
34
35 ["selector", [
36 "foo",
37 ["id", "#bar"]
38 ]], ["punctuation", "{"],
39
40 ["selector", [
41 ["id", "#foo"],
42 " > ",
43 ["class", ".bar"],
44 ["pseudo-class", ":not(baz)"],
45 ["pseudo-element", ":after"]
46 ]], ["punctuation", "{"]
47 ]
48
49 ----------------------------------------------------
50
51 Checks for pseudo-elements, pseudo-classes, classes and ids inside selectors.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698