Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C139DD08 for ; Fri, 27 Jul 2012 09:41:37 +0000 (UTC) Received: (qmail 82352 invoked by uid 500); 27 Jul 2012 09:41:37 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 82201 invoked by uid 500); 27 Jul 2012 09:41:36 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 81974 invoked by uid 99); 27 Jul 2012 09:41:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 09:41:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 95068142856 for ; Fri, 27 Jul 2012 09:41:35 +0000 (UTC) Date: Fri, 27 Jul 2012 09:41:35 +0000 (UTC) From: "Taner Topal (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <591492828.109944.1343382095612.JavaMail.jiratomcat@issues-vm> In-Reply-To: <184447181.2645.1333980437280.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Comment Edited] (CB-468) [weinre] VML rule in CSS causes Weinre to not show style rules MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423768#comment-13423768 ] Taner Topal edited comment on CB-468 at 7/27/12 9:41 AM: --------------------------------------------------------- I found a solution. If we escape the colon it works (which it shouldn't). Was hard to find out because in the Chrome JS Console you have to use "\\\\:" {code:title=CSSStore.coffee|borderStyle=solid} _webkitMatchesSelector = (element, selector) -> if typeof selector == "string" // <-- this is new selector = selector.replace /:/g, "\\:" // <-- this is new return false unless element.webkitMatchesSelector element.webkitMatchesSelector selector {code} I will prepare a commit and merge request tomorrow. was (Author: katoka): I found a solution. If we escape the colon it works (which it shouldn't). Was hard to find out because in the Chrome JS Console you have to use "\\\\:" {code:title=CSSStore.coffee|borderStyle=solid} _webkitMatchesSelector = (element, selector) -> if typeof selector == "string" selector = selector.replace /:/g, "\\:" return false unless element.webkitMatchesSelector element.webkitMatchesSelector selector {code} I will prepare a commit and merge request tomorrow. > [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