[Webkit-unassigned] [Bug 245496] Percentage (%)-based heights for absolute-positioned children not respecting sticky parent height

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 23 22:13:49 PST 2023


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

--- Comment #9 from Brandon McConnell <brandon at dreamthinkbuild.com> ---
Thank you, Ahmad! I really appreciate your help in looking into and resolving this.

Safari and Firefox have slightly different issues, though I think Chrome is the one doing it correctly here, with my knowledge of pseudo-elements.

The intention was to make the pseudo-element 50% of its parent's height (the `thead`), represented by the `before:h-1/2` class, and then I use the complex `clip-path` class to shave off the sides of the pseudo-element.

So yes, while it is the `clip-path` doing the hiding of those sides, the hiding is intentional. The real issue here is the height not being the intended 50% of its parent in either Safari or Firefox.

Here is an image that demonstrates what the height of the `::before` pseudo-element was intended to be in this case and appears in Chrome: https://i.imgur.com/JoZhLoO.png

-- 
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/20230124/6566289d/attachment.htm>


More information about the webkit-unassigned mailing list