diff --git a/html/rendering/the-details-element/details-display-property-is-ignored-ref.html b/html/rendering/the-details-element/details-display-property-is-ignored-ref.html new file mode 100644 index 000000000000000..6ebed6075de1e8c --- /dev/null +++ b/html/rendering/the-details-element/details-display-property-is-ignored-ref.html @@ -0,0 +1,21 @@ + + + +From html.spec.whatwg.org: + +
+The details element is expected to render as a block box. The element's shadow +tree is expected to take the element's first summary element child, if any, and +place it in a first block box container, and then take the element's remaining +descendants, if any, and place them in a second block box container. +
+ +<details display:flex> should be ignored. Otherwise details would render as +something other than a block box. +
+ +
+ This is the summary. +
thing 1
+ thing 2 +
diff --git a/html/rendering/the-details-element/details-display-property-is-ignored.html b/html/rendering/the-details-element/details-display-property-is-ignored.html new file mode 100644 index 000000000000000..445b4e483d00c8a --- /dev/null +++ b/html/rendering/the-details-element/details-display-property-is-ignored.html @@ -0,0 +1,26 @@ + + + + + + + + +From html.spec.whatwg.org: + +
+The details element is expected to render as a block box. The element's shadow +tree is expected to take the element's first summary element child, if any, and +place it in a first block box container, and then take the element's remaining +descendants, if any, and place them in a second block box container. +
+ +<details display:flex> should be ignored. Otherwise details would render as +something other than a block box. +
+ +
+ This is the summary. +
thing 1
+ thing 2 +