You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that browsers have limitations when calc() and var() are nested. Because they can be nested both ways and individually. I quickly created a test case and at seems that both Firefox and Chrome fail t6of this test case: https://jsfiddle.net/mtrantalainen/ejmxu8zs/
Note that test case t6 is expected to use locally defined --pixel value to define emsquare and end up with result 80px and render identical to other tests. Firefox and Chrome seem to fail this test.
It might make sense to split test cast t6 as a separate item and call it "nested calc() or var() with locally redefined used value" or something like that.
The text was updated successfully, but these errors were encountered:
It seems that browsers have limitations when calc() and var() are nested. Because they can be nested both ways and individually. I quickly created a test case and at seems that both Firefox and Chrome fail
t6
of this test case:https://jsfiddle.net/mtrantalainen/ejmxu8zs/
The test case repeated here:
HTML:
CSS:
Expected result is to have no red visible.
Note that test case
t6
is expected to use locally defined--pixel
value to defineemsquare
and end up with result80px
and render identical to other tests. Firefox and Chrome seem to fail this test.It might make sense to split test cast
t6
as a separate item and call it "nested calc() or var() with locally redefined used value" or something like that.The text was updated successfully, but these errors were encountered: