[
https://issues.apache.org/jira/browse/CB-2650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599525#comment-13599525
]
Patrick Mueller commented on CB-2650:
-------------------------------------
Also wanted to make sure you understand that - apparently - the selector you've
specified isn't valid. Kinda weird that we obtained the value somehow via
introspection, turned around and used it in another API, and *that* one threw
an error.
I suppose it would be nice for weinre to somehow let you know that *that*
particular selector is invalid, not quite sure how we'd do that though.
Console message?
> [weinre] Weinre style inspection breaks with normalize.css
> ----------------------------------------------------------
>
> Key: CB-2650
> URL: https://issues.apache.org/jira/browse/CB-2650
> Project: Apache Cordova
> Issue Type: Bug
> Components: weinre
> Affects Versions: 2.0.0
> Environment: Mac OS 10.8.2
> Reporter: Jeff Froom
> Assignee: Patrick Mueller
> Priority: Blocker
> Labels: css, normalize, weinre
>
> The following lines in normalize.css cause weinre to throw the below error
> causing the ability to inspect client styles to fail.
> https://github.com/appleboy/normalize.scss/blob/master/normalize.css
> --
> /*
> * Remove inner padding and search cancel button in Safari 5 and Chrome
> * on OS X.
> */
> input[type="search"]::-webkit-search-cancel-button,
> input[type="search"]::-webkit-search-decoration {
> -webkit-appearance: none;
> }
> --
> Weinre server error:
> 2013-03-11T23:18:19.932Z weinre: target t-113: weinre: invocation exception
> on WiCSSImpl.getStylesForNode(): Error: SyntaxError: DOM Exception 12
> --
> Result: client style inspection fails.
> --
> Version: 2.0.0-pre-HA5N9T49
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira