Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46A9DD8B0 for ; Tue, 8 Jan 2013 01:16:38 +0000 (UTC) Received: (qmail 73112 invoked by uid 500); 8 Jan 2013 01:16:37 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 73086 invoked by uid 500); 8 Jan 2013 01:16:37 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 73074 invoked by uid 500); 8 Jan 2013 01:16:37 -0000 Delivered-To: apmail-incubator-flex-dev@incubator.apache.org Received: (qmail 73062 invoked by uid 99); 8 Jan 2013 01:16:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 01:16:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cyrill.zadra@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vc0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2013 01:16:32 +0000 Received: by mail-vc0-f172.google.com with SMTP id fw7so20785300vcb.3 for ; Mon, 07 Jan 2013 17:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tX6Ijqv7Up/5YhM9YoZFzvVhe1pChSttiw1YrDxU1yg=; b=YVvkDYlk3gX+LFCXzHQ4ERHwvOoPYC4tHqRAQJJnA/U+qJdsNkvabL1tzbSVmFfm4U eDVioBu6RLzSPJhVLfrlLt6nHOoC39og5SVzXSR2Qi2CqveFsEB3jVvkMj2ROC8BmTwG 8QCeryHaDhdTfA8sp7oPv0KuI+zAxYoVoBWuiFSzseHYx2bzeXqmU2v9nRqQGVprUX62 +Y4mqsJ/9vCGVmR0+UgYXXuxd7LvSSwI/Qv7fRauHE5fNpFFcDy7Q2S8bmd1gIA9Savj 6dGT6wlwi0I02g0UYa8dttxuJri2OLnVDncV0icfM5358tMxoSeSk5JUAIwg7upd7hxU JGjQ== MIME-Version: 1.0 Received: by 10.220.40.135 with SMTP id k7mr83513283vce.12.1357607771360; Mon, 07 Jan 2013 17:16:11 -0800 (PST) Received: by 10.220.141.73 with HTTP; Mon, 7 Jan 2013 17:16:11 -0800 (PST) In-Reply-To: <20121230174415.11332tbkuufvy3zz@franklin.liquidweb.com> References: <20121230174415.11332tbkuufvy3zz@franklin.liquidweb.com> Date: Mon, 7 Jan 2013 17:16:11 -0800 Message-ID: Subject: Re: [jira] [Commented] (FLEX-33275) Falcon Compile Error: Define a color with- rgb(100%, 0%, 0%) is not supported. From: Cyrill Zadra To: "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Yes.. there are a few working unit tests. Cyrill On Sun, Dec 30, 2012 at 2:44 PM, Michael Schmalle wrote: > I'll take a look at it in a day or so. If you got a unit test that works I > would say you did a good job. :) > > Mike > > > Quoting "Cyrill Zadra (JIRA)" : > >> >> [ >> https://issues.apache.org/jira/browse/FLEX-33275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541170#comment-13541170 >> ] >> >> Cyrill Zadra commented on FLEX-33275: >> ------------------------------------- >> >> Added support to declare a color with a rgb(x,x,x) definition. >> >> - I had to extend the CSS.g & CSSTree.g >> - Add a new antlr rule for - rgb(100%,100%,100%) - I'm new to antlr so >> probably someone has a shorter/better way to describe the RGB rule. >> - Add new class CSSRgbColorPropertyValue >> - Added Unit Test CSSRgbColorPropertyValueTests >> >> >> So it might be a compiler guru out there who can review this change ;-) >> .. gordon, mike?... thx. >> >>> Falcon Compile Error: Define a color with- rgb(100%, 0%, 0%) is not >>> supported. >>> >>> ------------------------------------------------------------------------------ >>> >>> Key: FLEX-33275 >>> URL: https://issues.apache.org/jira/browse/FLEX-33275 >>> Project: Apache Flex >>> Issue Type: Improvement >>> Components: MXML Compiler >>> Reporter: Cyrill Zadra >>> Assignee: Cyrill Zadra >>> Labels: Falcon >>> Fix For: Apache Flex 4.9.0 >>> >>> Attachments: StyleRGB.mxml >>> >>> >>> Using rgb(100%, 0%, 0%) to define a color in a css return following >>> compiler error. >>> Compiler Error >>> [java] Error: >>> C:/dev/apache-flex/falcon/compiler/src/org/apache/flex/compiler/internal/css/CSSTree.g: >>> node from line 0:0 no viable alternative at input 'rgb(100%, 0%, 0%)' >>> >> >> -- >> 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 >> > > -- > Michael Schmalle - Teoti Graphix, LLC > http://www.teotigraphix.com > http://blog.teotigraphix.com >