[Webkit-unassigned] [Bug 189549] New: getComputedStyle doesn't absolutize percentages in sticky positioning

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 08:19:32 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=189549

            Bug ID: 189549
           Summary: getComputedStyle doesn't absolutize percentages in
                    sticky positioning
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: obrufau at igalia.com

Run this code for some element that generates boxes:

```js
element.style.position = "-webkit-sticky";
element.style.top = "10%";
getComputedStyle(element).top;
```

Actual value: "10%"
Expected: the percentage should be absolutized into a length

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180912/261bd780/attachment.html>


More information about the webkit-unassigned mailing list