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 00000000000000..3ed746691b0763 --- /dev/null +++ b/html/rendering/the-details-element/details-display-property-is-ignored-ref.html @@ -0,0 +1,20 @@ + + + +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 00000000000000..c84598b1310440 --- /dev/null +++ b/html/rendering/the-details-element/details-display-property-is-ignored.html @@ -0,0 +1,25 @@ + + + + + + + + +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 +