From f8ac12c57b1dd4dad1141f990197a8b898246c55 Mon Sep 17 00:00:00 2001 From: Johnny Hauser Date: Tue, 24 Oct 2017 22:54:23 -0500 Subject: [PATCH] test for attribute name only selector --- test/css/samples/attribute-selector-only-name/_config.js | 3 +++ test/css/samples/attribute-selector-only-name/expected.css | 1 + test/css/samples/attribute-selector-only-name/input.html | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 test/css/samples/attribute-selector-only-name/_config.js create mode 100644 test/css/samples/attribute-selector-only-name/expected.css create mode 100644 test/css/samples/attribute-selector-only-name/input.html diff --git a/test/css/samples/attribute-selector-only-name/_config.js b/test/css/samples/attribute-selector-only-name/_config.js new file mode 100644 index 0000000000..b37866f9b6 --- /dev/null +++ b/test/css/samples/attribute-selector-only-name/_config.js @@ -0,0 +1,3 @@ +export default { + cascade: false +}; \ No newline at end of file diff --git a/test/css/samples/attribute-selector-only-name/expected.css b/test/css/samples/attribute-selector-only-name/expected.css new file mode 100644 index 0000000000..6086e249a4 --- /dev/null +++ b/test/css/samples/attribute-selector-only-name/expected.css @@ -0,0 +1 @@ +[foo][svelte-xyz]{color:red} \ No newline at end of file diff --git a/test/css/samples/attribute-selector-only-name/input.html b/test/css/samples/attribute-selector-only-name/input.html new file mode 100644 index 0000000000..1a0b1d815a --- /dev/null +++ b/test/css/samples/attribute-selector-only-name/input.html @@ -0,0 +1,7 @@ +
+ +