Skip to content

JS error in livestyle-client in Firefox v34 #52

@Munter

Description

@Munter

The livestyle client throws an error on this line when parsing the style rules:
https://github.com/One-com/livestyle/blob/master/livestyle-client.js#L155

value is undefined because propertyName contains a -, in this case the propertyName is flex-direction. Apparently Firefox have changed their implementation of the css style declaration to use the JavaScript camelCase notation for looking up properties, so Firefox expects the property name to be flexDirection. Hence the lookup of the value fails.

When did this change happen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions