Bug 1735931 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:
1. Load attached testcase.
2. Open web console (ctrl shift k, or cmd shift k)
3. Type "simpleRecreate()"

EXPECTED RESULTS:
The same value should be logged for three.height

ACTUAL RESULTS:
Two different values are logged. For me, I get:
```
After style changes, before reload
#three.height 819.2999877929688
After reload
#three.height 890.5499877929688
```

The first measurement here is just coming from an incremental-layout codepath (with a dynamic tweak to `padding`), whereas the second measurement is using the same final DOM and styling laid out in one shot (no dynamic restyles).

This testcase was generated by the Layout Quick Check fuzzer (with minor edits/simplification from me); see bug 1724999.
STR:
1. Ensure you have about:config pref layout.css.grid-item-baxis-measurement.enabled set to true
2. Load attached testcase.
3. Open web console (ctrl shift k, or cmd shift k)
4. Type "simpleRecreate()"

EXPECTED RESULTS:
The same value should be logged for three.height

ACTUAL RESULTS:
Two different values are logged. For me, I get:
```
After style changes, before reload
#three.height 819.2999877929688
After reload
#three.height 890.5499877929688
```

The first measurement here is just coming from an incremental-layout codepath (with a dynamic tweak to `padding`), whereas the second measurement is using the same final DOM and styling laid out in one shot (no dynamic restyles).

This testcase was generated by the Layout Quick Check fuzzer (with minor edits/simplification from me); see bug 1724999.

Back to Bug 1735931 Comment 0