From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/css/css-gcpm/META.yml | 4 ++ .../tests/css/css-gcpm/leader-001.html | 35 +++++++++++++ .../tests/css/css-gcpm/leader-002.html | 35 +++++++++++++ .../tests/css/css-gcpm/leader-003.html | 34 ++++++++++++ .../tests/css/css-gcpm/string-set-001.html | 27 ++++++++++ .../tests/css/css-gcpm/string-set-002.html | 27 ++++++++++ .../tests/css/css-gcpm/string-set-003.html | 28 ++++++++++ .../tests/css/css-gcpm/string-set-004.html | 27 ++++++++++ .../tests/css/css-gcpm/string-set-005.html | 27 ++++++++++ .../tests/css/css-gcpm/string-set-006.html | 32 ++++++++++++ .../tests/css/css-gcpm/string-set-007.html | 32 ++++++++++++ .../tests/css/css-gcpm/string-set-008.html | 33 ++++++++++++ .../tests/css/css-gcpm/string-set-009.html | 28 ++++++++++ .../tests/css/css-gcpm/string-set-010.html | 31 +++++++++++ .../tests/css/css-gcpm/string-set-011.html | 47 +++++++++++++++++ .../tests/css/css-gcpm/string-set-012.html | 33 ++++++++++++ .../tests/css/css-gcpm/using-strings-001.html | 35 +++++++++++++ .../tests/css/css-gcpm/using-strings-002.html | 32 ++++++++++++ .../tests/css/css-gcpm/using-strings-003.html | 60 ++++++++++++++++++++++ .../tests/css/css-gcpm/using-strings-004.html | 35 +++++++++++++ .../tests/css/css-gcpm/using-strings-005.html | 45 ++++++++++++++++ 21 files changed, 687 insertions(+) create mode 100644 testing/web-platform/tests/css/css-gcpm/META.yml create mode 100644 testing/web-platform/tests/css/css-gcpm/leader-001.html create mode 100644 testing/web-platform/tests/css/css-gcpm/leader-002.html create mode 100644 testing/web-platform/tests/css/css-gcpm/leader-003.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-001.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-002.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-003.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-004.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-005.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-006.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-007.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-008.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-009.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-010.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-011.html create mode 100644 testing/web-platform/tests/css/css-gcpm/string-set-012.html create mode 100644 testing/web-platform/tests/css/css-gcpm/using-strings-001.html create mode 100644 testing/web-platform/tests/css/css-gcpm/using-strings-002.html create mode 100644 testing/web-platform/tests/css/css-gcpm/using-strings-003.html create mode 100644 testing/web-platform/tests/css/css-gcpm/using-strings-004.html create mode 100644 testing/web-platform/tests/css/css-gcpm/using-strings-005.html (limited to 'testing/web-platform/tests/css/css-gcpm') diff --git a/testing/web-platform/tests/css/css-gcpm/META.yml b/testing/web-platform/tests/css/css-gcpm/META.yml new file mode 100644 index 0000000000..b2e33e393d --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.csswg.org/css-gcpm/ +suggested_reviewers: + - plinss + - dauwhe diff --git a/testing/web-platform/tests/css/css-gcpm/leader-001.html b/testing/web-platform/tests/css/css-gcpm/leader-001.html new file mode 100644 index 0000000000..1d093978aa --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/leader-001.html @@ -0,0 +1,35 @@ + + + +CSS Test: GCPM Dotted Leader + + + + + + + + + + +

Test passes if there's a dotted leader between "Chapter One" and "1"

+ +
    +
  1. +Chapter One 1 +
  2. + +
+ + + + + diff --git a/testing/web-platform/tests/css/css-gcpm/leader-002.html b/testing/web-platform/tests/css/css-gcpm/leader-002.html new file mode 100644 index 0000000000..4d6e683916 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/leader-002.html @@ -0,0 +1,35 @@ + + + + +CSS Test: GCPM String Leader + + + + + + + + +

Test passes if there are ~ characters between the end of the text and Ahab’s name

+ +
+ +

“Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hell’s heart I stab at thee; for hate’s sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! THUS, I give up the spear!”

+ +

Ahab

+
+ + + + + diff --git a/testing/web-platform/tests/css/css-gcpm/leader-003.html b/testing/web-platform/tests/css/css-gcpm/leader-003.html new file mode 100644 index 0000000000..f55e43149e --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/leader-003.html @@ -0,0 +1,34 @@ + + + +CSS Test: GCPM Solid Leader + + + + + + + + + +

Test passes if there's a continuous row of underscores between "Chapter One" and "1"

+ +
    +
  1. +Chapter One 1 +
  2. + +
+ + + + + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-001.html b/testing/web-platform/tests/css/css-gcpm/string-set-001.html new file mode 100644 index 0000000000..311a60fca6 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-001.html @@ -0,0 +1,27 @@ + + + + +CSS Test: GCPM string-set with string + + + + + + + + +

