FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Error with background shorthand property · Issue #14 · marceloverdijk/lesscss-java · GitHub

This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Repository navigation

This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Error with background shorthand property #14

Description

If the CSS background shorthand property is used and includes position and size values lesscss-java throws a ClassCastException:

for example - background: url(@url_var) top / cover no-repeat;

output shows:
java.lang.ClassCastException: org.mozilla.javascript.ConsString cannot be cast to java.lang.String at org.lesscss.LessCompiler.compile(LessCompiler.java:251)

Activity

  1. mgarmash commented on Dec 4, 2012

    Caused by: java.lang.ClassCastException: org.mozilla.javascript.ConsString cannot be cast to java.lang.String
    at org.lesscss.LessCompiler.compile(LessCompiler.java:251)
    at org.lesscss.LessCompiler.compile(LessCompiler.java:302)

    // exception
    .test {
        filter: alpha(opacity = 100);
    }
    
    // fixed version
    .test {
        filter: alpha(opacity=100);
    }
  2. cpopov commented on Mar 1, 2013

    Collaborator

    Hi, can you tests with the current 1.3.3-SNAPSHOT version (not released to maven central). Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL