Closed Bug 1922709 Opened 22 days ago Closed 18 days ago

`dom.isInView` may change the DOM with setting `Element.style.pointerEvents`

Categories

(Remote Protocol :: Agent, defect, P3)

defect

Tracking

(firefox133 fixed)

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:external][webdriver:m13])

Attachments

(1 file)

The method sets el.style.pointerEvents to "auto", then, finally restores it to the original value. However, this may cause empty style attribute (which was not there before) staying. That will cause the new test for bug 1921171 which check outerHTML of editing host failing.

It sets el.style.pointerEvents to "auto". Then, it causes updating (or
adding) style attribute of el. Finally, it'll restore the original
el.style.pointerEvents value, but unnecessary style attribute may stay
on el. Therefore, it should restore original style attribute` state too.

Severity: -- → S3
Priority: -- → P3
Whiteboard: [webdriver:external]
Whiteboard: [webdriver:external] → [webdriver:external][webdriver:m13]
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/ded9bea493bf Make dom.isInView restore original style attribute r=webdriver-reviewers,jgraham
Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: