diff --git a/src/tests/data/import-css-via-data-url/index.html b/src/tests/data/import-css-via-data-url/index.html new file mode 100644 index 0000000..1758b00 --- /dev/null +++ b/src/tests/data/import-css-via-data-url/index.html @@ -0,0 +1,23 @@ + + + + + + + Attempt to import CSS via data URL asset + + + + + +

If you see pink background with white foreground then we’re in trouble

+ + + diff --git a/src/tests/data/import-css-via-data-url/style.css b/src/tests/data/import-css-via-data-url/style.css new file mode 100644 index 0000000..8a12fec --- /dev/null +++ b/src/tests/data/import-css-via-data-url/style.css @@ -0,0 +1,4 @@ +body { + background-color: pink; + color: white; +} diff --git a/src/tests/data/integrity/index.html b/src/tests/data/integrity/index.html index 1b373ab..080bc6c 100644 --- a/src/tests/data/integrity/index.html +++ b/src/tests/data/integrity/index.html @@ -4,14 +4,16 @@ + Local HTML file - - + + - - +

This page should have black background and white foreground, but only when served via http: (not via file:)

+ +