Use the containing block for determining preserve-3d parents for transformed elements.

NEW
Assigned to

Status

()

3 years ago
3 years ago

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

Tracking

29 Branch
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

3 years ago
+++ This bug was initially created as a clone of Bug #1202029 +++

The latest versions of the transforms spec [1] say that we need to check the containing block element of the transformed element when looking for a preserve-3d parent , rather than the parent element.

I don't think this should break web compat, since it seems very rare that the author would have preserve-3d on an ancestor that isn't the parent and really didn't want the preserve-3d respected.


[1] https://drafts.csswg.org/css-transforms/#accumulated-3d-transformation-matrix-computation
You need to log in before you can comment on or make changes to this bug.