Closed Bug 1827203 Opened 3 years ago Closed 2 years ago

Nested elements with transform-style: preserve-3d ignore pointer events

Categories

(Core :: DOM: Core & HTML, defect)

Firefox 111
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: code, Unassigned)

Details

Attachments

(1 file)

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

Steps to reproduce:

Here is an example that produces the issue:
https://codepen.io/JonasGruenwald/pen/NWOqgaQ
HTML document reproducing the issue is also attached.

Steps to reproduce:

  • Create a structure of nested <div> elements
  • Each div element also contains an interactive element (for example an anchor tag)
  • On all div elements, set the CSS property 'transform-style' to 'preserve-3d'

Actual results:

Starting at a nesting depth of 6, the interactive elements do not appear to accept pointer events anymore, they cannot be clicked and there is no 'pointer' cursor.
The first 6 Elements appear to work correctly.

Expected results:

The interactive elements at any depth should remain interactive and accept pointer events (this works in latest Chrome and Safari).

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

I'm not sure how likely this is to occur in the wild. If someone with better knowledge of the usage metrics feels that it is reasonably likely, I'll consider increasing the severity.

Severity: -- → S3

I can't really reproduce this anymore in the current version of Firefox for Mac, so I'm resolving this.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: