From 45576e40af3c01c06483b85dd946e38d3de1ed47 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Fri, 17 Jan 2025 11:42:42 +0000 Subject: [PATCH] part 2: Add WPT to test 'details'/'summary' with display:inline and inline-block. This test passes in Chrome 134 dev, Safari Tech Preview 18.2, and Firefox Nightly 136 (but only with the pref-flip from the previous patch in this series). Differential Revision: https://phabricator.services.mozilla.com/D234616 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1942190 gecko-commit: 1e3dec2f84defef3bd2a8fa9521d14e6b8ff8c35 gecko-reviewers: TYLin --- ...etails-summary-display-inline-001-ref.html | 114 ++++++++++++++++ .../details-summary-display-inline-001.html | 125 ++++++++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 html/rendering/the-details-element/details-summary-display-inline-001-ref.html create mode 100644 html/rendering/the-details-element/details-summary-display-inline-001.html diff --git a/html/rendering/the-details-element/details-summary-display-inline-001-ref.html b/html/rendering/the-details-element/details-summary-display-inline-001-ref.html new file mode 100644 index 00000000000000..546075fcfebddd --- /dev/null +++ b/html/rendering/the-details-element/details-summary-display-inline-001-ref.html @@ -0,0 +1,114 @@ + + +CSS Reference Case + + + + + +
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ + +
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ + +
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
+ X +
+
XX XX XX
+ XX XXXX +
+
+
diff --git a/html/rendering/the-details-element/details-summary-display-inline-001.html b/html/rendering/the-details-element/details-summary-display-inline-001.html new file mode 100644 index 00000000000000..f6714a5e076a2e --- /dev/null +++ b/html/rendering/the-details-element/details-summary-display-inline-001.html @@ -0,0 +1,125 @@ + + +CSS Test: details and summary with all pairwise combinations of 'display: {inline, inline-block, block}' + + + + + + + + +
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ + +
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ + +
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+
+ X +
+ XX XX XX + XX XXXX +
+
+