Import css-lists testcases from WPT.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2019 10:01:14 +0000 (10:01 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2019 10:01:14 +0000 (10:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193273

Patch by cathie chen <cathiechen@igalia.com> on 2019-01-10
Reviewed by Daniel Bates.

LayoutTests/imported/w3c:

* resources/import-expectations.json:
* resources/resource-files.json:
* web-platform-tests/css/css-lists/META.yml: Added.
* web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html: Added.
* web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html: Added.
* web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html: Added.
* web-platform-tests/css/css-lists/content-property/w3c-import.log: Added.
* web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html: Added.
* web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html: Added.
* web-platform-tests/css/css-lists/counter-invalid-expected.html: Added.
* web-platform-tests/css/css-lists/counter-invalid.htm: Added.
* web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html: Added.
* web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html: Added.
* web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html: Added.
* web-platform-tests/css/css-lists/counter-reset-increment-display-none.html: Added.
* web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html: Added.
* web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html: Added.
* web-platform-tests/css/css-lists/inheritance-expected.txt: Added.
* web-platform-tests/css/css-lists/inheritance.html: Added.
* web-platform-tests/css/css-lists/li-with-height-001-expected.html: Added.
* web-platform-tests/css/css-lists/li-with-height-001.html: Added.
* web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html: Added.
* web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html: Added.
* web-platform-tests/css/css-lists/list-and-block-textarea-001-expected.txt: Added.
* web-platform-tests/css/css-lists/list-and-block-textarea-001.html: Added.
* web-platform-tests/css/css-lists/list-and-flex-001-expected.html: Added.
* web-platform-tests/css/css-lists/list-and-flex-001.html: Added.
* web-platform-tests/css/css-lists/list-and-grid-001-expected.html: Added.
* web-platform-tests/css/css-lists/list-and-grid-001.html: Added.
* web-platform-tests/css/css-lists/list-and-margin-collapse-001-expected.txt: Added.
* web-platform-tests/css/css-lists/list-and-margin-collapse-001.html: Added.
* web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt: Added.
* web-platform-tests/css/css-lists/list-and-writing-mode-001.html: Added.
* web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html: Added.
* web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html: Added.
* web-platform-tests/css/css-lists/list-style-type-armenian-002.xht: Added.
* web-platform-tests/css/css-lists/list-style-type-armenian-003.xht: Added.
* web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html: Added.
* web-platform-tests/css/css-lists/list-with-image-display-changed-001.html: Added.
* web-platform-tests/css/css-lists/resources/w3c-import.log: Added.
* web-platform-tests/css/css-lists/resources/white.gif: Added.
* web-platform-tests/css/css-lists/w3c-import.log: Added.

LayoutTests:

* TestExpectations:
* platform/gtk/TestExpectations:
* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239821 268f45cc-cd09-0410-ab3c-d52691b4dbfc

71 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/resources/import-expectations.json
LayoutTests/imported/w3c/resources/resource-files.json
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid.htm [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-002.xht [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-003.xht [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/white.gif [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-lists/w3c-import.log [new file with mode: 0644]
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/ios-simulator/TestExpectations
LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt [new file with mode: 0644]

index 9c1c3ba..0da1b47 100644 (file)
@@ -1,3 +1,15 @@
+2019-01-10  cathie chen  <cathiechen@igalia.com>
+
+        Import css-lists testcases from WPT.
+        https://bugs.webkit.org/show_bug.cgi?id=193273
+
+        Reviewed by Daniel Bates.
+
+        * TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/ios-simulator/TestExpectations:
+        * platform/ios-simulator/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt: Added.
+
 2019-01-09  Zalan Bujtas  <zalan@apple.com>
 
         [Datalist] Crash when input with datalist is dynamically added.
index 6447318..fe575d2 100644 (file)
@@ -2920,3 +2920,13 @@ webkit.org/b/190032 imported/w3c/web-platform-tests/css/css-scoping/keyframes-00
 fast/mediacapturefromelement/CanvasCaptureMediaStream-imagebitmaprenderingcontext.html [ Skip ]
 fast/mediacapturefromelement/CanvasCaptureMediaStream-framerate-0.html [ Skip ]
 fast/mediacapturefromelement/CanvasCaptureMediaStream-capture-out-of-DOM-element.html [ Skip ]
+
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001.html [ ImageOnlyFailure ]
index ed3de28..8a81f1f 100644 (file)
@@ -1,3 +1,76 @@
+2019-01-10  cathie chen  <cathiechen@igalia.com>
+
+        Import css-lists testcases from WPT.
+        https://bugs.webkit.org/show_bug.cgi?id=193273
+
+        Reviewed by Daniel Bates.
+
+        * resources/import-expectations.json:
+        * resources/resource-files.json:
+        * web-platform-tests/css/css-lists/META.yml: Added.
+        * web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html: Added.
+        * web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html: Added.
+        * web-platform-tests/css/css-lists/content-property/w3c-import.log: Added.
+        * web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html: Added.
+        * web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html: Added.
+        * web-platform-tests/css/css-lists/counter-invalid-expected.html: Added.
+        * web-platform-tests/css/css-lists/counter-invalid.htm: Added.
+        * web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html: Added.
+        * web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html: Added.
+        * web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html: Added.
+        * web-platform-tests/css/css-lists/counter-reset-increment-display-none.html: Added.
+        * web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html: Added.
+        * web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html: Added.
+        * web-platform-tests/css/css-lists/inheritance-expected.txt: Added.
+        * web-platform-tests/css/css-lists/inheritance.html: Added.
+        * web-platform-tests/css/css-lists/li-with-height-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/li-with-height-001.html: Added.
+        * web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html: Added.
+        * web-platform-tests/css/css-lists/list-and-block-textarea-001-expected.txt: Added.
+        * web-platform-tests/css/css-lists/list-and-block-textarea-001.html: Added.
+        * web-platform-tests/css/css-lists/list-and-flex-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/list-and-flex-001.html: Added.
+        * web-platform-tests/css/css-lists/list-and-grid-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/list-and-grid-001.html: Added.
+        * web-platform-tests/css/css-lists/list-and-margin-collapse-001-expected.txt: Added.
+        * web-platform-tests/css/css-lists/list-and-margin-collapse-001.html: Added.
+        * web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt: Added.
+        * web-platform-tests/css/css-lists/list-and-writing-mode-001.html: Added.
+        * web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html: Added.
+        * web-platform-tests/css/css-lists/list-style-type-armenian-002.xht: Added.
+        * web-platform-tests/css/css-lists/list-style-type-armenian-003.xht: Added.
+        * web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html: Added.
+        * web-platform-tests/css/css-lists/list-with-image-display-changed-001.html: Added.
+        * web-platform-tests/css/css-lists/resources/w3c-import.log: Added.
+        * web-platform-tests/css/css-lists/resources/white.gif: Added.
+        * web-platform-tests/css/css-lists/w3c-import.log: Added.
+
 2019-01-08  Youenn Fablet  <youenn@apple.com>
 
         service worker fetch handler results in bad referrer
index 34ab4ee..9952193 100644 (file)
@@ -69,6 +69,7 @@
     "web-platform-tests/css/css-grid": "import", 
     "web-platform-tests/css/css-grid/grid-definition/": "import", 
     "web-platform-tests/css/css-grid/layout-algorithm/": "import", 
+    "web-platform-tests/css/css-lists/": "import", 
     "web-platform-tests/css/css-logical": "import", 
     "web-platform-tests/css/css-multicol": "import", 
     "web-platform-tests/css/css-overscroll-behavior": "import", 
     "web-platform-tests/worklets": "skip", 
     "web-platform-tests/x-frame-options": "skip", 
     "web-platform-tests/xhr": "import"
-}
+}
\ No newline at end of file
index 0ef1a84..2324671 100644 (file)
         "web-platform-tests/css/css-grid-1/test-plan/index.html",
         "web-platform-tests/css/css-grid/grid-items/ref-filled-green-100px-square-image.html",
         "web-platform-tests/css/css-grid/test-plan/index.html",
+        "web-platform-tests/css/css-lists/list-style-type-armenian-002.xht",
+        "web-platform-tests/css/css-lists/list-style-type-armenian-003.xht",
         "web-platform-tests/css/css-multicol/multicol-rule-large-002.xht",
         "web-platform-tests/css/css-pseudo/placeholder-input-number-notref.html",
         "web-platform-tests/css/css-shapes/test-plan/index.html",
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/META.yml b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/META.yml
new file mode 100644 (file)
index 0000000..05e60af
--- /dev/null
@@ -0,0 +1,3 @@
+spec: https://drafts.csswg.org/css-lists/
+suggested_reviewers:
+  - tabatkins
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html
new file mode 100644 (file)
index 0000000..0c1d239
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: Add inline child after marker</title>
+
+<p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
+
+<ul>
+  <li>
+    <span>inline</span>
+    <div style="overflow:hidden;">
+      <span>a</span>xxx
+    </div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html
new file mode 100644 (file)
index 0000000..851604a
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: Add inline child after marker</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="add-inline-child-after-marker-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=344941  -->
+
+<p>The test passes if you see the list marker followed by the text "inline" and "axxx" in a line below.</p>
+
+<ul>
+  <li id="liTarget">
+    <div id="divTarget" style="overflow:hidden;">
+      <span>a</span>xxx
+    </div>
+  </li>
+</ul>
+<script>
+  document.body.offsetHeight;
+  var new_span=document.createElement("span");
+  var text_node=document.createTextNode("inline");
+  new_span.appendChild(text_node);
+
+  var div_target=document.getElementById("divTarget");
+  var li_target=document.getElementById("liTarget");
+  li_target.insertBefore(new_span,div_target);
+</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html
new file mode 100644 (file)
index 0000000..f21dfff
--- /dev/null
@@ -0,0 +1,10 @@
+<!doctype html>
+<meta charset=utf8>
+<title>Reference: Inside list marker and normal text render identically: armenian</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>Ա. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html
new file mode 100644 (file)
index 0000000..fd0df63
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: armenian</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-armenian-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: armenian inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html
new file mode 100644 (file)
index 0000000..60a342f
--- /dev/null
@@ -0,0 +1,12 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: circle</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+p::before {
+    content: counter(test, circle);
+}
+</style>
+<p> Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html
new file mode 100644 (file)
index 0000000..138f73c
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: circle</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-circle-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: circle inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html
new file mode 100644 (file)
index 0000000..8f97cc3
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: decimal</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>1. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html
new file mode 100644 (file)
index 0000000..997801d
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: decimal-leading-zero</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>01. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html
new file mode 100644 (file)
index 0000000..5044d4e
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: decimal-leading-zero</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-decimal-leading-zero-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: decimal-leading-zero inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html
new file mode 100644 (file)
index 0000000..8c991bc
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: decimal</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-decimal-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: decimal inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html
new file mode 100644 (file)
index 0000000..e34a900
--- /dev/null
@@ -0,0 +1,12 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: disc</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+p::before {
+    content: counter(test, disc);
+}
+</style>
+<p> Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html
new file mode 100644 (file)
index 0000000..e2456cb
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: disc</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-disc-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: disc inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html
new file mode 100644 (file)
index 0000000..c400aca
--- /dev/null
@@ -0,0 +1,10 @@
+<!doctype html>
+<meta charset=utf8>
+<title>Reference: Inside list marker and normal text render identically: georgian</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>ა. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html
new file mode 100644 (file)
index 0000000..ef7615f
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: georgian</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-georgian-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: georgian inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html
new file mode 100644 (file)
index 0000000..f28db82
--- /dev/null
@@ -0,0 +1,10 @@
+<!doctype html>
+<meta charset=utf8>
+<title>Reference: Inside list marker and normal text render identically: lower-greek</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>α. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html
new file mode 100644 (file)
index 0000000..96b5d81
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: lower-greek</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-lower-greek-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: lower-greek inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html
new file mode 100644 (file)
index 0000000..b86fe8e
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: lower-latin</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>a. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html
new file mode 100644 (file)
index 0000000..0f6f242
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: lower-latin</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-lower-latin-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: lower-latin inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html
new file mode 100644 (file)
index 0000000..92dfa3d
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: lower-roman</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>i. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html
new file mode 100644 (file)
index 0000000..db7301b
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: lower-roman</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-lower-roman-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: lower-roman inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html
new file mode 100644 (file)
index 0000000..99b64a5
--- /dev/null
@@ -0,0 +1,12 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: square</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+p::before {
+    content: counter(test, square);
+}
+</style>
+<p> Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html
new file mode 100644 (file)
index 0000000..9095017
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: square</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-square-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: square inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html
new file mode 100644 (file)
index 0000000..6cbb712
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: upper-latin</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>A. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html
new file mode 100644 (file)
index 0000000..903ef8f
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: upper-latin</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-upper-latin-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: upper-latin inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html
new file mode 100644 (file)
index 0000000..6fca49f
--- /dev/null
@@ -0,0 +1,9 @@
+<!doctype html>
+<title>Reference: Inside list marker and normal text render identically: upper-roman</title>
+<style>
+* {
+    margin: 0;
+    padding: 0;
+}
+</style>
+<p>I. Filler Text
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html
new file mode 100644 (file)
index 0000000..69f34d7
--- /dev/null
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>Inside list marker and normal text render identically: upper-roman</title>
+<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
+<link rel=match href="marker-text-matches-upper-roman-ref.html">
+<style>
+* {
+    padding: 0;
+    margin: 0;
+}
+ol {
+    list-style: upper-roman inside;
+}
+</style>
+
+<ol>
+  <li>Filler Text</li>
+</ol>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/w3c-import.log
new file mode 100644 (file)
index 0000000..386f4b5
--- /dev/null
@@ -0,0 +1,40 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+       https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-circle.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal-leading-zero.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-decimal.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-disc.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-roman.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-square.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-latin.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-upper-roman.html
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html
new file mode 100644 (file)
index 0000000..3d1b672
--- /dev/null
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html
new file mode 100644 (file)
index 0000000..ebfe177
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: counter-increment on child of display:contents</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
+<link rel="match" href="counter-7-ref.html">
+<style>
+  .inc { counter-increment: x }
+  .reset-6 { counter-reset: x 6 }
+  .contents { display: contents }
+  .result::before { content: counter(x) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>
+  <span class="reset-6"></span>
+  <span class="contents">
+    <span class="inc"></span>
+  </span>
+  <span class="result"></span>
+</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid-expected.html
new file mode 100644 (file)
index 0000000..3d1b672
--- /dev/null
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid.htm b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid.htm
new file mode 100644 (file)
index 0000000..9380159
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: </title>
+<link rel="author" title="Anthony Ramine" href="mailto:n.oxyde@gmail.com">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counter-functions">
+<link rel="match" href="counter-7-ref.html">
+<style>
+    div::after { content: " is not " counter(inherit) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html
new file mode 100644 (file)
index 0000000..3d1b672
--- /dev/null
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html
new file mode 100644 (file)
index 0000000..a59576b
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: counter-reset and counter-increment on display:contents</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
+<link rel="match" href="counter-7-ref.html">
+<style>
+  .inc { counter-increment: x }
+  .reset-6 { counter-reset: x 6 }
+  .reset-666 { counter-reset: x 666 }
+  .contents { display: contents }
+  .result::before { content: counter(x) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>
+  <span class="reset-6"></span>
+  <span class="contents reset-666 inc"></span>
+  <span class="inc result"></span>
+</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html
new file mode 100644 (file)
index 0000000..3d1b672
--- /dev/null
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none.html
new file mode 100644 (file)
index 0000000..3b344a7
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: counter-reset and counter-increment on display:none</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
+<link rel="match" href="counter-7-ref.html">
+<style>
+  .inc { counter-increment: x }
+  .reset-6 { counter-reset: x 6 }
+  .reset-666 { counter-reset: x 666 }
+  .none { display: none }
+  .result::before { content: counter(x) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>
+  <span class="reset-6"></span>
+  <span class="none reset-666 inc"></span>
+  <span class="inc result"></span>
+</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html
new file mode 100644 (file)
index 0000000..3d1b672
--- /dev/null
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<p>You should see the number 7 below.</p>
+<div>7</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html
new file mode 100644 (file)
index 0000000..85c137e
--- /dev/null
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: counter-reset on child of display:contents</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
+<link rel="match" href="counter-7-ref.html">
+<style>
+  .inc { counter-increment: x }
+  .reset-6 { counter-reset: x 6 }
+  .reset-666 { counter-reset: x 6 }
+  .contents { display: contents }
+  .result::before { content: counter(x) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>
+  <span class="reset-6"></span>
+  <span class="contents">
+    <span class="reset-666"></span>
+  </span>
+  <span class="inc result"></span>
+</div>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance-expected.txt
new file mode 100644 (file)
index 0000000..736cb41
--- /dev/null
@@ -0,0 +1,13 @@
+Blocked access to external URL https://example.com/
+
+PASS Property counter-increment has initial value none 
+PASS Property counter-increment does not inherit 
+PASS Property counter-reset has initial value none 
+PASS Property counter-reset does not inherit 
+PASS Property list-style-image has initial value none 
+PASS Property list-style-image inherits 
+PASS Property list-style-position has initial value outside 
+PASS Property list-style-position inherits 
+PASS Property list-style-type has initial value disc 
+PASS Property list-style-type inherits 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance.html
new file mode 100644 (file)
index 0000000..b6095d2
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Inheritance of CSS Lists properties</title>
+<link rel="help" href="https://drafts.csswg.org/css-lists/#property-index">
+<meta name="assert" content="Properties inherit or not according to the spec.">
+<meta name="assert" content="Properties have initial values according to the spec.">
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
+<script src="/css/support/inheritance-testcommon.js"></script>
+</head>
+<body>
+<div id="container">
+  <div id="target"></div>
+</div>
+<script>
+assert_not_inherited('counter-increment', 'none', 'foo 123');
+assert_not_inherited('counter-reset', 'none', 'foo 123');
+assert_inherited('list-style-image', 'none', 'url("https://example.com/")');
+assert_inherited('list-style-position', 'outside', 'inside');
+assert_inherited('list-style-type', 'disc', 'square');
+</script>
+</body>
+</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001-expected.html
new file mode 100644 (file)
index 0000000..486009d
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: list with height</title>
+
+<p>The test passes if "second" is in the following line of "first".</p>
+<ul>
+  <li id="li_target" style="height:200px; border:1px solid black; width:200px">
+    first<div id="div_target" style="overflow:hidden;">second</div>
+  </li>
+</ul>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001.html
new file mode 100644 (file)
index 0000000..ad2ac65
--- /dev/null
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: list with height</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="li-with-height-001-ref.html">
+<meta name="assert" content="This is to check the behavior of adding an element at the begining of li" />
+
+<p>The test passes if "second" is in the following line of "first".</p>
+
+<ul>
+  <li id="li_target" style="height:200px; border:1px solid black; width:200px">
+    <div id="div_target" style="overflow:hidden;">second</div>
+  </li>
+</ul>
+
+<script>
+  document.body.clientHeight;
+
+  var text_node = document.createTextNode("first");
+  var li_target = document.getElementById("li_target");
+  var div_target = document.getElementById("div_target");
+  li_target.insertBefore(text_node,div_target);
+</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html
new file mode 100644 (file)
index 0000000..a3ea8b6
--- /dev/null
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test inside and outside switch</title>
+
+<p>The test passes if the first li is inside and the second one is outside.</p>
+
+<ul>
+  <li style="list-style-position: inside;">
+    <div style="overflow:hidden;">
+      outside to inside
+    </div>
+  </li>
+</ul>
+
+<ul>
+  <li style="list-style-position: outside;">
+    <div style="overflow:hidden;">
+      inside to outside
+    </div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html
new file mode 100644 (file)
index 0000000..e39ee9d
--- /dev/null
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test inside and outside switch</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="li-with-overflow-hidden-change-list-style-position-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=344941  -->
+
+<p>The test passes if the first li is inside and the second one is outside.</p>
+
+<ul>
+  <li id="outSide" style="list-style-position: outside;">
+    <div style="overflow:hidden;">
+      outside to inside
+    </div>
+  </li>
+</ul>
+
+<ul>
+  <li id="inSide" style="list-style-position: inside;">
+    <div style="overflow:hidden;">
+      inside to outside
+    </div>
+  </li>
+</ul>
+<script>
+  document.body.offsetHeight;
+
+  var outside_li=document.getElementById("outSide");
+  outside_li.style.listStylePosition = "inside";
+  document.body.offsetHeight;
+
+  var inside_li=document.getElementById("inSide");
+  inside_li.style.listStylePosition = "outside";
+  document.body.offsetHeight;
+
+</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001-expected.txt
new file mode 100644 (file)
index 0000000..40f210d
--- /dev/null
@@ -0,0 +1,3 @@
+
+PASS list and block textarea 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001.html
new file mode 100644 (file)
index 0000000..8a25697
--- /dev/null
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with textarea as its first child</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=767408  -->
+
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
+
+<style>
+textarea {
+  border: 0px;
+  padding: 0px;
+}
+</style>
+
+<div id="log"></div>
+
+<ul>
+  <li id="target">
+    <textarea rows="3" cols="20" style="display:block; height:45px">
+      hello
+    </textarea>
+  </li>
+</ul>
+
+<script>
+test(function() {
+  var height = document.getElementById("target").offsetHeight;
+  assert_equals(height, 45, "the height of li should be 45px, and no extra line generated")
+}, "list and block textarea");
+
+</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001-expected.html
new file mode 100644 (file)
index 0000000..d7be687
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with flex as its first child</title>
+
+<p>There should be no extra line generated between the marker and the flex.</p>
+
+<ul>
+  <li>
+    <div style="border: 1px black solid;">
+      <div style="display: inline-flex; align-items: flex-end; height: 200px;">
+        <span style="line-height: 50px">text</span>
+      </div>
+    </div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001.html
new file mode 100644 (file)
index 0000000..35e0d3f
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with flex as its first child</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="list-and-flex-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=767408  -->
+
+<p>There should be no extra line generated between the marker and the flex.</p>
+
+<ul>
+  <li>
+    <div style="border: 1px black solid;">
+      <div style="display: flex; align-items: flex-end; height: 200px;">
+        <span style="line-height: 50px">text</span>
+      </div>
+    </div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001-expected.html
new file mode 100644 (file)
index 0000000..b6e7774
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with grid as its first child</title>
+
+<p>There should be no extra line generated between the marker and the grid.</p>
+
+<ul>
+  <li>
+    <div style="display: inline-grid; grid-template-rows: 100px; align-items: center;">
+      <div>grid</div>
+    </div>
+  </li>
+</ul>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001.html
new file mode 100644 (file)
index 0000000..05b7ffc
--- /dev/null
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with grid as its first child</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="list-and-grid-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=767408  -->
+
+<p>There should be no extra line generated between the marker and the grid.</p>
+
+<ul>
+  <li>
+    <div style="display: grid; grid-template-rows: 100px; align-items: center;">
+      <div>grid</div>
+    </div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001-expected.txt
new file mode 100644 (file)
index 0000000..713cfcd
--- /dev/null
@@ -0,0 +1,3 @@
+
+PASS list and margin collapse 
+xxx
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001.html
new file mode 100644 (file)
index 0000000..c889899
--- /dev/null
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test the margin collapse of marker</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=767408  -->
+
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
+
+<div id="log"></div>
+
+<ul id="target" style="margin-top:100px;">
+  <li>
+    <div style="overflow:hidden; margin-top:100px; height:25px;"><a href="#">xxx</a></div>
+  </li>
+</ul>
+
+<script>
+test(function() {
+  var height = document.getElementById("target").clientHeight;
+  assert_equals(height, 25, "the height of ul should be 25px")
+}, "list and margin collapse");
+</script>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt
new file mode 100644 (file)
index 0000000..b0f8963
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL list and writing-mode assert_equals: the height of li should be 45px, and no extra line generated expected 45 but got 63
+a b c
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001.html
new file mode 100644 (file)
index 0000000..cc08828
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with root writing-mode as its first child</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=767408  -->
+
+<script src="../../../../../resources/testharness.js"></script>
+<script src="../../../../../resources/testharnessreport.js"></script>
+
+<div id="log"></div>
+
+<ul>
+  <li id="target">
+    <div style="writing-mode: vertical-lr; height: 45px;">a b c</div>
+  </li>
+</ul>
+
+<script>
+test(function() {
+  var height = document.getElementById("target").offsetHeight;
+  assert_equals(height, 45, "the height of li should be 45px, and no extra line generated")
+}, "list and writing-mode");
+</script>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html
new file mode 100644 (file)
index 0000000..ae64861
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with overflow:hidden and line-height firstchild</title>
+
+<p>This test passes if there is a marker for each li and followed by "text" in the same line.</p>
+
+<ul>
+  <li>
+    <div style="line-height:100px;">
+      <span>text</span>
+    </div>
+  </li>
+</ul>
+<ul>
+  <li style="list-style-image: url(resources/white.gif);">
+    <div style="line-height:100px;">text</div>
+  </li>
+</ul>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html
new file mode 100644 (file)
index 0000000..c8bd567
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with overflow:hidden and line-height firstchild</title>
+<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists">
+<link rel=match href="list-marker-with-lineheight-and-overflow-hidden-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=344941  -->
+
+<p>This test passes if there is a marker for each li and followed by "text" in the same line.</p>
+
+<ul>
+  <li>
+    <div style="overflow:hidden; line-height:100px;">
+      <span>text</span>
+    </div>
+  </li>
+</ul>
+
+<ul>
+  <li style="list-style-image: url(resources/white.gif);">
+    <div style="overflow:hidden; line-height:100px;">text</div>
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-002.xht b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-002.xht
new file mode 100644 (file)
index 0000000..fc7b71f
--- /dev/null
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>CSS Test: list-style-type - armenian, up to 9,999</title>
+<link rel='author' title='Richard Ishida' href='http://rishida.net' />
+<link rel='reviewer' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact' />
+<link rel='help' href='http://www.w3.org/TR/CSS21/generate.html#list-style' />
+<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-list-style-type/generate?test=2' />
+<meta name='flags' content='' />
+<meta name="assert" content="Setting list-style-type to armenian will cause list numbering to format numbers up to 9,999 in the way described in CSS3 Lists module." />
+<style type='text/css'>
+.armenian { list-style-type: armenian; }
+
+/* the CSS below is not part of the test */
+.test { font-size: 24px; font-family: sans-serif; }
+ol { margin: 0; padding-left: 8em; }
+.alt { color: #ff6633; margin-left: 40px;}
+
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the numbering matches the numbering in the two columns is the same.</p>
+
+
+<div class="test">
+                       <ol class="armenian">
+                               <li title="1">Ա</li>
+                               <li title="2">Բ</li>
+                               <li title="3">Գ</li>
+                               <li title="4">Դ</li>
+                               <li title="5">Ե</li>
+                               <li title="6">Զ</li>
+                               <li title="7">Է</li>
+                               <li title="8">Ը</li>
+                               <li title="9">Թ</li>
+                               <li title="10">Ժ</li>
+                               <li title="11">ԺԱ</li>
+                               <li title="12">ԺԲ</li>
+                       </ol>
+                       <ol class="armenian" start="43">
+                               <li title="43">ԽԳ</li>
+                       </ol>
+                       <ol class="armenian" start="77">
+                               <li title="77">ՀԷ</li>
+                       </ol>
+                       <ol class="armenian" start="80">
+                               <li title="80">Ձ</li>
+                       </ol>
+                       <ol class="armenian" start="99">
+                               <li title="99">ՂԹ</li>
+                               <li title="100">Ճ</li>
+                               <li title="101">ՃԱ</li>
+                       </ol>
+                       <ol class="armenian" start="222">
+                               <li title="222">ՄԻԲ</li>
+                       </ol>
+                       <ol class="armenian" start="540">
+                               <li title="540">ՇԽ</li>
+                       </ol>
+                       <ol class="armenian" start="999">
+                               <li title="999">ՋՂԹ</li>
+                               <li title="1000">Ռ</li>
+                       </ol>
+                       <ol class="armenian" start="1005">
+                               <li title="1005">ՌԵ</li>
+                       </ol>
+                       <ol class="armenian" start="1060">
+                               <li title="1060">ՌԿ</li>
+                       </ol>
+                       <ol class="armenian" start="1065">
+                               <li title="1065">ՌԿԵ</li>
+                       </ol>
+                       <ol class="armenian" start="1800">
+                               <li title="1800">ՌՊ</li>
+                       </ol>
+                       <ol class="armenian" start="1860">
+                               <li title="1860">ՌՊԿ</li>
+                       </ol>
+                       <ol class="armenian" start="1865">
+                               <li title="1865">ՌՊԿԵ</li>
+                       </ol>
+                       <ol class="armenian" start="5865">
+                               <li title="5865">ՐՊԿԵ</li>
+                       </ol>
+                       <ol class="armenian" start="7005">
+                               <li title="7005">ՈՒԵ</li>
+                       </ol>
+                       <ol class="armenian" start="7800">
+                               <li title="7800">ՈՒՊ</li>
+                       </ol>
+                       <ol class="armenian" start="7865">
+                               <li title="7865">ՈՒՊԿԵ</li>
+                       </ol>
+                       <ol class="armenian" start="9999">
+                               <li title="9999">ՔՋՂԹ</li>
+                       </ol>
+               </div>
+
+
+<!-- p class="notes">Notes: <br />CSS2.1 CR specifies an armenian property, but does not specify in any detail the mechanism for implementing it. Expectations for behavior in these tests are based on the descriptions of lower-armenian and upper-armenian in the version of the CSS3 Lists module current at the time this test was last updated.</p><p class="notes">The test uses the start attribute to reduce the size of the list.  This attribute is deprecated or unavailable in some formats, causing the test page not to validate, but appears to be supported in major browsers anyway (and will be reinstated in HTML5).</p><p class="notes">Both upper and lowercase variants are shown here because the test is about the generative mechanism. The case is tested elsewhere.</p -->
+</body>
+</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-003.xht b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-003.xht
new file mode 100644 (file)
index 0000000..5a2de20
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>CSS Test: list-style-type - armenian, over 9,999</title>
+<link rel='author' title='Richard Ishida' href='http://rishida.net' />
+<link rel='reviewer' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact' />
+<link rel='help' href='http://www.w3.org/TR/CSS21/generate.html#list-style' />
+<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-list-style-type/generate?test=3' />
+<meta name='flags' content='' />
+<meta name="assert" content="Setting list-style-type to armenian will cause list numbering to format numbers above 9,999 in the way described in the CSS3 Lists module." />
+<style type='text/css'>
+.armenian { list-style-type: armenian; }
+
+/* the CSS below is not part of the test */
+.test { font-size: 24px; font-family: sans-serif; }
+ol { margin: 0; padding-left: 8em; }
+.alt { color: #ff6633; margin-left: 40px;}
+
+</style>
+</head>
+<body>
+<p class="instructions">Test passes if the numbering matches the numbering in the two columns is the same.</p>
+
+
+<div class="test">
+                       <ol class="armenian" start="10000">
+                               <li title="10,000">Ա̂</li>
+                               <li title="10,001">Ա̂Ա</li>
+                       </ol>
+                       <ol class="armenian" start="55465">
+                               <li title="55,465">Ե̂ՐՆԿԵ</li>
+                       </ol>
+                       <ol class="armenian" start="655465">
+                               <li title="655,465">Կ̂Ե̂ՐՆԿԵ</li>
+                       </ol>
+               </div>
+
+
+<!-- p class="notes">Notes: <br />CSS2.1 CR specifies an armenian property, but does not specify in any detail the mechanism for implementing it. Expectations for behavior in these tests are based on the descriptions of lower-armenian and upper-armenian in the version of the CSS3 Lists module current at the time this test was last updated.</p><p class="notes">The test uses the start attribute to reduce the size of the list.  This attribute is deprecated or unavailable in some formats, causing the test page not to validate, but appears to be supported in major browsers anyway (and will be reinstated in HTML5).</p><p class="notes">Both upper and lowercase variants are shown here because the test is about the generative mechanism. The case is tested elsewhere.</p -->
+</body>
+</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html
new file mode 100644 (file)
index 0000000..bfe0eb6
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with firstchild changing display</title>
+
+<style>
+li { border: 3px solid black; margin: 3px; }
+img { display: block; }
+</style>
+
+<ul>
+  <li>
+    <a href="#"><img src="./resources/white.gif" width=32 height=32 /></a>
+    Some other text
+  </li>
+</ul>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001.html
new file mode 100644 (file)
index 0000000..1c562cf
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: test list with firstchild changing display</title>
+<link rel=help href="https://github.com/w3c/csswg-drafts/issues/2787">
+<link rel=match href="list-with-image-display-changed-001-ref.html">
+<!--  https://bugs.chromium.org/p/chromium/issues/detail?id=715288  -->
+<meta name="assert" content="
+    After the display of img being changed from block to inline, then back to block,
+    the final position of marker should be the same as the beginning." />
+
+<style>
+li { border: 3px solid black; margin: 3px; }
+img { display: block; }
+</style>
+
+<ul>
+  <li>
+    <a href="#"><img src="./resources/white.gif" width=32 height=32 /></a>
+    Some other text
+  </li>
+</ul>
+<script>
+  document.body.offsetTop;
+  var img = document.querySelector('a img');
+  img.style.display = 'inline';
+  img.offsetWidth;
+  img.style.display = 'block';
+</script>
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/w3c-import.log
new file mode 100644 (file)
index 0000000..510abbf
--- /dev/null
@@ -0,0 +1,17 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+       https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/white.gif
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/white.gif b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/white.gif
new file mode 100644 (file)
index 0000000..3aa2098
Binary files /dev/null and b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/resources/white.gif differ
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/w3c-import.log
new file mode 100644 (file)
index 0000000..269a081
--- /dev/null
@@ -0,0 +1,47 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+       https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/META.yml
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/add-inline-child-after-marker-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-increment-inside-display-contents.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-invalid.htm
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-contents.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-increment-display-none.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/counter-reset-inside-display-contents.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/inheritance.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-height-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/li-with-overflow-hidden-change-list-style-position-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-block-textarea-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-flex-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-grid-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-margin-collapse-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-marker-with-lineheight-and-overflow-hidden-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-002.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-style-type-armenian-003.xht
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-lists/list-with-image-display-changed-001.html
index f61083c..387ee67 100644 (file)
@@ -3657,6 +3657,9 @@ webkit.org/b/192900 imported/w3c/web-platform-tests/eventsource/format-mime-bogu
 
 webkit.org/b/192902 js/dom/modules/import-mjs-module.html [ Failure ]
 
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html [ ImageOnlyFailure ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of non-crashing, non-flaky tests failing
 #////////////////////////////////////////////////////////////////////////////////////////
@@ -3736,6 +3739,9 @@ imported/w3c/web-platform-tests/web-animations/timing-model/animations/current-t
 
 imported/mozilla/svg/dynamic-textPath-02.svg [ Pass ]
 
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html [ Pass ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-latin.html [ Pass ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of PASSING tests. See top of file where to put new expectations.
 #////////////////////////////////////////////////////////////////////////////////////////
index 4851ed3..6c6b3d4 100644 (file)
@@ -110,3 +110,8 @@ webkit.org/b/189686 webgl/2.0.0/conformance2/renderbuffers/multisampled-renderbu
 webkit.org/b/189686 webgl/2.0.0/conformance/reading/read-pixels-test.html [ Slow ]
 # Crashes
 webkit.org/b/189686 webgl/2.0.0/conformance2/buffers/one-large-uniform-buffer.html [ Skip ]
+
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-armenian.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-georgian.html [ ImageOnlyFailure ]
+imported/w3c/web-platform-tests/css/css-lists/content-property/marker-text-matches-lower-greek.html [ Pass ]
+imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001.html [ Failure ]
diff --git a/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt b/LayoutTests/platform/ios-simulator/imported/w3c/web-platform-tests/css/css-lists/list-and-writing-mode-001-expected.txt
new file mode 100644 (file)
index 0000000..3bdc1af
--- /dev/null
@@ -0,0 +1,3 @@
+
+FAIL list and writing-mode assert_equals: the height of li should be 45px, and no extra line generated expected 45 but got 65
+a b c