Closed Bug 1799404 Opened 2 years ago Closed 2 years ago

Two consecutive accesses to textarea.scrollHeight return different results

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 104
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1787062

People

(Reporter: dima.krutoo, Unassigned)

References

(Regression, )

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

define html markup, CSS styles and JS script like in this code snippet:
https://codepen.io/dimakrutoo/pen/BaVLvvV

Actual results:

Two consecutive accesses to scrollHeight property of textarea return different results

It logs into console

Expected results:

Two consecutive accesses to scrollHeight property of textarea return same result

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

This issue is reproducible on Mac for me. It works as expected on Windows.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

This issue (or a very similar one) also occurs on Windows, at least on Firefox 108 and 109. Please see https://phabricator.wikimedia.org/T317369 for reproduction steps that work on Windows. (Unfortunately I wasn't able to make a reduced test case yet, and the Codepen given in bug description behaves correctly on my Windows device).

7:22.92 INFO: No more integration revisions, bisection finished.
7:22.92 INFO: Last good revision: 3ea7d91368d10e6322bb72f5c1c59c624cb3cd11
7:22.92 INFO: First bad revision: d3176de5dffaa8527ae417ad2e75c21d02b87d62
7:22.92 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3ea7d91368d10e6322bb72f5c1c59c624cb3cd11&tochange=d3176de5dffaa8527ae417ad2e75c21d02b87d62

Component: DOM: Core & HTML → CSS Parsing and Computation
OS: macOS → All
Regressed by: 1778983
Version: Firefox 106 → Firefox 104

:emilio, since you are the author of the regressor, bug 1778983, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1787062
Flags: needinfo?(emilio)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.