diff options
Diffstat (limited to 'layout/reftests/w3c-css/submitted/lists-3')
5 files changed, 90 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html new file mode 100644 index 000000000..0d1b13628 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>CSS Reference: String value of list-style-type</title> + <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com"> + <style> + ol, ul { list-style: none; } + li::before { + content: "# "; + font-variant-numeric: tabular-nums; + } + </style> +</head> +<body> + <ol start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ol> + <ul start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ul> +</body> +</html> diff --git a/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html new file mode 100644 index 000000000..f7ed6e3b3 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>CSS Test: String value of list-style-type</title> + <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com"> + <link rel="help" href="https://drafts.csswg.org/css-lists-3/#valdef-list-style-type-string"> + <link rel="match" href="list-style-type-string-001-ref.html"> + <style> + ol, ul { list-style-type: "# "; list-style-position: inside; } + </style> +</head> +<body> + <ol start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ol> + <ul start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ul> +</body> +</html> diff --git a/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html new file mode 100644 index 000000000..f02bf13a7 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>CSS Test: String value of list-style</title> + <link rel="author" title="Xidorn Quan" href="mailto:quanxunzhen@gmail.com"> + <link rel="help" href="https://drafts.csswg.org/css-lists-3/#valdef-list-style-type-string"> + <link rel="match" href="list-style-type-string-001-ref.html"> + <style> + ol, ul { list-style: inside "# "; } + </style> +</head> +<body> + <ol start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ol> + <ul start="-1"> + <li>item -1</li> + <li>item 0</li> + <li>item 1</li> + <li>item 2</li> + </ul> +</body> +</html> diff --git a/layout/reftests/w3c-css/submitted/lists-3/reftest-stylo.list b/layout/reftests/w3c-css/submitted/lists-3/reftest-stylo.list new file mode 100644 index 000000000..569a549e7 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/lists-3/reftest-stylo.list @@ -0,0 +1,4 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +# Tests for list-style-type +== list-style-type-string-001a.html list-style-type-string-001a.html +== list-style-type-string-001b.html list-style-type-string-001b.html diff --git a/layout/reftests/w3c-css/submitted/lists-3/reftest.list b/layout/reftests/w3c-css/submitted/lists-3/reftest.list new file mode 100644 index 000000000..f914145ab --- /dev/null +++ b/layout/reftests/w3c-css/submitted/lists-3/reftest.list @@ -0,0 +1,3 @@ +# Tests for list-style-type +== list-style-type-string-001a.html list-style-type-string-001-ref.html +== list-style-type-string-001b.html list-style-type-string-001-ref.html |