Bug 193534 - [LFC][BFC] An element with transform is a containing block for positioned descendants.
Summary: [LFC][BFC] An element with transform is a containing block for positioned des...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-17 07:47 PST by zalan
Modified: 2019-01-17 08:25 PST (History)
5 users (show)

See Also:


Attachments
Patch (3.59 KB, patch)
2019-01-17 07:59 PST, zalan
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2019-01-17 07:47:30 PST
ssia
Comment 1 zalan 2019-01-17 07:54:10 PST
For elements whose layout is governed by the CSS box model, any value other than none for the transform property also causes the element to establish a containing block for all descendants.

https://www.w3.org/TR/css-transforms-1/
Comment 2 zalan 2019-01-17 07:59:09 PST
Created attachment 359376 [details]
Patch
Comment 3 Antti Koivisto 2019-01-17 08:14:25 PST
You could update the comment above too.
Comment 4 zalan 2019-01-17 08:24:21 PST
Committed r240111: <https://trac.webkit.org/changeset/240111>
Comment 5 Radar WebKit Bug Importer 2019-01-17 08:25:28 PST
<rdar://problem/47351671>