diff --git a/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test.html b/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test.html new file mode 100644 index 00000000000000..3c326b4e2be39a --- /dev/null +++ b/html/semantics/scripting-1/the-script-element/css-module/css-module-worker-test.html @@ -0,0 +1,18 @@ + + + + import-css-module-worker + + + + + +

import-css-module-worker

+ + \ No newline at end of file diff --git a/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html b/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html new file mode 100644 index 00000000000000..c1c8b105c94538 --- /dev/null +++ b/html/semantics/scripting-1/the-script-element/css-module/import-css-module-basic.html @@ -0,0 +1,22 @@ + + + + import-css-module-basic + + + + + +

import-css-module-basic

+ + +
+ I am a test div. +
+ \ No newline at end of file diff --git a/html/semantics/scripting-1/the-script-element/css-module/modules/basic.css b/html/semantics/scripting-1/the-script-element/css-module/modules/basic.css new file mode 100644 index 00000000000000..3ea2ef45339c41 --- /dev/null +++ b/html/semantics/scripting-1/the-script-element/css-module/modules/basic.css @@ -0,0 +1,3 @@ +#test { + background-color:red; +} \ No newline at end of file diff --git a/html/semantics/scripting-1/the-script-element/css-module/modules/worker.js b/html/semantics/scripting-1/the-script-element/css-module/modules/worker.js new file mode 100644 index 00000000000000..63d1d6521b684f --- /dev/null +++ b/html/semantics/scripting-1/the-script-element/css-module/modules/worker.js @@ -0,0 +1 @@ +import "./basic.css" \ No newline at end of file