Skip to content

Support @supports #90

Description

@nafg

Parsing https://cdn.jsdelivr.net/npm/fomantic-ui@2.9.1/dist/semantic.css fails with

ERROR com.helger.css.handler.LoggingCSSParseExceptionCallback - Failed to parse CSS: [36251:11] Encountered text 'selector(' corresponding to token <FUNCTION>. Was expecting one of: <S>, "(", "not"

At line 36251 is

@supports selector(:has(.f)) {
  .ui.icon.input:not([class*="left icon"]) > .ui.dropdown > .dropdown.icon {
    padding-right: initial;
  }

  .ui.icon.input:not([class*="left icon"]):not(:has(.ui.dropdown ~ input)) > .ui.dropdown > .dropdown.icon {
    padding-right: 2.5em;
  }
}

Activity

  1. self-assigned this
    on Feb 3, 2023
  2. stale commented on Jan 7, 2024

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. Hansanto commented on Jan 14, 2026

    @Hansanto

    Is there any news on that? Got the same issue here

  4. phax commented on Jan 19, 2026

    @phax
    Owner

    Sorry no progress atm :(

  5. blutorange commented on Apr 3, 2026

    @blutorange
    Contributor

    Just for reference, @supports is supported, but only partially:

    • ✓ @supports (transform-origin: 5% 5%) { }
    • ✓ @supports not (transform-origin: 10em 10em 10em) { }
    • ✓ @supports (display: grid) and (not (display: inline-grid)) { }
    • ✓ @supports (transform-style: preserve) or (-moz-transform-style: preserve) { }
    • ✗ @supports selector(h2 > p) { }
    • ✗ @supports font-tech(color-COLRv1) { }
    • ✗ @supports font-format(opentype) { }
    • ✗ @supports at-rule(media) { }
    • ✗ @supports named-feature(my-feature) { }
    • ✗ @supports env(my-env) { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions