diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/style')
7 files changed, 61 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/model-isvalid.html new file mode 100644 index 000000000..f0dd1c23f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/model-isvalid.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> + <style> +<!-- + +Something or other + +--> + </style> + <meta charset=utf-8> + <title><STYLE>s</title> + <style type="application/vnd.nonsense" title="My Style"> + Something or other + </style> +</head> +<body> + +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-div-child-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-div-child-novalid.html new file mode 100644 index 000000000..d927a60f1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-div-child-novalid.html @@ -0,0 +1,8 @@ +<!doctype html> +<meta charset=utf-8> +<title>style@scoped as child of div with flow content after</title> +<body> +<div> +<style scoped></style> +<p>foo +</div> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-p-child-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-p-child-novalid.html new file mode 100644 index 000000000..8619e0815 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-as-p-child-novalid.html @@ -0,0 +1,5 @@ +<!doctype html> +<meta charset=utf-8> +<title>style@scoped as child of p (where flow content is not allowed)</title> +<body> +<p><style scoped></style></p> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-in-head-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-in-head-novalid.html new file mode 100644 index 000000000..358bd694b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-in-head-novalid.html @@ -0,0 +1,6 @@ +<!doctype html> +<head> +<meta charset=utf-8> +<title>style@scoped in head</title> +<style scoped></style> +</head> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-model-novalid.html new file mode 100644 index 000000000..19d56bbc9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-model-novalid.html @@ -0,0 +1,8 @@ +<!doctype html> +<meta charset=utf-8> +<title>style@scoped as child of div with flow content before</title> +<body> +<div> +<p>foo</p> +<style scoped></style> +</div> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-multiple-adjacent-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-multiple-adjacent-novalid.html new file mode 100644 index 000000000..1799dd128 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-multiple-adjacent-novalid.html @@ -0,0 +1,9 @@ +<!doctype html> +<meta charset=utf-8> +<title>mutliple adjacent style@scoped as child of div with flow content after</title> +<body> +<div> +<style scoped></style> +<style scoped></style> +<p>foo</p> +</div> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-novalid.html new file mode 100644 index 000000000..cdcc00eb7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/style/scoped-novalid.html @@ -0,0 +1,5 @@ +<!doctype html> +<meta charset=utf-8> +<title>style@scoped as child of div</title> +<body> +<div><style scoped></style></div> |