Skip to content

Commit 9456541

Browse files
committed
Update CSSWG drafts URL.
1 parent 78938c9 commit 9456541

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/css-parsing-tests/README.rst

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CSS parsing tests
44
This repository contains implementation-independent test for CSS parsers,
55
based on the 2013 draft of the `CSS Syntax Level 3`_ specification.
66

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/
88

99
The upstream repository for these tests is at
1010
https://github.com/SimonSapin/css-parsing-tests
@@ -51,51 +51,51 @@ associated with the expected result.
5151

5252
``component_value_list.json``
5353
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>`_.
5555
The Unicode input is represented by a JSON string,
5656
the output as an array of `component values`_ as described below.
5757

5858
``component_value_list.json``
5959
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>`_.
6161
The Unicode input is represented by a JSON string,
6262
the output as a `component value`_.
6363

6464
``declaration_list.json``
6565
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>`_.
6767
The Unicode input is represented by a JSON string,
6868
the output as an array of declarations_ and at-rules_.
6969

7070
``one_declaration.json``
7171
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>`_.
7373
The Unicode input is represented by a JSON string,
7474
the output as a declaration_.
7575

7676
``one_rule.json``
7777
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>`_.
7979
The Unicode input is represented by a JSON string,
8080
the output as a `qualified rule`_ or at-rule_.
8181

8282
``rule_list.json``
8383
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>`_.
8585
The Unicode input is represented by a JSON string,
8686
the output as a list of `qualified rules`_ or at-rules_.
8787

8888
``stylesheet.json``
8989
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>`_.
9191
The Unicode input is represented by a JSON string,
9292
the output as a list of `qualified rules`_ or at-rules_.
9393

9494
``stylesheet_bytes.json``
9595
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>`_
9797
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>`_.
9999
The input is represented as a JSON object containing:
100100

101101
* A required ``css_bytes``, the input byte string,
@@ -132,12 +132,12 @@ associated with the expected result.
132132
This file is generated by the ``make_color3_keywords.py`` Python script.
133133

134134
``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>`_
136136
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
138138
`nth grammar rule <http://www.w3.org/TR/css3-selectors/#nth-child-pseudo>`_
139139
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.
141141
The Unicode input is represented by a JSON string,
142142
the output as null for invalid syntax,
143143
or an array of two integers ``[A, B]``.

0 commit comments

Comments
 (0)