New issue
Advanced search Search tips

Issue 673808 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

transform on parent causes fixed position child to be displayed as absolute

Reported by kthp...@gmail.com, Dec 13 2016

Issue description

Chrome Version       : Version 54.0.2840.99 m
URLs (if applicable) : http://stackoverflow.com/questions/32153518/css-positionfixed-is-not-working/41123770#41123770
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
    Firefox: FAIL
         IE: OK
       Edge: FAIL

What steps will reproduce the problem?
(1) Create HTML with an inner div and an outer div
(2) Set a scale transform on the outer div
(3) Set the inner div to position fixed and set the top and right properties
(4) The inner div is positioned absolutely inside the outer div, NOT FIXED-POSITION

What is the expected result?
The inner div should be fix to the viewport

What happens instead?
The inner div is absolutely positioned inside the outer div

Please provide any additional information below. Attach a screenshot if
possible.
Snippet at this URL: http://stackoverflow.com/questions/32153518/css-positionfixed-is-not-working/41123770#41123770

 

Comment 1 by ajha@chromium.org, Dec 14 2016

Components: Blink>CSS
Labels: Needs-Milestone

Comment 2 by suzyh@chromium.org, Dec 15 2016

Labels: Needs-Bisect
Status: Untriaged (was: Unconfirmed)
Snippet in handy jsfiddle form: https://jsfiddle.net/ejh9xv25/

Comment 3 by ajha@chromium.org, Dec 15 2016

Cc: ajha@chromium.org
Labels: -Type-Bug -Pri-3 -Needs-Bisect -Needs-Milestone M-57 hasbisect OS-Linux OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: dstockwell@chromium.org
Status: Assigned (was: Untriaged)
Able to reproduce the issue on the latest canary(57.0.2952.0) and the latest stable(55.0.2883.87/95) on Windows-10, Mac OS 10.11.6 and Linux Ubuntu 14.04.

Regressed in M-36:
==================
Last good build: 36.0.1921.0
First bad build: 36.0.1922.0

Changelog:
==========
https://chromium.googlesource.com/chromium/src/+log/06b311c12438756904446e8ba09132460fbad557..16578a8e3481ffdde5b699fe747f114efb64a26b

There is blink roll in the above changelog, running the script with -l to get the Blink changelog gives a Blank URL.
Blink changelog:
================
https://build.chromium.org/f/chromium/perf/dashboard/ui/changelog_blink.html?url=/trunk&range=170530%3A170526

Blink changelog from Omahaproxy (36.0.1921.0 - 36.0.1922.0):
=============================================================
https://chromium.googlesource.com/chromium/blink/+log/b8f2d4005a4e3c52296c16706dedfd53c533618a..6324571d2988b487f2ef74fe63611fdb4abe1be4?pretty=fuller&n=10000

Suspecting: https://codereview.chromium.org/212543003 from the blink roll.

dstockwell@: Could you please take a look at this.

Thank you!


673808.png
14.6 KB View Download
Components: -Blink>CSS Blink>Layout
Labels: -hasbisect Needs-Bisect
Owner: ----
Status: Untriaged (was: Assigned)
That change only came up because I added support for 'transform'. 

New test-case for bisect which does not rely on unprefixed transform: https://jsfiddle.net/tgwc47w1/

Comment 5 by ajha@chromium.org, Dec 19 2016

Labels: -Pri-1 -Needs-Bisect Pri-2
Based on the jsfiddle of C#4, https://jsfiddle.net/tgwc47w1/ . This is non regression issue working the same on older chrome version: 30.0.1549.0 as tested on Windows-10.

Comment 6 by kthp...@gmail.com, Dec 19 2016

Turns out this is correct behavior. Check the Mozilla bug with the same name to verify.

Comment 7 by e...@chromium.org, Jan 2 2017

Status: WontFix (was: Untriaged)
It is indeed, marking as closed.

Sign in to add a comment