Re: [whatwg] article/section/details naming/definition problems

2009-09-16 Thread Gordon P. Hemsley
I'd sent this earlier, but it got caught in the message queue that apparently nobody checks. Let's see if it works this time. -- Forwarded message -- From: Gordon P. Hemsley gphems...@gmail.com Date: Tue, Sep 15, 2009 at 11:31 PM Subject: Re: [whatwg] article/section/details

Re: [whatwg] [html5] r4029 - [e] (0) Example of section use without article.

2009-09-29 Thread Gordon P. Hemsley
programme with two sections, one for the + list of people graduating, and one for the description of the + ceremony./p + + prelt;!DOCTPE Htmlgt; s/DOCTPE/DOCTYPE/ -- Simon Pieters Opera Software -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org

Re: [whatwg] [html5] r4029 - [e] (0) Example of section use without article.

2009-09-29 Thread Gordon P. Hemsley
Ah. I was afraid you might say that. On Tue, Sep 29, 2009 at 6:54 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 29 Sep 2009, Gordon P. Hemsley wrote: s/Html/html/ Actually that was intentional in that example. I like to show a variety of syntaxes so that people can see that they can do

Re: [whatwg] the cite element

2009-10-06 Thread Gordon P. Hemsley
zone that will lead to an amicable resolution of this long debate. Regards, Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/ http://sasha.sourceforge.net/ • http://www.yoursasha.com/

Re: [whatwg] the cite element

2009-10-06 Thread Gordon P. Hemsley
On Tue, Oct 6, 2009 at 4:15 PM, Erik Vorhes e...@textivism.com wrote: On Tue, Oct 6, 2009 at 2:52 PM, Gordon P. Hemsley gphems...@gmail.com wrote: I also propose allowing parenthetical citations and footnote markers (as is used in the various W3C/WHATWG specifications) to also be marked up

Re: [whatwg] % text % and ? text ? in corporate intranet html content

2010-02-15 Thread Gordon P. Hemsley
/show_bug.cgi?id=477455 Parser does not wait for ? to close blocks that begin with ? (Incidentally, Hixie didn't care all that much. :) ) Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/ http://sasha.sourceforge.net/ • http://www.yoursasha.com/

Re: [whatwg] Is there a way to stop scrolling when pressing directional arrows?

2010-06-14 Thread Gordon P. Hemsley
the focus of all my key presses making it almost impossible to navigate using only the keyboard. You could use Javascript to put the focus onto an object, capture all the key presses on that and return false for them all maybe. Thanks, Ash http://www.ashleysheridan.co.uk -- Gordon P

Re: [whatwg] select element should have a required attribute

2010-06-18 Thread Gordon P. Hemsley
as an option is always there (unless someone has been stupid enough to create an empty select list.) As such, some sort of value will always be sent. Thanks, Ash http://www.ashleysheridan.co.uk -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog

[whatwg] Proposal: @srctype or @type on iframe

2010-07-13 Thread Gordon P. Hemsley
of @type. Thoughts? Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/ http://sasha.sourceforge.net/ • http://www.yoursasha.com/

Re: [whatwg] Proposal: @srctype or @type on iframe

2010-07-13 Thread Gordon P. Hemsley
...@dieweltistgarnichtso.net wrote: Gordon P. Hemsley gphems...@gmail.com schrieb am Tue, 13 Jul 2010 02:31:19 -0400: It should not be assumed that whatever resource included via iframe is going to be of type 'text/html' or another easily parsable type. Thus, it could be helpful for the author to give

Re: [whatwg] Proposal: @srctype or @type on iframe

2010-07-13 Thread Gordon P. Hemsley
On Tue, Jul 13, 2010 at 3:26 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 7/12/10 11:31 PM, Gordon P. Hemsley wrote: The particular use case that prompted me to think about this is including a PDF via iframe. In Firefox (last I checked), one is required to install a separate add-on in order

Re: [whatwg] base64 entities

2010-08-27 Thread Gordon P. Hemsley
PHP 5.2 or higher with new technology.[1] Regards, Gordon [1] See also: http://gophp5.org/ -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/ http://sasha.sourceforge.net/ • http://www.yoursasha.com/

[whatwg] [wiki] The WHATWG Wiki has been upgraded

2012-10-28 Thread Gordon P. Hemsley
/index.php?title=Special:ListUsersgroup=autoconfirmed Happy wikiing! Gordon P.S. If you think you should be a permanent autoconfirmed member (and you're not), ping me on IRC or drop me a line off-list and I'll see what I can do. ;) -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http

[whatwg] [mimesniff] Review requested on MIME Sniffing Standard

2012-11-05 Thread Gordon P. Hemsley
the general bug here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=19746 And if you want to follow the commits as they happen, you can follow @mimesniff on Twitter: https://twitter.com/mimesniff Thanks! Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http

Re: [whatwg] [mimesniff] Review requested on MIME Sniffing Standard

2012-11-12 Thread Gordon P. Hemsley
for the review! -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] Proposal for a debugging information API

