Daniel Ruf

Results 910 comments of Daniel Ruf

How would a px based solution look like to check the distance between all markers?

Or setting the minimum required distance between all items to cluster elements.

**Solution** There is a way to prevent that: https://github.com/jakubpawlowicz/clean-css#how-to-keep-a-css-fragment-intact This is already supported through `clean-css`. Use the `/* clean-css ignore:start */` and `/* clean-css ignore:end */` comments. `test`

> @DanielRuf Unfortunately this is not the best behavior, in theory in future developers can use new CSS syntax and due clean-css do not support that it is break code,...

Afaik html-minifier and clean-css accept and generate only valid code.

> As i written in the original issue, we should got an exception when a syntax is broken, so when we got an exception we return original string instead return...

> does not recognize the new syntax what support new browsers and return broken code, so it is bug. The issue was about something else: > ``

Needs some try / catch block. I'll check that.