Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion foreignObject, SVG and well VML

Received: by 10.100.13.18 with SMTP id 18mr18052anm.3.1294952292386;
        Thu, 13 Jan 2011 12:58:12 -0800 (PST)
X-BeenThere: raphaeljs@googlegroups.com
Received: by 10.100.156.5 with SMTP id d5ls378633ane.1.p; Thu, 13 Jan 2011
 12:58:09 -0800 (PST)
Received: by 10.100.253.8 with SMTP id a8mr19795ani.0.1294952289754;
        Thu, 13 Jan 2011 12:58:09 -0800 (PST)
Received: by 10.100.253.8 with SMTP id a8mr19794ani.0.1294952289697;
        Thu, 13 Jan 2011 12:58:09 -0800 (PST)
Return-Path: <nadir.seen.f...@gmail.com>
Received: from mail-yw0-f47.google.com (mail-yw0-f47.google.com [209.85.213.47])
        by gmr-mx.google.com with ESMTPS id c13si142563anc.7.2011.01.13.12.58.08
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 13 Jan 2011 12:58:08 -0800 (PST)
Received-SPF: pass (google.com: domain of nadir.seen.f...@gmail.com designates 209.85.213.47 as permitted sender) client-ip=209.85.213.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of nadir.seen.f...@gmail.com designates 209.85.213.47 as permitted sender) smtp.mail=nadir.seen.f...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by ywi6 with SMTP id 6so648553ywi.20
        for <raphaeljs@googlegroups.com>; Thu, 13 Jan 2011 12:58:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:message-id:date:from:reply-to:user-agent
         :mime-version:to:subject:references:in-reply-to:content-type
         :content-transfer-encoding;
        bh=xHav2VHFeLlq/TpV3NR18OpNlvm+yAlUL34glDqQprI=;
        b=mOS/wPEsHpvAcP5UfSRjIQ2Op97RM5i/booeBmETHqLGFDcauPITzTlTJ32B8k+pRB
         HfGvdSZmHPXnhzP5FLUzXQzHu2kvc3kJ4Kvt7rTHRmlZyIjY3C/Q/ZyMv0lunWuXMF92
         sqF8LVNI9KrfqlMd7iCzrb8543n0gTO7JWQpA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:reply-to:user-agent:mime-version:to:subject
         :references:in-reply-to:content-type:content-transfer-encoding;
        b=dnKMOKfuYr99aHftd1qBByUcprEagylShB3rbpHLR37iLUbt4puTdkx9+n9FFqYoEG
         IbFRytciXmEnR9x145JNSo+pYg5/ASjovMqssMjSMOCdSVKFjY9TXhZbJqCA2pzmeph2
         MIKiY7fx8ItSXbGeQIdV1O5s2axYJk0E1mPBY=
Received: by 10.91.207.37 with SMTP id j37mr161364agq.184.1294952288234;
        Thu, 13 Jan 2011 12:58:08 -0800 (PST)
Return-Path: <nadir.seen.f...@gmail.com>
Received: from [192.168.0.198] (S0106001eec4a8147.vs.shawcable.net [96.48.209.185])
        by mx.google.com with ESMTPS id w4sm462065anw.16.2011.01.13.12.58.05
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 13 Jan 2011 12:58:06 -0800 (PST)
Message-ID: <4D2F675C.7040...@gmail.com>
Date: Thu, 13 Jan 2011 12:58:04 -0800
From: Daniel Friesen <nadir.seen.f...@gmail.com>
Reply-To: gm...@danielfriesen.name
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 ThunderBrowse/3.2.1.9 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: raphaeljs@googlegroups.com
Subject: Re: foreignObject, SVG and well VML
References: <20101118055043.GA4...@sanma.local> <2ADD4BF1-E3A9-4607-AD14-F9F627B14...@gmail.com> <20110110062912.GA1...@sanma.local> <0B89AC51-B983-475A-8DC2-CE85E4E2D...@gmail.com> <20110110065527.GA1...@sanma.local> <DA38C793-8C41-4F8B-A3AB-652F2DB8D...@gmail.com> <73857127-6716-4127-b01d-74ba8cc53...@f8g2000yqd.googlegroups.com>
In-Reply-To: <73857127-6716-4127-b01d-74ba8cc53...@f8g2000yqd.googlegroups.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

Have you tried using filter? Apparently, at least if you're wiling to do 
the matrix math in Raphael, it's possible to do transformations with 
ie's filters.
There was one library that managed to do it.
http://www.useragentman.com/blog/2010/03/09/cross-browser-css-transforms-even-in-ie/

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]

On 11-01-11 02:39 AM, Dmitry Baranovskiy wrote:
> Not in 2.0. I was about to include foreignObject support, but found
> two major issues:
> 1. In Opera scaling works really bad: scales text like bitmap, not
> like vector.
> 2. In VML you can�t apply transformations at all.
>
> Without transformations I found foreignObject on the edge of useless.
> You can always overlay Rapha�l surface with<div>.
>
> On 11 Jan, 18:28, Clifford Heath<clifford.he...@gmail.com>  wrote:
>> On 10/01/2011, at 5:55 PM, John Mettraux wrote:
>>
>>> On Mon, Jan 10, 2011 at 05:47:32PM +1100, Clifford Heath wrote:
>>>> It should be simple to change foreignObject to survive being called  
>>>> with
>>>> no element, and to return an empty parent object I can append to.
>>>> Does that request make sense to you?
>>> It does. For when do you need that ?
>> When you said "It does", I thought you meant "it does make sense". :)
>>
>> Just to follow up, I walked through your code and found it already
>> handles being called with no element. You can call foreignObject
>> and appendChild a new node afterward, or you can create a new
>> unattached node to pass to foreignObject. You probably knew that,
>> but it wasn't obvious to me.
>>
>> Dmitry, can I ask that John Mettraux' patch be incorporated into R2.0?
>>
>> Clifford Heath.