2012-11-14 Thread Gordon P. Hemsley
, and the merits of this particular approach. https://docs.google.com/document/pub?id=1pw2Bzvy6OEn8YY3fAcZiReJPmgB79swkx-NJAdcemPk Thanks! -Dave -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

[whatwg] [mimesniff] The X-Content-Type-Options header

2012-11-16 Thread Gordon P. Hemsley
have any questions, comments, or objections about this issue? -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

[whatwg] [mimesniff] Audio and video sniffing

2012-11-26 Thread Gordon P. Hemsley
if it would make sense to combine audio and video sniffing under a single audiovisual category? This would affect the matching audio/video type pattern sections and the sniffing audio/video specifically sections. Any objections? Other thoughts? -- Gordon P. Hemsley m...@gphemsley.org http

[whatwg] [mimesniff] Handling container formats like Ogg

2012-11-26 Thread Gordon P. Hemsley
and what might have to be done with MP3 files without ID3 tags). Would this be something UAs would prefer to handle in their Ogg library, or should I spec it as part of sniffing? -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Handling container formats like Ogg

2012-11-27 Thread Gordon P. Hemsley
On Tue, Nov 27, 2012 at 4:39 AM, Henri Sivonen hsivo...@iki.fi wrote: On Tue, Nov 27, 2012 at 12:59 AM, Gordon P. Hemsley gphems...@gmail.com wrote: Would this be something UAs would prefer to handle in their Ogg library, or should I spec it as part of sniffing? What would be the use case

Re: [whatwg] [mimesniff] Audio and video sniffing

2012-11-27 Thread Gordon P. Hemsley
2012 23:38:02 +0100, Gordon P. Hemsley gphems...@gmail.com wrote: Upon looking through the code for Gecko's media sniffing, I noticed that they seem to combine sniffing for audio and video elements. Given that Opera has said that it uses the specific sniffing algorithms, and that some media

[whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-28 Thread Gordon P. Hemsley
-scriptable flag unset? Are there other options here? I haven't checked what UAs actually do in practice, but I don't believe the spec currently allows anything but leaving resources tagged as 'application/octet-stream' as they are. -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http

Re: [whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-28 Thread Gordon P. Hemsley
On Thu, Nov 29, 2012 at 1:30 AM, Gordon P. Hemsley gphems...@gmail.com wrote: Based on my reading of the source code, it seems that Gecko treats a resource served as 'application/octet-stream' as an unknown type which is sniffed as if no Content-Type was specified. Oh, wait, I forgot what I

Re: [whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-29 Thread Gordon P. Hemsley
On Thu, Nov 29, 2012 at 2:32 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/29/12 2:07 AM, Gordon P. Hemsley wrote: So perhaps a more useful question would be what to do in situations like that—should mimesniff treat application/octet-stream as a type supported by the browser

Re: [whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-29 Thread Gordon P. Hemsley
On Thu, Nov 29, 2012 at 3:02 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/29/12 2:53 AM, Gordon P. Hemsley wrote: At one point it says, The MIME type application/octet-stream with no parameters is never a type that the user agent knows it cannot render. User agents must treat that type

Re: [whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-29 Thread Gordon P. Hemsley
? Or is this conversation moot now? -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Sniffing archives

2012-11-29 Thread Gordon P. Hemsley
To be clear, I'm asking this because I would like to remove the sniffing of archive types from the mimesniff spec if there aren't any valid usecases. On Wed, Nov 28, 2012 at 12:18 PM, Gordon P. Hemsley gphems...@gmail.com wrote: The mimesniff spec currently includes signatures for ZIP, gzip

Re: [whatwg] [mimesniff] Treating application/octet-stream as unknown for sniffing

2012-11-29 Thread Gordon P. Hemsley
On Thu, Nov 29, 2012 at 2:30 PM, Adam Barth w...@adambarth.com wrote: On Wed, Nov 28, 2012 at 10:30 PM, Gordon P. Hemsley gphems...@gmail.com wrote: Based on my reading of the source code, it seems that Gecko treats a resource served as 'application/octet-stream' as an unknown type which

Re: [whatwg] [mimesniff] Sniffing archives

2012-12-04 Thread Gordon P. Hemsley
automatically downloads any file it can't handle. (2) If you allow Safari to open safe files that it downloads, ZIP appears to be one of them. Gzip and RAR, however, do not. So this isn't the most convincing argument. -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http

Re: [whatwg] [mimesniff] Sniffing archives

2012-12-05 Thread Gordon P. Hemsley
it to the user. http://mimesniff.spec.whatwg.org/#supported-by-the-user-agent -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] use of article to markup comments

2013-01-28 Thread Gordon P. Hemsley
piece of content ranging from a one sentence comment to an article containing thousands of words or an interactive widget. regards SteveF -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-03 Thread Gordon P. Hemsley
. Wouldn't you say that some FOOist is writing very obscurely? Besides, the spelling is HTML 4. Especially if you think HTML 4 is ancient history, retain the historical spelling. Yucca -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-03 Thread Gordon P. Hemsley
] explains why it uses HTML in the title as opposed to HTML5 or HTML(5). --Xaxio References: [1] http://html-differences.whatwg.org/#scope On Fri, May 3, 2013 at 11:16 AM, Gordon P. Hemsley gphems...@gmail.com wrote: The way I interpreted it, Jukka meant that the title could be something

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-07 Thread Gordon P. Hemsley
. -- Simon Pieters Opera Software -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] Priority between a download and content-disposition

2013-05-07 Thread Gordon P. Hemsley
to meaningfully protect downloaded content. So I think a stronger UI warning is needed in this scenario. Firefox currently doesn't support cross-origin @download references, so I don't have any meaningful implementation experience to share regarding that scenario. / Jonas -- Gordon P. Hemsley m

Re: [whatwg] Priority between a download and content-disposition

2013-05-08 Thread Gordon P. Hemsley
On Tue, May 7, 2013 at 10:18 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/7/13 5:54 PM, Gordon P. Hemsley wrote: A @download attribute with a value would override both factors, like so: (1) Download it. (2) A.txt Why? You say this as if it were obvious, but it's not obvious to me at all

Re: [whatwg] Priority between a download and content-disposition

2013-05-08 Thread Gordon P. Hemsley
On Wed, May 8, 2013 at 9:43 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/8/13 6:53 AM, Gordon P. Hemsley wrote: It's not clear to me which of the two factors you take issue with. The question of which filename takes priority. The second sentence very clearly suggests that A.txt would

Re: [whatwg] Priority between a download and content-disposition

2013-05-08 Thread Gordon P. Hemsley
On Wed, May 8, 2013 at 12:01 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/8/13 10:45 AM, Gordon P. Hemsley wrote: I still think @download takes priority. The Content-Disposition header says, Nevermind what filename the URL shows; this is really file B.txt. The @download attribute says

Re: [whatwg] Priority between a download and content-disposition

2013-05-08 Thread Gordon P. Hemsley
On Wed, May 8, 2013 at 12:21 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/8/13 12:15 PM, Gordon P. Hemsley wrote: Perhaps. But maybe I'm not clear on what exactly the alternate proposal is. Are you suggesting not supporting the @download attribute? Or just ignoring it when Content

Re: [whatwg] An alternative approach to section 9 of Mime Sniffing

2013-05-23 Thread Gordon P. Hemsley
. --- I would appreciate comments. --Peter -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] An alternative approach to section 9 of Mime Sniffing

2013-05-25 Thread Gordon P. Hemsley
more readable is appropriate (though it currently is relatively readable as is). I'll leave that to Gordon. -- http://annevankesteren.nl/ -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Complete MIME type parsing algorithm for section 5

2013-05-25 Thread Gordon P. Hemsley
to the parameters dictionary. --- -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Complete MIME type parsing algorithm for section 5

2013-05-25 Thread Gordon P. Hemsley
you've proposed here, but in the meantime: Keep in mind that the Content-Type header is not the only source for a MIME type. This algorithm needs to consider MIME types from all possible sources. -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

[whatwg] [mimesniff] Review request: Parsing a MIME type

2013-05-31 Thread Gordon P. Hemsley
parameter of the same name. I think those are the important points of background information you need to know in order to evaluate this algorithm. I look forward to your response. Regards, Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Review request: Parsing a MIME type

2013-06-01 Thread Gordon P. Hemsley
. Regards, Gordon -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] [mimesniff] Review request: Parsing a MIME type

2013-06-01 Thread Gordon P. Hemsley
On Sat, Jun 1, 2013 at 11:41 AM, Gordon P. Hemsley gphems...@gmail.com wrote: On Fri, May 31, 2013 at 11:50 PM, Peter Occil pocci...@gmail.com wrote: * The word base64 can only appear at the end of the MIME type, so that a data URL like data:application/example;base64;foo=bar,AA

Re: [whatwg] [mimesniff] More issues on the MIME Sniffing spec

2013-06-06 Thread Gordon P. Hemsley
]: https://bugzilla.mozilla.org/show_bug.cgi?id=879429 I'm aware of this. I was told that a proposal would be made in due course, so I'm waiting on that. -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/ • http://gphemsley.org/blog/

