@@ -4,7 +4,7 @@ CSS parsing tests
4
4
This repository contains implementation-independent test for CSS parsers,
5
5
based on the 2013 draft of the `CSS Syntax Level 3 `_ specification.
6
6
7
- .. _CSS Syntax Level 3 : http ://dev.w3 .org/csswg /css-syntax-3/
7
+ .. _CSS Syntax Level 3 : https ://drafts.csswg .org/css-syntax-3/
8
8
9
9
The upstream repository for these tests is at
10
10
https://github.com/SimonSapin/css-parsing-tests
@@ -51,51 +51,51 @@ associated with the expected result.
51
51
52
52
``component_value_list.json ``
53
53
Tests `Parse a list of component values
54
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-list-of-component-values> `_.
54
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-list-of-component-values> `_.
55
55
The Unicode input is represented by a JSON string,
56
56
the output as an array of `component values `_ as described below.
57
57
58
58
``component_value_list.json ``
59
59
Tests `Parse a component value
60
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-component-value> `_.
60
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-component-value> `_.
61
61
The Unicode input is represented by a JSON string,
62
62
the output as a `component value `_.
63
63
64
64
``declaration_list.json ``
65
65
Tests `Parse a list of declarations
66
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-list-of-declarations> `_.
66
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-list-of-declarations> `_.
67
67
The Unicode input is represented by a JSON string,
68
68
the output as an array of declarations _ and at-rules _.
69
69
70
70
``one_declaration.json ``
71
71
Tests `Parse a declaration
72
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-declaration> `_.
72
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-declaration> `_.
73
73
The Unicode input is represented by a JSON string,
74
74
the output as a declaration _.
75
75
76
76
``one_rule.json ``
77
77
Tests `Parse a rule
78
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-rule> `_.
78
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-rule> `_.
79
79
The Unicode input is represented by a JSON string,
80
80
the output as a `qualified rule `_ or at-rule _.
81
81
82
82
``rule_list.json ``
83
83
Tests `Parse a list of rules
84
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-list-of-rules> `_.
84
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-list-of-rules> `_.
85
85
The Unicode input is represented by a JSON string,
86
86
the output as a list of `qualified rules `_ or at-rules _.
87
87
88
88
``stylesheet.json ``
89
89
Tests `Parse a stylesheet
90
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-stylesheet> `_.
90
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-stylesheet> `_.
91
91
The Unicode input is represented by a JSON string,
92
92
the output as a list of `qualified rules `_ or at-rules _.
93
93
94
94
``stylesheet_bytes.json ``
95
95
Tests `Parse a stylesheet
96
- <http ://dev.w3 .org/csswg /css-syntax-3/#parse-a-stylesheet> `_
96
+ <https ://drafts.csswg .org/css-syntax-3/#parse-a-stylesheet> `_
97
97
together with `The input byte stream
98
- <http ://dev.w3 .org/csswg/ css-syntax/#input-byte-stream> `_.
98
+ <https ://drafts.csswg .org/css-syntax-3 /#input-byte-stream> `_.
99
99
The input is represented as a JSON object containing:
100
100
101
101
* A required ``css_bytes ``, the input byte string,
@@ -132,12 +132,12 @@ associated with the expected result.
132
132
This file is generated by the ``make_color3_keywords.py `` Python script.
133
133
134
134
``An+B.json ``
135
- Tests the `An+B <http ://dev.w3 .org/csswg/ css-syntax/#the-anb-type >`_
135
+ Tests the `An+B <https ://drafts.csswg .org/css-syntax-3 /#the-anb-type >`_
136
136
syntax defined in CSS Syntax Level 3.
137
- This `differs <http ://dev.w3 .org/csswg /css-syntax/#changes >`_ from the
137
+ This `differs <https ://drafts.csswg .org/css-syntax/#changes >`_ from the
138
138
`nth grammar rule <http://www.w3.org/TR/css3-selectors/#nth-child-pseudo >`_
139
139
in Selectors Level 3 only in that
140
- ``- `` charecters and digits can be escaped in some cases.
140
+ ``- `` characters and digits can be escaped in some cases.
141
141
The Unicode input is represented by a JSON string,
142
142
the output as null for invalid syntax,
143
143
or an array of two integers ``[A, B] ``.
0 commit comments