Closed Bug 1715154 Opened 3 years ago Closed 2 years ago

grid-content-alignment-overflow-002.html fails on Android only

Categories

(Core :: Layout: Grid, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: TYLin, Unassigned)

References

Details

Bug 1527539 adds a new test grid-content-alignment-overflow-002.html. It passes on desktop, but a subtest .grid 8 testing scrollHeight is 1px less on Android.

Here's the log.

TEST-UNEXPECTED-FAIL | /css/css-grid/alignment/grid-content-alignment-overflow-002.html | .grid 8 - assert_equals: 
<div class="container" style="margin-bottom: 75px; margin-right: 25px;">
  <div class="grid overflowHeight contentEndSafe" data-expected-width="200" data-expected-height="150" data-expected-scroll-width="200" data-expected-scroll-height="260">
    <div class="firstRowFirstColumn" data-offset-x="70" data-offset-y="30" data-expected-width="50" data-expected-height="100"></div>
    <div class="secondRowFirstColumn" data-offset-x="70" data-offset-y="130" data-expected-width="50" data-expected-height="100"></div>
    <div class="firstRowSecondColumn" data-offset-x="120" data-offset-y="30" data-expected-width="50" data-expected-height="100"></div>
    <div class="secondRowSecondColumn" data-offset-x="120" data-offset-y="130" data-expected-width="50" data-expected-height="100"></div>
  </div>
</div>
scrollHeight expected 260 but got 259

This will be fixed by bug 1745969.

Depends on: 1745969
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Thanks hiro!

You need to log in before you can comment on or make changes to this bug.