diff options
Diffstat (limited to 'tests/staticfiles_tests/project/documents/cached')
15 files changed, 39 insertions, 0 deletions
diff --git a/tests/staticfiles_tests/project/documents/cached/absolute.css b/tests/staticfiles_tests/project/documents/cached/absolute.css new file mode 100644 index 0000000000..54467a362d --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/absolute.css @@ -0,0 +1,4 @@ +@import url("/static/cached/styles.css"); +body { + background: #d3d6d8 url(/static/cached/img/relative.png); +}
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot new file mode 100644 index 0000000000..7c58b2e622 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot @@ -0,0 +1 @@ +not really a EOT ;)
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/css/fonts/font.svg b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.svg new file mode 100644 index 0000000000..0282375915 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.svg @@ -0,0 +1 @@ +not really a SVG ;)
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/css/fragments.css b/tests/staticfiles_tests/project/documents/cached/css/fragments.css new file mode 100644 index 0000000000..540d54b88d --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/fragments.css @@ -0,0 +1,8 @@ +@font-face { + src: url('fonts/font.eot?#iefix') format('embedded-opentype'), + url('fonts/font.svg#webfontIyfZbseF') format('svg'); + url('data:font/woff;charset=utf-8;base64,d09GRgABAAAAADJoAA0AAAAAR2QAAQAAAAAAAAAAAAA'); +} +div { + behavior: url("#default#VML"); +} diff --git a/tests/staticfiles_tests/project/documents/cached/css/ignored.css b/tests/staticfiles_tests/project/documents/cached/css/ignored.css new file mode 100644 index 0000000000..fe7b022215 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/ignored.css @@ -0,0 +1,8 @@ +body { + background: url("#foobar"); + background: url("http:foobar"); + background: url("https:foobar"); + background: url("data:foobar"); + background: url("//foobar"); +} + diff --git a/tests/staticfiles_tests/project/documents/cached/css/img/window.png b/tests/staticfiles_tests/project/documents/cached/css/img/window.png Binary files differnew file mode 100644 index 0000000000..ba48325c0a --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/img/window.png diff --git a/tests/staticfiles_tests/project/documents/cached/css/window.css b/tests/staticfiles_tests/project/documents/cached/css/window.css new file mode 100644 index 0000000000..9fea4e8a5e --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/css/window.css @@ -0,0 +1,3 @@ +body { + background: #d3d6d8 url("img/window.png"); +}
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/denorm.css b/tests/staticfiles_tests/project/documents/cached/denorm.css new file mode 100644 index 0000000000..d6567b00dd --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/denorm.css @@ -0,0 +1,4 @@ +@import url("..//cached///styles.css"); +body { + background: #d3d6d8 url(img/relative.png ); +} diff --git a/tests/staticfiles_tests/project/documents/cached/img/relative.png b/tests/staticfiles_tests/project/documents/cached/img/relative.png Binary files differnew file mode 100644 index 0000000000..ba48325c0a --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/img/relative.png diff --git a/tests/staticfiles_tests/project/documents/cached/import.css b/tests/staticfiles_tests/project/documents/cached/import.css new file mode 100644 index 0000000000..6bc7ce04c4 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/import.css @@ -0,0 +1 @@ +@import 'styles.css'; diff --git a/tests/staticfiles_tests/project/documents/cached/other.css b/tests/staticfiles_tests/project/documents/cached/other.css new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/other.css diff --git a/tests/staticfiles_tests/project/documents/cached/relative.css b/tests/staticfiles_tests/project/documents/cached/relative.css new file mode 100644 index 0000000000..95d1f4abb8 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/relative.css @@ -0,0 +1,6 @@ +@import url("../cached/styles.css"); +@import url("absolute.css"); +@import url("absolute.css#eggs"); +body { + background: #d3d6d8 url(img/relative.png); +}
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/styles.css b/tests/staticfiles_tests/project/documents/cached/styles.css new file mode 100644 index 0000000000..ca28fc35cd --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/styles.css @@ -0,0 +1 @@ +@import url("other.css");
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/styles_insensitive.css b/tests/staticfiles_tests/project/documents/cached/styles_insensitive.css new file mode 100644 index 0000000000..57904ad415 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/styles_insensitive.css @@ -0,0 +1 @@ +@IMporT uRL("other.css");
\ No newline at end of file diff --git a/tests/staticfiles_tests/project/documents/cached/url.css b/tests/staticfiles_tests/project/documents/cached/url.css new file mode 100644 index 0000000000..184e254004 --- /dev/null +++ b/tests/staticfiles_tests/project/documents/cached/url.css @@ -0,0 +1 @@ +@import url("https://www.djangoproject.com/m/css/base.css");
\ No newline at end of file |
