In the temperatures canvas example, the Thursday and Friday fields don't update, do update visually

RESOLVED WORKSFORME

Status

()

--
major
RESOLVED WORKSFORME
7 years ago
7 months ago

People

(Reporter: MarcoZ, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

7 years ago
STR:
1. Open the test case from bug 495912:
https://bug495912.bugzilla.mozilla.org/attachment.cgi?id=409248

2. With NVDA running, focus on the Wednesday, 22 Degrees C, and press Enter.
Note that you have to use this line, as this is the only that currently executes the click action. It appears that there's another bug where clicking the Thursday and Friday, and the actual "Click here..." lines does not work.

Actual: The entry for Wednesday changes from 22 Degrees C to 72 Degrees F.
The Thursday and Friday fields remain on Celsius values.

Expected: The Thursday and Friday fields should also change to Fahrenheit, as this is what happens visually.

Note that this info is not updated in the accessibility tree, so it is NOT a matter of NVDA's virtual buffer simply not updating.
Is the bug in the test case or in our code?
(Reporter)

Comment 2

7 years ago
I see the testcase JS changing all divs, not just the first one.
(Reporter)

Comment 3

7 months ago
Still a problem nowadays. Does anyone still care? Jamie, what should we do?
Flags: needinfo?(jteh)

Comment 4

7 months ago
It's not a Firefox bug. There's a bug in the test case:

  var newdiv1=document.getElementById('w');
  var newdiv3=document.getElementById('t');
  var newdiv3=document.getElementById('f');

Notice the typo in the second line: newdiv3 instead of newdiv2. That causes a JS error later when we refer to newdiv2:

ReferenceError: newdiv2 is not defined

which causes execution to halt.

If you correct the typo, it all works as expected.

Closing as worksforme.
Flags: needinfo?(jteh)

Updated

7 months ago
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.