Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Warning rebinding DragClientBundle - encountered '=' was expecting... #184

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Hi Allan,

I'm getting the following warning, not sure if it's even a bug or not.
It happens in Quirks mode at least.
I'm using GWT 2.6.1 and gwt-dnd 3.3.3
This is on Mac (Mavericks) running in Eclipse Development mode
Using Firefox 26

[DEBUG] [ycpapp] - Rebinding 
com.allen_sauer.gwt.dnd.client.util.DragClientBundle
    [DEBUG] [ycpapp] - Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
        [DEBUG] [ycpapp] - Preparing method css
            [INFO] [ycpapp] - The following problems were detected
                [WARN] [ycpapp] - Line 63 column 30: encountered "=". Was expecting one of: "+" "-" "," "/" ")" <STRING> <IDENT> <NUMBER> <URL> <PERCENTAGE> <PT> <MM> <CM> <PC> <IN> <PX> <EMS> <EXS> <DEG> <RAD> <GRAD> <MS> <SECOND> <HZ> <KHZ> <DIMEN> <HASH> <UNICODERANGE> <FUNCTION> 

Original issue reported on code.google.com by martijn....@gmail.com on 8 Dec 2014 at 10:29

@norbertroamsys
Copy link

The line
https://github.com/fredsa/gwt-dnd/blob/master/DragDrop/src/com/allen_sauer/gwt/dnd/client/util/gwt-dnd.css#L63: filter: alpha(opacity = 30)
causes the problem. It seems to be a weakness of the GWT Resource Parser because it should be valid CSS.
Am I right by saying that it is only needed for IE support?
If true the best solution may be to remove the alpha style.
Can this be done? Would be nice!

@fredsa
Copy link
Owner

fredsa commented Apr 25, 2015

Right, that alpha filter for there IE only.

It looks like IE8 and below only support alpha filter. Once we get to IE9+ targets we could drop it.

@mcimbora
Copy link

mcimbora commented Jun 3, 2016

It should be enough to wrap the alpha inside literal [1] function, i.e. filter: literal("alpha(opacity = 30)")

[1] http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#Literal_function

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants