Index: LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..73e51a1f08a83275989fd985959051932e941bb6 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-language-type.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<title>Script: combinations of @type and @language</title> |
+<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#prepare-a-script"> |
+<script src="../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+var run = false; |
+</script> |
+<script type="" language="foo"> |
+run = true; |
+</script> |
+<script> |
+test(function() { |
+ assert_equals(run, true); |
+}, "A script with empty type should run"); |
+</script> |