Re: [csswg-drafts] [cssom-view] Let offsetWidth / offsetHeight report actual size? (#4541)

@dbaron suggested several additional tests to make sure of exactly what behavior was being shown.

1. initial case, `a` with whitespace before and after the `div`:

2. no whitespace inside the `a` at all:

3. text inside the `a`, before and after the `div`:


  <tr><td><th>case 1<th>case 2<th>case 3

So yeah, this consistently shows that Chrome is returning the size of the first layout box (always something preceding the `div`, possibly empty, generated even when there's no ws because there's still an empty layout box there), while Firefox is giving the bounding box of all the fragments.

I haven't tested across multicols, but I think interop is spotty there *anyway*, so I'm not sure how useful such a test would be, considering we already see the break in these tests.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 18 March 2020 17:09:05 UTC