4.3.4 URLs and URIs

Chapter 4 - Syntax and basic data types - 4.3.4 URLs and URIs

Go to the relevant page of the specification.

c11-import-000
Basic Containment
c64-uri-000 (image)
URLs
uri-001
Parsing valid URIs with white space and no quotes
A url function is valid if it is 'url(', followed by the URI, followed by ')', even with white space between.
uri-002 (invalid)
Parsing URL with an invalid space
URL functions with invalid spaces are ignored.
uri-003 (image, invalid)
URL with missing closing parenthesis
Url functions with missing closing parenthesis are ignored.
uri-004 (image)
URL function with URI that has escaped special chars
URI escapes are allowed in URL functions.
uri-005 (image)
URL function with escaped special chars - single quote
Single quote characters appearing in an unquoted URI need to be escaped with a backslash so that the resulting URI value is a URI token.
uri-006 (image, invalid)
Invalid character (*) after URL function values
Special CSS characters following URL strings invalidate the entire url assignment.
uri-007 (image, invalid)
Invalid character (&) after URL functions values
Invalid characters following URL strings invalidate the entire url assignment.
uri-008 (image, invalid)
Invalid characters (alpha) before URL function values
Alpha characters preceding URL strings invalidate the entire url assignment.
uri-009 (image, invalid)
Invalid character (/) before URL functions
A slash character preceding URL string invalidates the entire url assignment.
uri-010 (image, invalid)
Invalid character (_) before URL functions
An underscore character preceding URL string invalidates the entire url assignment.
uri-011 (image, invalid)
Invalid character (=) before URL functions
An equal sign character preceding URL string invalidates the entire url assignment.
uri-012 (invalid)
Error handling of broken url() - balancing braces
uri-014
Unquoted commas in url()
Unquoted commas inside url() are valid.
uri-015
Escaped url() functional notation
Unquoted commas inside url() are valid.
uri-016
Error handling of broken url() with open /*
Comments are just regular tokens inside unquoted URLs.