Chapter Title

+

Test passes if “hello, world” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-002.html b/testing/web-platform/tests/css/css-gcpm/string-set-002.html new file mode 100644 index 0000000000..b099ea12cc --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-002.html @@ -0,0 +1,27 @@ + + + + +CSS Test: GCPM String-set with content() + + + + + + + + +

Chapter Title

+

Test passes if “Chapter Title” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-003.html b/testing/web-platform/tests/css/css-gcpm/string-set-003.html new file mode 100644 index 0000000000..a4e0095608 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-003.html @@ -0,0 +1,28 @@ + + + + +CSS Test: GCPM String-set with content(text) + + + + + + + + +

Chapter Title

+

Test passes if the text “Chapter Title” appears in the running head at the top of the page.

+ + + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-004.html b/testing/web-platform/tests/css/css-gcpm/string-set-004.html new file mode 100644 index 0000000000..50d406d986 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-004.html @@ -0,0 +1,27 @@ + + + + +CSS Test: GCPM String-set with content(first-letter) + + + + + + + + +

Chapter Title

+

Test passes if “C” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-005.html b/testing/web-platform/tests/css/css-gcpm/string-set-005.html new file mode 100644 index 0000000000..980747c9f8 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-005.html @@ -0,0 +1,27 @@ + + + + +CSS Test: GCPM String-set with counter(page) + + + + + + + + +

A

+

Test passes if “1” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-006.html b/testing/web-platform/tests/css/css-gcpm/string-set-006.html new file mode 100644 index 0000000000..3cd91f4146 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-006.html @@ -0,0 +1,32 @@ + + + + +CSS Test: GCPM string-set with content(before) + + + + + + + +

Chapter Title

+

Test passes if “before-” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-007.html b/testing/web-platform/tests/css/css-gcpm/string-set-007.html new file mode 100644 index 0000000000..e2e5a5a64f --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-007.html @@ -0,0 +1,32 @@ + + + + +CSS Test: GCPM string-set with content(after) + + + + + + + +

Chapter Title

+

Test passes if “-after” appears in the running head at the top of the page.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-008.html b/testing/web-platform/tests/css/css-gcpm/string-set-008.html new file mode 100644 index 0000000000..8a685974b1 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-008.html @@ -0,0 +1,33 @@ + + + + +CSS Test: GCPM string-set with multiple assignments + + + + + + + +

Chapter Title

+

Test passes if “Chapter Title” appears in both the left and right running heads, and “C” appears in the center running head.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-009.html b/testing/web-platform/tests/css/css-gcpm/string-set-009.html new file mode 100644 index 0000000000..8f0c449007 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-009.html @@ -0,0 +1,28 @@ + + + + +CSS Test: GCPM string-set with page and pages counters + + + + + + + +

Chapter Title

+

Test passes if “1 of 1” appears in the running head.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-010.html b/testing/web-platform/tests/css/css-gcpm/string-set-010.html new file mode 100644 index 0000000000..221b62ced2 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-010.html @@ -0,0 +1,31 @@ + + + + +CSS Test: GCPM string-set on element with display: none + + + + + + + +

Chapter Title

+

Test passes if “Chapter Title” appears in the running head.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-011.html b/testing/web-platform/tests/css/css-gcpm/string-set-011.html new file mode 100644 index 0000000000..a09538689d --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-011.html @@ -0,0 +1,47 @@ + + + + +CSS Test: GCPM string-set on element with display: none + + + + + + + + +

Chapter One Title

+

Note: test has two pages

+

Test passes if:

+
    +
  1. +“Chapter One Title” appears in the running head on page one. +
  2. +
  3. +“Chapter Two Title” appears in the running head on page two. +
  4. +
+ +
+

Chapter Two Title

+

Second Page

+
+ + diff --git a/testing/web-platform/tests/css/css-gcpm/string-set-012.html b/testing/web-platform/tests/css/css-gcpm/string-set-012.html new file mode 100644 index 0000000000..2dc2a18b7a --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/string-set-012.html @@ -0,0 +1,33 @@ + + + + +CSS Test: GCPM string-set to attribute value + + + + + + + + +

Chapter Title

+

Test passes if running head text reads “Hello, World”. + + + + + + diff --git a/testing/web-platform/tests/css/css-gcpm/using-strings-001.html b/testing/web-platform/tests/css/css-gcpm/using-strings-001.html new file mode 100644 index 0000000000..5a8455177a --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/using-strings-001.html @@ -0,0 +1,35 @@ + + + + +CSS Test: using 'first' property of named strings + + + + + + + +

Test passes if “Section One” is in the running head at the top of the page.

+

Section One

+

Section Two

+

Section Three

+

Section Four

+

Section Five

+

