5 <title>CSS Reftest Reference
</title>
6 <link rel=
"author" title=
"Daniel Holbert" href=
"mailto:dholbert@mozilla.com">
7 <link rel=
"author" title=
"Morgan Rae Reschenberg" href=
"mailto:mreschenberg@berkeley.edu">
12 border:
2px solid green;
16 background: lightblue;
30 align-items: baseline;
46 <!-- NOTE: In the reference-case scenarios here, we use the same DOM as in
47 the testcase, and we simply use 'position: absolute' on the descendants
48 wherever the testcase has 'contain: size' on the container. This
49 produces an accurate reference rendering, because out-of-flow content
50 doesn't contribute to the container's sizing, but does create scrollable
51 overflow (i.e. it produces scrollbars of the appropriate size for the
52 amount of overflow). -->
53 <div class=
"basic"><div class=
"innerContents">inner
</div></div>
56 <div class=
"basic height-ref"><div class=
"innerContents">inner
</div></div>
59 <div class=
"basic height-ref"><div class=
"innerContents">inner
</div></div>
62 <div class=
"basic width-ref"><div class=
"innerContents">inner
</div></div>
65 <div class=
"basic width-ref"><div class=
"innerContents">inner
</div></div>
68 <div class=
"basic floatLBasic-ref"><div class=
"innerContents">inner
</div></div>
71 <div class=
"basic floatLWidth-ref"><div class=
"innerContents">inner
</div></div>
74 <div class=
"flexBaselineCheck">
77 <!-- We use the out-of-flow "innerContents" to create the correct
78 amount of scrollable overflow to match the testcase, and we
79 use the smaller in-flow "zeroHeightContents" to provide a
80 baseline that we can use to verify the testcase's baseline
81 alignment position. -->
82 <div class=
"innerContents">inner
</div>
83 <div class=
"zeroHeightContents">i
</div>