[Webkit-unassigned] [Bug 216240] Broken positioning of elements inside a shadow tree using vw units on resize

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 17:32:02 PDT 2022


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

Vahan Hartooni <vahan.hartooni at servicenow.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vahan.hartooni at servicenow.c
                   |                            |om

--- Comment #2 from Vahan Hartooni <vahan.hartooni at servicenow.com> ---
This doesn't just affect positioning, but dimensions as well. Take for example this example: https://jsfiddle.net/auzekghL/

When you resize the window, the blue box doesn't update it's width or height to fit the window.

Compare that to this blue box which does: https://jsfiddle.net/1jyacbzh/

Both blue boxes have these two css rules:

  height: calc(100vh - 50px);
  width: 100vw;

But the first one is in a shadow dom.

-- 
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/20220604/6bb48c75/attachment.htm>


More information about the webkit-unassigned mailing list