Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E17BFE07 for ; Mon, 1 Apr 2013 19:34:13 +0000 (UTC) Received: (qmail 4406 invoked by uid 500); 1 Apr 2013 19:34:12 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 4338 invoked by uid 500); 1 Apr 2013 19:34:12 -0000 Mailing-List: contact commits-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 commits@flex.apache.org Received: (qmail 3987 invoked by uid 99); 1 Apr 2013 19:34:12 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Apr 2013 19:34:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 3AF23835468; Mon, 1 Apr 2013 19:34:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bigosmallm@apache.org To: commits@flex.apache.org Date: Mon, 01 Apr 2013 19:34:15 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [4/4] git commit: Add button test directory transform.xslt updated to add more edge cases transform.xslt now handles default alpha values Add button test directory transform.xslt updated to add more edge cases transform.xslt now handles default alpha values Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5253db01 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5253db01 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5253db01 Branch: refs/heads/develop Commit: 5253db01b6fe17f9554e88e09f54b16f078f5b26 Parents: 7bad965 Author: Om Authored: Mon Apr 1 12:33:47 2013 -0700 Committer: Om Committed: Mon Apr 1 12:33:47 2013 -0700 ---------------------------------------------------------------------- fxg2svg/SparkButtonSkin.xml | 230 ----------------------- fxg2svg/TODO.txt | 5 + fxg2svg/rect.xml | 65 ------- fxg2svg/tests/button/ButtonSkin.xml | 230 +++++++++++++++++++++++ fxg2svg/tests/button/button_skin_down.svg | 71 +++++++ fxg2svg/tests/button/button_skin_over.svg | 59 ++++++ fxg2svg/tests/button/button_skin_up.svg | 59 ++++++ fxg2svg/tests/button/button_test.html | 28 +++ fxg2svg/tests/button/flexVhtml5.html | 118 ++++++++++++ fxg2svg/transform.xslt | 212 ---------------------- fxg2svg/transform/transform - down.xslt | 232 ++++++++++++++++++++++++ fxg2svg/transform/transform - over.xslt | 232 ++++++++++++++++++++++++ fxg2svg/transform/transform.xslt | 215 ++++++++++++++++++++++ 13 files changed, 1249 insertions(+), 507 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/SparkButtonSkin.xml ---------------------------------------------------------------------- diff --git a/fxg2svg/SparkButtonSkin.xml b/fxg2svg/SparkButtonSkin.xml deleted file mode 100644 index 26cce5b..0000000 --- a/fxg2svg/SparkButtonSkin.xml +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/TODO.txt ---------------------------------------------------------------------- diff --git a/fxg2svg/TODO.txt b/fxg2svg/TODO.txt new file mode 100644 index 0000000..a7653c0 --- /dev/null +++ b/fxg2svg/TODO.txt @@ -0,0 +1,5 @@ +1. Gradient: In FXG, if there are only two stops, the first ratio (stop-offset) defaults to 0 and second ratio (stop-offset) defaults to 1 +2. GradientTransform: rotation(270) must be set in the format: x1="0%" y1="100%" x2="0%" y2="0%" (Right now doing it by hand) +3. Text does not seem to be vertially centered in SVG. (done) +4. Handle multiple states (via Ant, I guess) +5. Make sure empty namespace is not created for linearGradient (done) \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/rect.xml ---------------------------------------------------------------------- diff --git a/fxg2svg/rect.xml b/fxg2svg/rect.xml deleted file mode 100644 index d5b0301..0000000 --- a/fxg2svg/rect.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/ButtonSkin.xml ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/ButtonSkin.xml b/fxg2svg/tests/button/ButtonSkin.xml new file mode 100644 index 0000000..26cce5b --- /dev/null +++ b/fxg2svg/tests/button/ButtonSkin.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/button_skin_down.svg ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/button_skin_down.svg b/fxg2svg/tests/button/button_skin_down.svg new file mode 100644 index 0000000..2ceea0a --- /dev/null +++ b/fxg2svg/tests/button/button_skin_down.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/button_skin_over.svg ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/button_skin_over.svg b/fxg2svg/tests/button/button_skin_over.svg new file mode 100644 index 0000000..81a5ebe --- /dev/null +++ b/fxg2svg/tests/button/button_skin_over.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/button_skin_up.svg ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/button_skin_up.svg b/fxg2svg/tests/button/button_skin_up.svg new file mode 100644 index 0000000..2889539 --- /dev/null +++ b/fxg2svg/tests/button/button_skin_up.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/button_test.html ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/button_test.html b/fxg2svg/tests/button/button_test.html new file mode 100644 index 0000000..3083cfd --- /dev/null +++ b/fxg2svg/tests/button/button_test.html @@ -0,0 +1,28 @@ + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/tests/button/flexVhtml5.html ---------------------------------------------------------------------- diff --git a/fxg2svg/tests/button/flexVhtml5.html b/fxg2svg/tests/button/flexVhtml5.html new file mode 100644 index 0000000..8f5149a --- /dev/null +++ b/fxg2svg/tests/button/flexVhtml5.html @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + +

+ Either scripts and active content are not permitted to run or Adobe Flash Player version + 0.0.0 or greater is not installed. +

+ + + Get Adobe Flash Player + + +
+ +
+
+ + + + +
+ + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/transform.xslt ---------------------------------------------------------------------- diff --git a/fxg2svg/transform.xslt b/fxg2svg/transform.xslt deleted file mode 100644 index 8dd36cc..0000000 --- a/fxg2svg/transform.xslt +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100% - - - 100% - - - none - - - - - - - - - - - - - - - - - - fill:# - - - - - fill:url(#) - - - - stroke-width:;stroke:url(#) - - - - - - - rotate() - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - middle - none - .3em - 50% - 50%Hello - - - - - http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/transform/transform - down.xslt ---------------------------------------------------------------------- diff --git a/fxg2svg/transform/transform - down.xslt b/fxg2svg/transform/transform - down.xslt new file mode 100644 index 0000000..6eac56c --- /dev/null +++ b/fxg2svg/transform/transform - down.xslt @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + 100% + + + none + + + + + + + + + + + + + + + + + + fill:# + + + + + fill:url(#) + + + + stroke-width:;stroke:url(#) + + + + + + + rotate() + + + + + + + + + + + + + + + + + + + + # + + + + # + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/transform/transform - over.xslt ---------------------------------------------------------------------- diff --git a/fxg2svg/transform/transform - over.xslt b/fxg2svg/transform/transform - over.xslt new file mode 100644 index 0000000..1d68063 --- /dev/null +++ b/fxg2svg/transform/transform - over.xslt @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + 100% + + + none + + + + + + + + + + + + + + + + + + fill:# + + + + + fill:url(#) + + + + stroke-width:;stroke:url(#) + + + + + + + rotate() + + + + + + + + + + + + + + + + + + + + # + + + + # + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5253db01/fxg2svg/transform/transform.xslt ---------------------------------------------------------------------- diff --git a/fxg2svg/transform/transform.xslt b/fxg2svg/transform/transform.xslt new file mode 100644 index 0000000..924759b --- /dev/null +++ b/fxg2svg/transform/transform.xslt @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100% + + + 100% + + + none + + + + + + + + + + + + + + + + + + fill:# + + + + + fill:url(#) + + + + stroke-width:;stroke:url(#) + + + + + + + rotate() + + + + + + + + + + + + + + + + + + # + + + + + + + + + + + +