Bug 243066 - Wrong behavior on macOS with viewport-relative units (svh, lvh, svb and lvb)
Summary: Wrong behavior on macOS with viewport-relative units (svh, lvh, svb and lvb)
Status: RESOLVED DUPLICATE of bug 242758
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 12
: P2 Major
Assignee: Nobody
URL: https://romanczerkies.fr/viewport-rel...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-21 12:08 PDT by Roman Czerkies
Modified: 2022-07-28 12:13 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Czerkies 2022-07-21 12:08:45 PDT
If you set block-size or min-block-size with a svh, lvh, svb or lvb value on the html or body element, a scroll appear on the page.
It's happening on macOS 12.5 and looks like that it's the height of the toolbar is added in all the cases.

Exemple : https://romanczerkies.fr/viewport-relative-units/
Comment 1 Radar WebKit Bug Importer 2022-07-28 12:09:19 PDT
<rdar://problem/97736324>
Comment 2 Devin Rousso 2022-07-28 12:13:07 PDT

*** This bug has been marked as a duplicate of bug 242758 ***