From 8f3f629756d7351867a8be36d5f217608b9adc61 Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Fri, 17 Jan 2025 15:38:42 +0000 Subject: [PATCH] Add a couple of reftests for the :open pseudo-class. Differential Revision: https://phabricator.services.mozilla.com/D234331 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1936113 gecko-commit: 6d39e75391fa69f3acc997d45dbf5c56bfe4df77 gecko-reviewers: dshin --- .../details-open-pseudo-001-ref.html | 17 ++++++++++ .../selectors-4/details-open-pseudo-001.html | 22 +++++++++++++ .../selectors-4/details-open-pseudo-002.html | 32 +++++++++++++++++++ .../details-open-pseudo-003-ref.html | 15 +++++++++ .../selectors-4/details-open-pseudo-003.html | 32 +++++++++++++++++++ 5 files changed, 118 insertions(+) create mode 100644 css/selectors/selectors-4/details-open-pseudo-001-ref.html create mode 100644 css/selectors/selectors-4/details-open-pseudo-001.html create mode 100644 css/selectors/selectors-4/details-open-pseudo-002.html create mode 100644 css/selectors/selectors-4/details-open-pseudo-003-ref.html create mode 100644 css/selectors/selectors-4/details-open-pseudo-003.html diff --git a/css/selectors/selectors-4/details-open-pseudo-001-ref.html b/css/selectors/selectors-4/details-open-pseudo-001-ref.html new file mode 100644 index 00000000000000..21d6ebff7b985b --- /dev/null +++ b/css/selectors/selectors-4/details-open-pseudo-001-ref.html @@ -0,0 +1,17 @@ + + +reference for details:open pseudoclass + + + +

The details element should be open, green, and indented:

+ +
+ Summary +

Detailed content

+
diff --git a/css/selectors/selectors-4/details-open-pseudo-001.html b/css/selectors/selectors-4/details-open-pseudo-001.html new file mode 100644 index 00000000000000..1b110e3ccc9cab --- /dev/null +++ b/css/selectors/selectors-4/details-open-pseudo-001.html @@ -0,0 +1,22 @@ + + +test for details:open pseudoclass + + + + + +

The details element should be open, green, and indented:

+ +
+ Summary +

Detailed content

+
diff --git a/css/selectors/selectors-4/details-open-pseudo-002.html b/css/selectors/selectors-4/details-open-pseudo-002.html new file mode 100644 index 00000000000000..c9822453bb6f7e --- /dev/null +++ b/css/selectors/selectors-4/details-open-pseudo-002.html @@ -0,0 +1,32 @@ + + + +test for details:open pseudoclass + + + + + + + + + +

The details element should be open, green, and indented:

+ +
+ Summary +

Detailed content

+
diff --git a/css/selectors/selectors-4/details-open-pseudo-003-ref.html b/css/selectors/selectors-4/details-open-pseudo-003-ref.html new file mode 100644 index 00000000000000..44369749f43c51 --- /dev/null +++ b/css/selectors/selectors-4/details-open-pseudo-003-ref.html @@ -0,0 +1,15 @@ + + +reference for details:open pseudoclass + + + +

The details element should be closed and blue:

+ +
+ Summary +
diff --git a/css/selectors/selectors-4/details-open-pseudo-003.html b/css/selectors/selectors-4/details-open-pseudo-003.html new file mode 100644 index 00000000000000..0eb1a028d71953 --- /dev/null +++ b/css/selectors/selectors-4/details-open-pseudo-003.html @@ -0,0 +1,32 @@ + + + +test for details:open pseudoclass + + + + + + + + + +

The details element should be closed and blue:

+ +
+ Summary +

Detailed content

+