gustavo-roganti opened a new issue #2066:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2066


   Linked to https://github.com/apache/incubator-pagespeed-mod/issues/1538
   
   A css custom property (see 
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) 
is defined as
   `--custom-offset: 0px`
   and is then used in a CSS rule
   `top: calc(50% + var(--custom-offset))`
   
   but mod_pagespeed (version  1.13.35.2-0) rewrites the variable removing the 
`px` as
   `--custom-offset:0`
   
   and the `calc()` rule breaks.
   
   
   
   The fix to bug 1538 checks if the css value is used in "calc(" but this does 
not work if the value is stored in a custom variable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to