Open Bug 1575510 Opened 5 years ago Updated 1 year ago

element.isInView mutates pointer-events style property of element

Categories

(Remote Protocol :: Marionette, defect, P3)

Version 3
defect

Tracking

(Not tracked)

People

(Reporter: ato, Unassigned)

References

()

Details

(Whiteboard: [webdriver:backlog])

element.isInView mutates the document by setting resetting the
element’s pointer-events style property, which could have detrimental
side-effects. It does this so that elements are included in the
paint tree returned by elementsFromPoint().

element.isInView should ideally not mutate the style of the
element.

Priority: -- → P5

I wonder which other method we have to get the check accomplished. Removing P5 and marking as defect given that users are actually affected by this unexpected behavior (see the referenced GitHub issue).

Type: enhancement → defect
Priority: P5 → --
Priority: -- → P3
Whiteboard: [webdriver:backlog]
Severity: normal → S3
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.