New issue
Advanced search Search tips

Issue 884544 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

getComputedStyle absolutizes percentage values of inset properties against the wrong box.

Project Member Reported by emilio@chromium.org, Sep 16

Issue description

Chrome Version       : Trunk
URLs (if applicable) : https://github.com/w3c/csswg-drafts/issues/3115, https://crisal.io/tmp/sticky-pos.html
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: FAIL (doesn't absolutize percentages, https://bugs.webkit.org/show_bug.cgi?id=189549)
    Firefox: PASS
    IE/Edge: FAIL (same bug as Blink, will file against them)

What steps will reproduce the problem?
1. Open the attached test-case (second url for convenience)

What is the expected result?
250px, which is the position that the sticky element is positioned against the scrollable box, and is what layout does.


What happens instead of that?
The percentage is resolved against the wrong box, yielding 200px
 
sticky-pos.html
375 bytes View Download
Status: Available (was: Unconfirmed)

Sign in to add a comment