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
Minor change to draft API
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
James Hawkins  
View profile  
 More options Nov 5 2011, 2:49 pm
From: James Hawkins <jhawk...@chromium.org>
Date: Sat, 5 Nov 2011 11:49:48 -0700
Local: Sat, Nov 5 2011 2:49 pm
Subject: Minor change to draft API

I made a slight change to the draft API at [1].  I modified the |type|
attribute to be a ContentTypes instead of ContentType.

ContentTypes [2] is a comma-separated list of media types.

One use case for this change is an image editor that would ideally register
for image/* but cannot due to limitations in the libraries used to
encode/decode images; therefore, they will now register for, e.g.,
"image/png, image/jpeg"

[1]
https://sites.google.com/a/chromium.org/dev/developers/design-documen...
[2] http://www.w3.org/TR/html4/sgml/dtd.html#ContentTypes

Thanks,
James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Kinlan  
View profile  
 More options Nov 5 2011, 5:36 pm
From: Paul Kinlan <paulkin...@google.com>
Date: Sat, 5 Nov 2011 21:36:48 +0000
Local: Sat, Nov 5 2011 5:36 pm
Subject: Re: Minor change to draft API

This is Cool.  If this is represented in the DOM as a DOMTokenList then it
should space separated?

--
Paul Kinlan
Developer Advocate @ Google for Chrome and HTML5
G+: http://plus.ly/paul.kinlan
t: +447730517944
tw: @Paul_Kinlan
LinkedIn: http://uk.linkedin.com/in/paulkinlan
Blog: http://paul.kinlan.me
Skype: paul.kinlan

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Hawkins  
View profile  
 More options Nov 6 2011, 11:33 am
From: James Hawkins <jhawk...@chromium.org>
Date: Sun, 6 Nov 2011 08:33:59 -0800
Local: Sun, Nov 6 2011 11:33 am
Subject: Re: Minor change to draft API

Rachel suggested DOMTokenList, which prompted me to go in and change the
draft; however, I noticed that [2] already had a list version of MIME
types, so I think it's probably best to not create a new version of 'list
of MIME types'.  Does DOMTokenList definitely not work with CSV?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rachel Blum  
View profile  
 More options Nov 6 2011, 8:22 pm
From: Rachel Blum <gr...@google.com>
Date: Sun, 6 Nov 2011 17:22:05 -0800
Local: Sun, Nov 6 2011 8:22 pm
Subject: Re: Minor change to draft API

Yep - DOMTokenList is space-separated only. I'm not sure the IDL natively
supports lists of comma-separated items, so I guess it would become a
simple string type.

Rachel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »