Re: Widget Icon behaviour...

2008-09-17 Thread Marcos Caceres

Hi Jochen,
On Wed, Sep 17, 2008 at 12:02 PM, Jochen Cichon [EMAIL PROTECTED] wrote:

 Hi,

 short question on the icons, inside the config.xml.
 (I know, that part is not yet written)

 It is possible to store more than one icon, but which icon is used?

 My thought was to have several icons in different sizes, or even an SVG icon
 (which is not a must for the widget UserAgent).

 Currently I'm unsure which icon is used, because the widget UA does
 understand gif, png and jpeg (maybe others).

 Given the following example (e.g. small is 32x32, large is 64x64, huge is
 128x128pixel. And svg is ... scaleable ;)

 widget ..
  icon src=icon.svg/
  icon src=small_icon.png/
  icon src=small_icon.gif/
  icon src=large_icon.jpg/
  icon src=huge_icon.jpg/
 /widget

 So for my point of view, the UA will need to find the size of an icon by
 reading the header or even the full image, or in the case of an svg say that
 it will scale to any resolution.

This is correct.

 But then the question which icon will have precedence?

Depends on the rendering context and media type. Please see:
http://dev.w3.org/2006/waf/widgets/#icons
http://dev.w3.org/2006/waf/widgets/#displaying

We are working on this text at the moment, so if it's still a bit
vague let us know and we will try to clarify it.

 Also from my point of view, the first icon will be used.
 So in the example above the PNG may look better than the GIF. (example)

Again, please see the links above.

-- 
Marcos Caceres
http://datadriven.com.au



Re: Widget Icon behaviour...

2008-09-17 Thread Jochen Cichon


Oh,

thanks for that quick response.

I looked up the two references, and found that svg will/should be 
prioritized before all others.


And that the UA needs to find out the correct size.

But as stated in the last line it is not clear which one the agent will 
choose if both have the same size.

Which basically means is
icon src=small_icon.png/
icon src=small_icon.gif/
the same as
icon src=small_icon.gif/
icon src=small_icon.png/
and the UA will choose PNG before GIF or is the xml order forcing th eUA 
to choose png. (which is my thought...)


Thanks, bye.

--
Jochen

Marcos Caceres wrote:

Hi Jochen,
On Wed, Sep 17, 2008 at 12:02 PM, Jochen Cichon [EMAIL PROTECTED] wrote:

Hi,

short question on the icons, inside the config.xml.
(I know, that part is not yet written)

It is possible to store more than one icon, but which icon is used?

My thought was to have several icons in different sizes, or even an SVG icon
(which is not a must for the widget UserAgent).

Currently I'm unsure which icon is used, because the widget UA does
understand gif, png and jpeg (maybe others).

Given the following example (e.g. small is 32x32, large is 64x64, huge is
128x128pixel. And svg is ... scaleable ;)

widget ..
 icon src=icon.svg/
 icon src=small_icon.png/
 icon src=small_icon.gif/
 icon src=large_icon.jpg/
 icon src=huge_icon.jpg/
/widget

So for my point of view, the UA will need to find the size of an icon by
reading the header or even the full image, or in the case of an svg say that
it will scale to any resolution.


This is correct.


But then the question which icon will have precedence?


Depends on the rendering context and media type. Please see:
http://dev.w3.org/2006/waf/widgets/#icons
http://dev.w3.org/2006/waf/widgets/#displaying

We are working on this text at the moment, so if it's still a bit
vague let us know and we will try to clarify it.


Also from my point of view, the first icon will be used.
So in the example above the PNG may look better than the GIF. (example)


Again, please see the links above.





Fwd: Regarding DOM 3 Tests Format

2008-09-17 Thread Garrett Smith

Hey Chaals, What makes you think that your pious and arrogant attitude
makes you a moderator?  You have no right to dictate what I can say.

And this:

Garrett Smith [EMAIL PROTECTED]
cc  Arthur Barstow [EMAIL PROTECTED],
Doug Schepers [EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED]

Is *not* Private mail.  Only you would know why you mailed multiple
people and called it private. I'm putting this on the list so we can
see what kind of person Chaals is.

It looks like you took it upon yourself to go out of your way to
describe me as inappropriate, accusatory, counter-productive and
attacking. You then asked me to stick to demonstrable facts.

We don't really know why you did this.   I pointed out the OP's
mistakes, asked him some questions, and followed with my opinion of
the relevance of YUI Test (Re Hallvord's Comments).  Nobody should
discourage code reviews. Especially not for code that is supposed to
be taken seriously.

Garrett

-- Forwarded message --
From: Charles McCathieNevile [EMAIL PROTECTED]
Date: Wed, Sep 17, 2008 at 5:33 AM
Subject: Re: Regarding DOM 3 Tests Format
To: Garrett Smith [EMAIL PROTECTED]
Cc: Arthur Barstow [EMAIL PROTECTED], Doug Schepers
[EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED]


Private mail:

On Wed, 17 Sep 2008 03:56:35 +0200, Garrett Smith
[EMAIL PROTECTED] wrote:

 On Thu, Aug 28, 2008 at 11:12 AM, Carmelo Montanez [EMAIL PROTECTED] wrote:

 Hi Folks:

 I am getting ready to submit a number of tests and wanted to get your
 feedback on format.  We already agreed
 on a template a few weeks back.  This follows on that format.  Just wanted
 to get your view before I go forward.
 See attached files.

 You obviously did not try running this in any browser.

Hi Garrett,

please refrain from making assumptions about what people do. Opening a
mail with an accusatory or attacking tone of this nature is
counter-productive, and therefore inappropriate for this working
group.

Please keep your comments to demonstrable facts and a more positive
tone in future.

thanks

Chaals

--
Charles McCathieNevile  Opera Software, Standards Group
   je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals   Try Opera 9.5: http://www.opera.com