Skip to content

Commit 8888174

Browse files
committed
fix: reorder container-no-justify-items test.html cases under correct headings
Warn cases (inline, flex) were under "Should NOT warn" and an ok case (block) was under "Should warn". Move cases so section headings match their expect-warn/expect-ok classes.
1 parent 2cf0713 commit 8888174

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

examples/test.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -621,20 +621,12 @@ <h3>Should NOT warn</h3>
621621
<h2>container-no-justify-items: justify-items on non-flex/grid containers</h2>
622622

623623
<h3>Should warn</h3>
624-
<div class="case expect-ok" data-rule="container-no-justify-items">
625-
<div class="label label-ok">container-no-justify-items ok: block with justify-items</div>
626-
<div data-target style="justify-items: center; height: 80px; background: #f0f0f0">
627-
<div style="width: 60px; background: #c9e0f0">Child centered by justify-items</div>
628-
</div>
629-
</div>
630624
<div class="case expect-warn" data-rule="container-no-justify-items">
631625
<div class="label label-warn">
632626
container-no-justify-items warn: display:inline with justify-items
633627
</div>
634628
<span data-target style="justify-items: center">Child</span>
635629
</div>
636-
637-
<h3>Should NOT warn</h3>
638630
<div class="case expect-warn" data-rule="container-no-justify-items">
639631
<div class="label label-warn">
640632
container-no-justify-items warn: flex container with justify-items
@@ -643,6 +635,14 @@ <h3>Should NOT warn</h3>
643635
<div>Child</div>
644636
</div>
645637
</div>
638+
639+
<h3>Should NOT warn</h3>
640+
<div class="case expect-ok" data-rule="container-no-justify-items">
641+
<div class="label label-ok">container-no-justify-items ok: block with justify-items</div>
642+
<div data-target style="justify-items: center; height: 80px; background: #f0f0f0">
643+
<div style="width: 60px; background: #c9e0f0">Child centered by justify-items</div>
644+
</div>
645+
</div>
646646
<div class="case expect-ok" data-rule="container-no-justify-items">
647647
<div class="label label-ok">
648648
container-no-justify-items ok: grid container with justify-items

0 commit comments

Comments
 (0)