calc in Media Queries evaluates to a fixed value
Reported by
gustvand...@gmail.com,
Dec 14
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 Steps to reproduce the problem: Create a media-query that mixes static values like px and non-static values like vw or vh. What is the expected behavior? The calc function should remain a calc function and update when necessary. What went wrong? Chrome evaluates these values to a single, fixed value and doesn't update anytime. Did this work before? N/A Does this work in other browsers? No As of now, this only works in Firefox. Chrome version: 70.0.3538.110 Channel: n/a OS Version: 10.0 Flash Version:
,
Dec 14
Bisected to https://chromium.googlesource.com/chromium/blink/+log/6c963471..4034b1be Suspecting 6a1cde43fa43029e2c8cc9680702234b23b016ab "Move viewport unit resolution to style recalc time" Landed in 34.0.1769.0 via r242882
,
Dec 14
Ignore the `html.red` rule, by the way, I accidentally left it in there after testing some things.
,
Dec 15
,
Dec 15
|
|||
►
Sign in to add a comment |
|||
Comment 1 by woxxom@gmail.com
, Dec 14