Please report this upstream[1]. To the bug description, we do not
maintain Google Chrome.

[1] https://issues.chromium.org/issues

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/2111942

Title:
  calc() returns astronomic values for divisor less than 1

Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  Tailwind CSS and other frameworks use expressions like 
  `line-height: calc(1.25/0.875)`

  While it works on the Mac Chrome version, it returns the astronomical
  value 3.40282e+38px for the Docker ubuntu image (FROM ubuntu:latest)

  HTML to reproduce
  `<html style="line-height: calc(1.25/0.875)"> </html>`
  Seems to round down the divisor to an integer 0, and it returns FLT_MAX 

  
  `<html style="line-height: calc(1.25/1.875)"> </html>`
  works fine

  0. uname -a
  Linux 0fe40a5deb66 6.10.14-linuxkit #1 SMP Tue Apr 15 16:00:54 UTC 2025 
x86_64 x86_64 x86_64 GNU/Linux
    
   # Google downloaded from 
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  google-chrome-stable --version
  Google Chrome 137.0.7151.55

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2111942/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to