Skip to content

Chrome 53's changes to CSS opacity break 3D transforms. #11

@trusktr

Description

@trusktr

Check out this nasty problem Chrome 53 introduced (by following a flawed spec), which breaks ReFamous if you want to use opacity on a parent node that contains any children:

https://bugs.chromium.org/p/chromium/issues/detail?id=646993

Please leave a comment there to help persuade them to take back the changes.

You can reproduce the problem with ReFamous by make a parent node, adding a bunch of child nodes with arbitrary X,Y,Z positions, then apply an opacity to the parent node. In the parent node and child node make sure you have a DOMElement so that the result is a nested DOM structure when you inspect element.

What you'll see happen is that the child nodes will be flattened into a plane. This is a really bad design idea from the CSS-transforms specification.

When using mixed mode, then it will cause a nasty bug where the DOMElements are flattened, and the WebGL meshes are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions