Bug 118635 - Fixed position elements should layout relative to transformed container
Summary: Fixed position elements should layout relative to transformed container
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: BlinkMergeCandidate, InRadar
Depends on:
Blocks:
 
Reported: 2013-07-12 22:59 PDT by Ryosuke Niwa
Modified: 2022-08-25 23:49 PDT (History)
11 users (show)

See Also:


Attachments
Test case shows that we have a bug (973 bytes, text/html)
2022-08-22 15:53 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-07-12 22:59:25 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/f052baa7402aa050a3e5c633a4b374ecf7162926

The original layer coordinates conversion code contains a bug that it forgets
to return for the simple case where the fixed position container found is
already the ancestor layer wanted, and the code falls through to the special
path intended for RenderFlowThread.
Comment 2 Simon Fraser (smfr) 2022-08-22 12:20:37 PDT
I think our containing block logic is correct, but there's still a FIXME for this in compositing code.
Comment 3 Simon Fraser (smfr) 2022-08-22 15:53:57 PDT
Created attachment 461806 [details]
Test case shows that we have a bug
Comment 4 Simon Fraser (smfr) 2022-08-22 15:59:34 PDT
    // FIXME: Handle fixed inside of a transform, which should not behave as fixed.
Comment 5 Simon Fraser (smfr) 2022-08-22 16:46:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3560
Comment 6 EWS 2022-08-25 23:48:22 PDT
Committed 253809@main (546a1c950d42): <https://commits.webkit.org/253809@main>

Reviewed commits have been landed. Closing PR #3560 and removing active labels.
Comment 7 Radar WebKit Bug Importer 2022-08-25 23:49:16 PDT
<rdar://problem/99174247>