csso icon indicating copy to clipboard operation
csso copied to clipboard

Remove word-break fallback value

Open SuperOl3g opened this issue 7 years ago • 2 comments

Same problem with #281 and #278 CSS-tricks recommend adding fallback value for IE.

Input

div { 
      word-break: break-all;
     /* Non standard for WebKit */
     word-break: break-word;
}

Output

div { 
     word-break: break-word;
}

Expected

div { 
      word-break: break-all;
     /* Non standard for WebKit */
     word-break: break-word;
}

Besides small feature request: we need possibility to add special comments to disable some options of CSSO

SuperOl3g avatar Nov 24 '17 11:11 SuperOl3g

Another fallback example that mustn't be collapsed:

.bar {
  overflow: auto;
  overflow: overlay;
}

Finesse avatar Jun 08 '20 04:06 Finesse

I have now also hit the issue with overflow fallback. Is there a possibility (e.g. through configuration or a comment in the css) to disable it for these kind of case without requiring code changes to the library. In terms of a comment it could be 2 inline comments to temporary disable and enable it again.

WGroenestein avatar Jul 23 '20 14:07 WGroenestein