From 167f83cee442e9b15524b25b64a56270861cac9c Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Fri, 9 Oct 2020 12:47:47 -0700 Subject: [PATCH] Remove anonymous box from details/summary shadow dom Previously, there was an anonymous
in the shadow dom for the element, which caused display:contents to not behave in an interoperable way. See [1] for a spec PR that clarifies the spec, and this CL matches the new clarification. The new WPT added here passes already on Gecko and WebKit. [1] https://github.com/whatwg/html/pull/4746 Fixed: 973074 Change-Id: Iba54616c4e54e357dd71b7de30de18bde8ff3983 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462217 Commit-Queue: Mason Freed Reviewed-by: Oriol Brufau Auto-Submit: Mason Freed Cr-Commit-Position: refs/heads/master@{#815731} --- .../details-blockification.html | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 html/rendering/the-details-element/details-blockification.html diff --git a/html/rendering/the-details-element/details-blockification.html b/html/rendering/the-details-element/details-blockification.html new file mode 100644 index 00000000000000..cc94e92fe0cdfb --- /dev/null +++ b/html/rendering/the-details-element/details-blockification.html @@ -0,0 +1,35 @@ + + +CSS Test: details children blockification + + + + + + +
+
+ foo +
bar +
+
+ +
+
+ foo +
bar +
+
+ +