I'm trying to test whether the value of a CSS-attribute matches a certain string. The comparison works fine in JSFiddle where I get the expected result but Eclipse is different and seems to evaluate the following statement as false: I'm trying to test whether the value of a CSS-a