Section Six

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/using-strings-002.html b/testing/web-platform/tests/css/css-gcpm/using-strings-002.html new file mode 100644 index 0000000000..a1533e9641 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/using-strings-002.html @@ -0,0 +1,32 @@ + + + + +CSS Test: using the 'last' property of named strings + + + + + + + +

Test passes if the text "Section Six" is in the running head at the top of the page.

+

Section One

+

Section Two

+

Section Three

+

Section Four

+

Section Five

+

Section Six

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/using-strings-003.html b/testing/web-platform/tests/css/css-gcpm/using-strings-003.html new file mode 100644 index 0000000000..8a997c3309 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/using-strings-003.html @@ -0,0 +1,60 @@ + + + + +CSS Test: using 'start' property of named strings + + + + + + + +

Note: this test has three pages

+

Test passes if:

+ +
    +
  1. +On page one, the running head is empty. +
  2. +
  3. +On page two, the running head is “Section Two” +
  4. +
  5. +On page three, the running head is “Section Four” +
  6. +
+

Section One

+

Bacon ipsum dolor sit amet brisket sunt kielbasa, sed rump fatback shankle. Non exercitation aliquip culpa shankle. Sausage pork kevin, doner meatloaf venison cupidatat. Salami frankfurter spare ribs kielbasa culpa commodo incididunt. Tri-tip pork belly pig ut ground round est, turkey drumstick nisi quis. Occaecat nisi tempor cupidatat, ground round exercitation in turducken. Filet mignon cow pork bacon tri-tip fugiat mollit kevin et.

+

Section Two

+

+Fatback excepteur ex ut shank do ham. Sausage sirloin turducken velit ex spare ribs quis. Quis in turkey, labore sirloin fatback exercitation proident. In rump reprehenderit voluptate aute ribeye excepteur pig venison. Culpa laboris in nostrud, kevin leberkas non tri-tip commodo qui tenderloin. Id non short ribs elit, ut excepteur cow venison duis do. +

+

Section Three

+

+Ullamco strip steak aliqua bacon ut sirloin turkey pork chop, ball tip jowl. Commodo pancetta prosciutto, meatloaf eiusmod aliquip chicken occaecat pig. Ut in pork, short ribs chuck t-bone kielbasa irure jowl occaecat cupidatat nostrud officia. Dolore ball tip cupidatat labore esse ut, magna leberkas irure kevin nostrud aute eu pariatur eiusmod. Nostrud pancetta labore, eu est mollit jerky ham hock. Shoulder aliquip dolore eu corned beef strip steak commodo. +

+

Section Four

+

+Frankfurter prosciutto fatback beef ribs brisket, flank consectetur proident cupidatat ham hock enim pig eu bresaola. Qui ball tip consequat short loin salami. Tri-tip tempor et, adipisicing commodo ground round ball tip andouille doner. Short loin officia ea ground round shank. +

+

Section Five

+

Biltong in capicola commodo tenderloin irure, labore drumstick aute tri-tip veniam. Labore dolore doner ex, meatloaf tempor meatball id flank do turkey. Pig culpa ut prosciutto rump. Tongue chicken qui andouille, pork loin pork chop salami ut. Eu ea qui dolore pork chop ground round.

+

Section Six

+

Ham hock jowl filet mignon pastrami beef turducken. Brisket pork chop pork loin drumstick capicola ground round shankle andouille leberkas tenderloin turducken chuck t-bone kevin turkey. Turkey brisket shank, cow pork belly strip steak bresaola chicken short ribs biltong. Kevin jowl meatloaf capicola t-bone ham brisket leberkas. Pork strip steak drumstick jerky, flank shankle capicola turkey spare ribs.

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/using-strings-004.html b/testing/web-platform/tests/css/css-gcpm/using-strings-004.html new file mode 100644 index 0000000000..f7eba902b9 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/using-strings-004.html @@ -0,0 +1,35 @@ + + + + +CSS Test: using 'first-except' property of named strings + + + + + + + +

Chapter Title

+

Test passes if the running head is omitted on page one, and is “Chapter Title” on all other pages.

+

Section One

+

Section Two

+

Section Three

+

Section Four

+

Section Five

+

Section Six

+ + diff --git a/testing/web-platform/tests/css/css-gcpm/using-strings-005.html b/testing/web-platform/tests/css/css-gcpm/using-strings-005.html new file mode 100644 index 0000000000..0f0a116053 --- /dev/null +++ b/testing/web-platform/tests/css/css-gcpm/using-strings-005.html @@ -0,0 +1,45 @@ + + + + +CSS Test: using 'last' property of named strings + + + + + + + +

Note: test has three pages. Test passes if:

+
    +
  1. +Running head on page one is “Section One” +
  2. +
  3. +Running head on page two is “Section Three” +
  4. +
  5. +Running head on page three is “Section Six” +
  6. +
+

Section One

+

Section Two

+

Section Three

+

Section Four

+

Section Five

+

Section Six

+ + -- cgit v1.2.3