Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-li-element/grouping-li-reftest-no-list-owner-ref.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-li-element/grouping-li-reftest-no-list-owner-ref.html b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-li-element/grouping-li-reftest-no-list-owner-ref.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3ed2a5148232e766baf1ecd8df631c8c77dede1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-li-element/grouping-li-reftest-no-list-owner-ref.html |
@@ -0,0 +1,29 @@ |
+<!DOCTYPE html> |
+<meta charset="utf-8"> |
+<title>If no ancestors generate CSS boxes, the list item has no owner, and thus gets numbered as 0</title> |
+<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#ordinal-value"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/semantics.html#list-owner"> |
+ |
+<style> |
+ html, body { |
+ display: contents; |
+ } |
+ |
+ li { |
+ list-style-type: decimal; |
+ margin-left: 50px; |
+ } |
+</style> |
+ |
+<p>This test matches if the list displays similar to the following</p> |
+ |
+<pre>0. A |
+0. B |
+0. C</pre> |
+ |
+<hr> |
+ |
+<li value="0">A</li> |
+<li value="0">B</li> |
+<li value="0">C</li> |