Skip to content

Commit

Permalink
meta: add test position:absolute without top/left which use document …
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
Gorash committed Sep 24, 2024
1 parent 1cc57bd commit 65cb7de
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion tests/css/position.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,51 @@
</div>
</rendering>

<rendering>
<rendering help="The absolutely positioned box remained in the document flow for the undefined top position.">
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 60px;">
<div></div>
<div class="red" style="position: absolute;"></div>
</div>
<div class="blue" style="position: absolute; top: 10px; left: 10px;"></div>
</rendering>

<rendering help="The absolutely positioned box remained in the document flow for the undefined top position.">
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 60px;">
<div></div>
<div class="red" style="position: absolute; left: 0px;"></div>
</div>
<div class="blue" style="position: absolute; top: 10px; left: 10px;"></div>
</rendering>

<rendering help="The absolutely positioned box remained in the document flow for the undefined top position.">
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 55px; padding-left: 25px;">
<div></div>
<div class="red" style="position: absolute; left: 5px;"></div>
</div>
<div class="blue" style="position: absolute; top: 10px; left: 10px;"></div>
</rendering>

<rendering help="The absolutely positioned box remained in the document flow for the undefined top position.">
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 35px; padding-left: 25px;">
<div></div>
<div class="red" style="position: absolute;"></div>
</div>
<div class="blue" style="position: absolute; top: 10px; left: 10px;"></div>
</rendering>

<error>
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 35px; padding-left: 25px;">
<div></div>
<div class="red" style="position: absolute; left: 0;"></div>
</div>
<div class="blue" style="position: absolute; top: 10px; left: 10px;"></div>
</error>

<error>
<div class="green" style="position: absolute; top: 30px; left: 30px;"></div>
<div style="position: absolute; top: -40px; left: 60px;">
Expand Down

0 comments on commit 65cb7de

Please sign in to comment.