Re: [whatwg] Zip archives as first-class citizens

2013-08-28 Thread Gordon P. Hemsley
://whatwg.gphemsley.org/url_test.php?file=test.zipspacer=1#/example.html#middle Then you could also take the opportunity to spec the #! prefix (and other hash-combo prefixes) that is used by a lot of sites nowadays. -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/

Re: [whatwg] [mimesniff] The Apache workaround should not sniff random types

2013-11-16 Thread Gordon P. Hemsley
it currently requires. -Boris I'm inclined to agree. Having heard no objection (or, indeed, any discussion whatsoever) in the last 3 months, I plan to move ahead with this proposed change. Anyone else have anything to say before I do? -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/

Re: [whatwg] [mimesniff] The Apache workaround should not sniff random types

2014-01-16 Thread Gordon P. Hemsley
it currently requires. -Boris I have finally made this change. Please confirm that this is what you had in mind: https://github.com/whatwg/mimesniff/commit/d7bafc16ee480a5dea4c27d60dd5272388e022ce http://mimesniff.spec.whatwg.org/#rules-for-text-or-binary -- Gordon P. Hemsley m...@gphemsley.org

Re: [whatwg] How to determine content-type of file: protocol

2014-07-27 Thread Gordon P. Hemsley
://mimesniff.spec.whatwg.org/#context-specific-sniffing -- Gordon P. Hemsley m...@gphemsley.org http://gphemsley.org/

Re: [whatwg] How to determine content-type of file: protocol

2014-07-28 Thread Gordon P. Hemsley
On 07/28/2014 08:01 AM, duanyao wrote: On 07/28/2014 06:34, Gordon P. Hemsley wrote: Sorry for the delay in responding. Your message fell through the cracks in my e-mail filters. On 07/17/2014 08:26 AM, duanyao wrote: Hi, My first question is about a rule in MIME Sniffing specification (http