incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taner Topal (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-468) [weinre] VML rule in CSS causes Weinre to not show style rules
Date Thu, 26 Jul 2012 17:03:33 GMT

    [ https://issues.apache.org/jira/browse/CB-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423234#comment-13423234
] 

Taner Topal edited comment on CB-468 at 7/26/12 5:02 PM:
---------------------------------------------------------

After couple of hours narrowed it. The actual error happens on line 377 of CSSStore.js

element.webkitMatchesSelector selector


All new selectors throw the SYNTAX_ERR: DOM Exception 12 error on VML's. The only way to select
VML elements is through the old API's like

 document.getElementByTag

See here: http://www.w3.org/TR/selectors-api/#resolving-namespaces

So i have no idea how to fix this. With a try/catch i can at least see the other tags but
namespaced tags are still not working. Any suggestions or ideas how to fix this?
                
      was (Author: katoka):
    After couple of hours narrowed it. All new selectors throw the SYNTAX_ERR: DOM Exception
12 error on VML's. The only way to select VML elements is through the old API's like

 document.getElementByTag

See here: http://www.w3.org/TR/selectors-api/#resolving-namespaces

So i have no idea how to fix this. With a try/catch i can at least see the other tags but
namespaced tags are still not working. Any suggestions or ideas how to fix this?
                  
> [weinre] VML rule in CSS causes Weinre to not show style rules
> --------------------------------------------------------------
>
>                 Key: CB-468
>                 URL: https://issues.apache.org/jira/browse/CB-468
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>            Reporter: Patrick Mueller
>            Assignee: Patrick Mueller
>
> from https://groups.google.com/forum/#!topic/weinre/aniuboNVP6k/discussion
> When I use this CSS rule:
> v\:fill { }
> Test page: http://mosney.net/weinre-vml-css.html
> The CSS is valid, but Weinre throws this error in the Server Console:
> 2012-03-22 10:47:58.808:WARN:weinre:target 1285550896: weinre: invocation exception on
WiCSSImpl.getStylesForNode(): Error: SYNTAX_ERR: DOM Exception 12
> Consequently, CSS rules don't show up on the right hand pane of the inspector.
> I've solved this by temporarily commenting out VML style rules but figured I'd log the
issue in case the developer wants to pick it up for a future release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message