Re: [whatwg] SRT research: separating cues

2011-10-25 Thread Simon Pieters
Cheers, Silvia. On Mon, Oct 24, 2011 at 6:26 PM, Simon Pieters wrote: I wanted to research how common it is to fail to separate cues in SRT, and for what reason. SRT parsers usually interpret a timings line as a new cue, while WebVTT wants two blank lines for a new cue. I took the 65k SRT files

[whatwg] SRT research: separating cues

2011-10-24 Thread Simon Pieters
aren't whitespace? It seems to be mostly just missing the newline completely. Some omitted the ID also. One file had a "|" between all cues. -- Simon Pieters Opera Software

Re: [whatwg] Fullscreen revision I

2011-10-20 Thread Simon Pieters
bVTT subtitles and native controls would get cropped too.) already shows the video with correct aspect ratio; it has default style object-fit:contain. would be stretched, though. We could make it object-fit:contain when it's the fullscreen element. -- Simon Pieters Opera Software

Re: [whatwg] SRT research: timestamps

2011-10-06 Thread Simon Pieters
On Thu, 06 Oct 2011 01:45:13 +0200, Ralph Giles wrote: On 05/10/11 10:22 AM, Simon Pieters wrote: I did some research on authoring errors in SRT timestamps to inform whether WebVTT parsing of timestamps should be changed. This is completely awesome, thanks for doing it. hours too many

Re: [whatwg] SRT research: timestamps

2011-10-06 Thread Simon Pieters
On Wed, 05 Oct 2011 23:07:17 +0200, Silvia Pfeiffer wrote: On Thu, Oct 6, 2011 at 4:22 AM, Simon Pieters wrote: I did some research on authoring errors in SRT timestamps to inform whether WebVTT parsing of timestamps should be changed. Our starting point was 70,000 files provided to

[whatwg] SRT research: timestamps

2011-10-05 Thread Simon Pieters
e appear to be just garbage. Too few or too many hours might not technically be an error, however it appeared that some of too many hours were cases where the line between the id and the timestamp was missing (and no whitespace between), e.g.: 34500:24:01,000 --> 00:24:03,000 The trailing garbage is mostly the line between the timestamp and the cue text being missing, e.g.: 00:00:01,000 --> 00:00:03,000Hello. -- Simon Pieters Opera Software

Re: [whatwg] [html5] r6630 - [giow] (0) Define navigating to video and audio resources Fixing http://www.w3.o [...]

2011-10-05 Thread Simon Pieters
+ Element for the media + Appropriate attribute + Image + img + src + Video + video + src + Audio + audio + src + video and audio should have controls="" and autoplay="" -- Simon Pieters Opera Software

Re: [whatwg] [html5] r6590 - [giow] (0) Explicitly disallow combining characters at the start of text nodes. [...]

2011-09-27 Thread Simon Pieters
would on most pages be filled in but on some pages is not relevant. + Text nodes must not begin with an + isolated combining character. [UNICODE] + Also ban them at the start of attribute values? -- Simon Pieters Opera Software

Re: [whatwg] window.onerror and cross-origin scripts

2011-09-23 Thread Simon Pieters
On Thu, 22 Sep 2011 16:02:30 +0200, Simon Pieters wrote: I was talking about window.onerror.

Re: [whatwg] window.onerror and cross-origin scripts

2011-09-22 Thread Simon Pieters
On Wed, 21 Sep 2011 19:36:23 +0200, Boris Zbarsky wrote: On 9/21/11 5:25 AM, Simon Pieters wrote: Oops. Bogus testing on my part. We do support

Re: [whatwg] window.onerror and cross-origin scripts

2011-09-21 Thread Simon Pieters
On Wed, 21 Sep 2011 08:16:41 +0200, Simon Pieters wrote: On Wed, 21 Sep 2011 05:02:47 +0200, Boris Zbarsky wrote: On 9/20/11 5:40 PM, Simon Pieters wrote: However, it is still possible to tell if the user is logged in or not if a site serves a script for a particular URL when the user

Re: [whatwg] window.onerror and cross-origin scripts

2011-09-20 Thread Simon Pieters
On Wed, 21 Sep 2011 05:02:47 +0200, Boris Zbarsky wrote: On 9/20/11 5:40 PM, Simon Pieters wrote: However, it is still possible to tell if the user is logged in or not if a site serves a script for a particular URL when the user is logged in and redirects to the home page or so when the user

[whatwg] window.onerror and cross-origin scripts

2011-09-20 Thread Simon Pieters
e should try to keep them to a minimum. Therefore we suggest that window.onerror should not be invoked at all for errors in cross-origin scripts. Thoughts? -- Simon Pieters Opera Software

Re: [whatwg] Proposal for improved handling of '#' inside of data URIs

2011-09-12 Thread Simon Pieters
On Mon, 12 Sep 2011 13:19:56 +0200, Simon Pieters wrote: If you have any test cases demonstrating where Opera doesn't follow the spec, that would be helpful in getting it fixed. Sorry I must have glossed over this part of your email: http://people.mozilla.org/~dholbert/dataURIHash

Re: [whatwg] Proposal for improved handling of '#' inside of data URIs

2011-09-12 Thread Simon Pieters
x27;t follow the spec, that would be helpful in getting it fixed. cheers -- Simon Pieters Opera Software

Re: [whatwg] [html5] r6088 - [e] (0) clarification Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12165

2011-09-09 Thread Simon Pieters
On Fri, 09 Sep 2011 00:09:39 +0200, Ian Hickson wrote: On Fri, 6 May 2011, Simon Pieters wrote: > Modified: source > === > --- source 2011-05-05 22:03:52 UTC (rev 6087) > +++ source 2011-05-05 22:45:13 U

Re: [whatwg] readystatechange for SCRIPT (Re: Feedback regarding script execution)

2011-09-08 Thread Simon Pieters
like to study some of the pages that break if they have both, though, to see if there's anything simpler we can do first. -- Simon Pieters Opera Software

Re: [whatwg] Empty elements

2011-08-29 Thread Simon Pieters
On Mon, 29 Aug 2011 12:17:29 +0200, Jukka K. Korpela wrote: 29.8.2011 13:10, Simon Pieters wrote: In which way is "void" better than "empty"? The sentence " is an empty element since it has no content, but p is not an empty element." is more confusing. Mo

Re: [whatwg] Empty elements

2011-08-29 Thread Simon Pieters
On Mon, 29 Aug 2011 12:02:49 +0200, Jukka K. Korpela wrote: 29.8.2011 12:24, Simon Pieters wrote: is an empty element since it has no content, but p is not a void element. All previous HTML and XML specs have used the term "empty element" tp denote an element for which

Re: [whatwg] Empty elements

2011-08-29 Thread Simon Pieters
ml+xml. This is getting rather confusing... I guess you chose the "HTML5" parser in validator.nu, which will not accept an XML MIME type (you need the XML parser for XML). I think the W3C validator doesn't have a way to choose between XML and HTML in "HTML5 mode", it will decide from the MIME type (dunno what it does for file upload). -- Simon Pieters Opera Software

Re: [whatwg] [editing] HTML Editing APIs specification ready for implementer feedback

2011-08-08 Thread Simon Pieters
den is not selectable in any current browsers, right? -- Simon Pieters Opera Software

Re: [whatwg] Using footer in blockquote for attribution

2011-07-01 Thread Simon Pieters
twg.org/specs/web-apps/current-work/multipage/links.html#common-idioms-without-dedicated-elements It's useful to be able to put the author info in its own element so that you can style it differently. -- Simon Pieters Opera Software

Re: [whatwg] Video feedback

2011-06-08 Thread Simon Pieters
hould be a dimensionchange event (but what's the use case for changing width/height mid-stream?). Does the spec support changes to text tracks mid-stream? -- Simon Pieters Opera Software

Re: [whatwg] [html5] r6178 - [e] (0) More notes about video.readyState.

2011-06-03 Thread Simon Pieters
is wrong if we say that the first frame is "metadata" as written a few lines above. When you have the first frame, readyState is HAVE_CURRENT_DATA. -- Simon Pieters Opera Software

[whatwg] websocket onerror Re: [html5] r6156 - [giow] (0) Update all the WebSocket terminology to match the next WSP draft.

2011-05-31 Thread Simon Pieters
een started [WSP] -Start the WebSocket closing handshake, with the +Start the WebSocket closing handshake, with the status code to use in the WebSocket Close message being 1001. [WSP] ___ Commit-Watchers mailing list commit-watch...@lists.whatwg.org http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org -- Simon Pieters Opera Software

Re: [whatwg] CORS requests for image and video elements

2011-05-19 Thread Simon Pieters
day, and changing that would break the Web. Rob http://www.w3.org/Bugs/Public/show_bug.cgi?id=12681 -- Simon Pieters Opera Software

Re: [whatwg] Interaction of and CSS white-space

2011-05-16 Thread Simon Pieters
On Mon, 16 May 2011 18:44:11 +0200, Boris Zbarsky wrote: On 5/16/11 11:27 AM, Simon Pieters wrote: IIRC Gecko matched the spec at the time wbr was specced. This testcase: Will thiswrap? does not wrap in Gecko 2.0, 1.9.2, 1.9.1, 1.9.0, or 1.8.1. Gecko 1.8.1 was released in October

Re: [whatwg] Interaction of and CSS white-space

2011-05-16 Thread Simon Pieters
is desirable? IIRC Gecko matched the spec at the time wbr was specced. Personally I don't mind changing the spec. -- Simon Pieters Opera Software

Re: [whatwg] ...

2011-05-16 Thread Simon Pieters
ppens to run in between then func is run twice. See http://www.w3.org/Bugs/Public/show_bug.cgi?id=12267 -- Simon Pieters Opera Software

Re: [whatwg] Specs for window.atob() and window.btoa()

2011-05-13 Thread Simon Pieters
input); // will throw if input has whitespace } catch (e) { try { var result= atob( input.replace(/\s/g, '') ); // will throw if input is not proper base64 } catch (e) { throw e; } } any better than : var result= atob(input); // will throw if input is not proper base64

Re: [whatwg] Pressing Enter in contenteditable: or or ?

2011-05-13 Thread Simon Pieters
nt thought is to demarcate lines with s consistently, only using when there are multiple line breaks in a row. This is unlike any current browser, since everyone uses at least for Shift-Enter. If this is the way we want to behave, then I'll also have commands normalize nearby s to s where it makes things easier, like I normalize other types of markup. Feedback appreciated. -- Simon Pieters Opera Software

Re: [whatwg] [html5] r6088 - [e] (0) clarification Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12165

2011-05-06 Thread Simon Pieters
" and "&" respectively. For xmp it should say "Use pre and code ..." since just code is not a drop-in replacement for xmp. -- Simon Pieters Opera Software

Re: [whatwg] [html5] r5928 - [acgiow] (0) Drop forminput and formchange events, and their associated machiner [...]

2011-03-04 Thread Simon Pieters
and onchange everywhere which makes them far less compelling. Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11129 - <ul> + <ul onchange="calculate(form)"> This wouldn't actually work right? Would need to be document.forms.pricecalc or so. -- Simon Pieters Opera Software

Re: [whatwg] [html5] r5883 - [giow] (2) Make a parser-inserted script not run if it is moved to another docum [...]

2011-02-14 Thread Simon Pieters
g.org/specs/web-apps/current-work/complete/the-end.html#the-execution-of-scripts-that-are-moving-across-multiple-documents need updating -- Simon Pieters Opera Software

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-08 Thread Simon Pieters
On Tue, 08 Feb 2011 10:28:15 +0100, Henri Sivonen wrote: On Feb 4, 2011, at 03:13, Jonas Sicking wrote: On Thu, Feb 3, 2011 at 4:45 PM, Kyle Simpson wrote: ?> One reason I like the noexecute proposal more than relying on readyState is that noexecute can be used in markup. I.e. you can do

Re: [whatwg] Cryptographically strong random numbers

2011-02-06 Thread Simon Pieters
on it, for now. FWIW, The pattern for worker-specific interfaces is to prepend "Worker" to the interface name, i.e. "WorkerCrypto". -- Simon Pieters Opera Software

Re: [whatwg] [html5] r5835 - [giow] (1) Make workers get the online and offline events also.

2011-02-05 Thread Simon Pieters
workers. -- Simon Pieters Opera Software

Re: [whatwg] Specs for window.atob() and window.btoa()

2011-02-04 Thread Simon Pieters
start to get annoyed, and we shouldn't be wasting it on things like this. (IMO as a non-implementer, anyway. My opinion doesn't actually carry any weight here, though. I'm just guessing what implementers will say.) -- Simon Pieters Opera Software

Re: [whatwg] ArrayBuffer and the structured clone algorithm

2011-02-01 Thread Simon Pieters
ff of ArrayBuffer, do you also keep in mind efficient handoff of other objects (e.g. ImageData) as discussed in this thread?: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-January/029885.html cheers -- Simon Pieters Opera Software

Re: [whatwg] HTML5 Video - Issue and Request for improvment

2011-01-31 Thread Simon Pieters
On Mon, 31 Jan 2011 14:26:49 +0100, Glenn Maynard wrote: On Mon, Jan 31, 2011 at 7:17 AM, Simon Pieters wrote: See http://lists.w3.org/Archives/Public/public-html/2009Jun/0395.html I suggested that the browser would not generate an event at all when using the native controls. Seemingly

Re: [whatwg] HTML5 Video - Issue and Request for improvment

2011-01-31 Thread Simon Pieters
wser would not generate an event at all when using the native controls. Seemingly there was no reply to Hixie's request for opinion from other implementors. -- Simon Pieters Opera Software

Re: [whatwg] WebWorkers and images

2011-01-15 Thread Simon Pieters
. But nothing too tricky (or with too much overhead.) --sigbjorn cheers, -- Simon Pieters Opera Software

Re: [whatwg] Web DOM Core feedback

2011-01-14 Thread Simon Pieters
case, not left undefined? Implementors wanted to have a choice on whether to cache or not to maximize performance while not "leaking memory". See thread starting at http://lists.w3.org/Archives/Public/public-webapps/2010JanMar/0250.html -- Simon Pieters Opera Software

Re: [whatwg] WebWorkers and images

2011-01-14 Thread Simon Pieters
our VM is structured. Restricting to objects with null prototype and no non-data properties has the slight problem that imagedata doesn't have a null prototype. Structured clone currently doesn't support Functions. -- Simon Pieters Opera Software

Re: [whatwg] Timed tracks: feedback compendium

2011-01-03 Thread Simon Pieters
with with no closing . Or we can say that nesting cues is not important enough to be supported, and make imply ? -- Simon Pieters Opera Software

Re: [whatwg] resource selection algorithm and NETWORK_NO_SOURCE

2010-12-10 Thread Simon Pieters
"video/webm") != "") { video.src = src + '.webm'; } else { video.src = src + '.mp4'; } } -Kevin You'd need to remove the elements to keep the document valid. The author might want to have more than two s, maybe with media="", onerro

Re: [whatwg] [html5] r5399 - [giow] (2) Define option.selected; make still get sel [...]

2010-12-08 Thread Simon Pieters
On Tue, 07 Dec 2010 23:13:13 +0100, Ian Hickson wrote: On Tue, 31 Aug 2010, Simon Pieters wrote: Maybe Choose one... should be allowed? I considered that, but since disabled options don't get selected, that wouldn't work without yet more special-casing. It gets selected in Oper

Re: [whatwg] CSS canvas() function

2010-12-02 Thread Simon Pieters
d just leave it at , > and and whitelist in more elements later if necessary. ? / seem to have roughly equivalent use-cases to (though perhaps we just want to encourage ). can contain fallback content which might get tricky. So can . never renders the fallback content. -- Simon Pieters Opera Software

Re: [whatwg] Javascript: URLs as element attributes

2010-11-30 Thread Simon Pieters
OBJECT None of those worked for me, even with the plugin (icedtea6-plugin) installed. How about code="" (or )? -- Simon Pieters Opera Software

Re: [whatwg] Exposing spelling/grammar suggestions in contentEditable

2010-11-29 Thread Simon Pieters
browsers yet and not used by Web content yet. -- Simon Pieters Opera Software

Re: [whatwg] question on @width and @height attributes on

2010-11-08 Thread Simon Pieters
On Mon, 08 Nov 2010 14:26:57 +0100, Anne van Kesteren wrote: On Mon, 08 Nov 2010 14:16:35 +0100, Simon Pieters wrote: On Mon, 08 Nov 2010 08:27:30 +0100, Silvia Pfeiffer wrote: seems to share the same fate, such that I am confused whether a percentage value on @width and @height

Re: [whatwg] question on @width and @height attributes on

2010-11-08 Thread Simon Pieters
On Mon, 08 Nov 2010 15:36:38 +0100, Silvia Pfeiffer wrote: On Tue, Nov 9, 2010 at 12:16 AM, Simon Pieters wrote: On Mon, 08 Nov 2010 08:27:30 +0100, Silvia Pfeiffer wrote: Hi all, I am staring at the @width and @height attributes of the element, because I have just noticed that the

Re: [whatwg] question on @width and @height attributes on

2010-11-08 Thread Simon Pieters
this is still a bug they will have to fix, and whether percentages are indeed correct withing the given specification. Seems like a bug. Thanks, Silvia. [1]http://www.w3.org/TR/2008/WD-WebIDL-20080829/#idl-unsigned-long Cheers, Silvia. -- Simon Pieters Opera Software

Re: [whatwg] [html5] r5671 - [e] (0) expand colloquial abbreviations

2010-11-08 Thread Simon Pieters
On Fri, 05 Nov 2010 21:10:50 +0100, wrote: + bidirectional algorithm may be implemented indirectly through the + style layer. For example, an HTML+CSS user agent should implement + these requirements by implementing the CSS 'unicode-bidi' property. + [CSS] s/should/could/

Re: [whatwg] Timed tracks: feedback compendium

2010-10-22 Thread Simon Pieters
and the time parsing in general can be made more sane. Do you think browsers will support vanilla SRT (i.e. ale5000-SRT) as well? -- Simon Pieters Opera Software

Re: [whatwg] Timed tracks: feedback compendium

2010-10-22 Thread Simon Pieters
On Fri, 22 Oct 2010 12:48:02 +0200, Silvia Pfeiffer wrote: On Fri, Oct 22, 2010 at 8:45 PM, Simon Pieters wrote: On Fri, 22 Oct 2010 11:21:44 +0200, Silvia Pfeiffer wrote: Since the attributes in are a hint, probably what is available in the file should overrule what is in the

Re: [whatwg] Timed tracks: feedback compendium

2010-10-22 Thread Simon Pieters
ous files is a different matter. Forbidding it would be the frustration. Consider editing a WebSRT file in Notepad, and then suddenly it doesn't work anymore. Instead we should allow the BOM. (WebSRT already allows the BOM.) -- Simon Pieters Opera Software

Re: [whatwg] Inline Web Worker

2010-10-16 Thread Simon Pieters
with the same data URL -- this could be solved while still supporting data URLs but we decided to just drop it for now). -- Simon Pieters Opera Software

Re: [whatwg] :invalid

2010-09-23 Thread Simon Pieters
e received and lost focus or its form has been tried to be submitted, or some such. Or I suppose we could just add a new pseudo-class that means the above. Are there cases when pages would set invalid default values and want them flagged as such in UI? -Boris -- Simon Pieters Opera Software

Re: [whatwg] Stream API feedback

2010-09-15 Thread Simon Pieters
on what we have been experimenting with here: https://labs.ericsson.com/blog/beyond-html5-conversational-voice-and-video-implemented-webkit-gtk br Nicklas Sandgren Cheers, -- Simon Pieters Opera Software

Re: [whatwg] Timed tracks: feedback compendium

2010-09-14 Thread Simon Pieters
other supported subtitle format MIME type) for , so a movie file would be rejected based on the MIME type per spec (see step 4 in #sourcing-out-of-band-timed-tracks). -- Simon Pieters Opera Software

Re: [whatwg] ArrayBuffer and ByteArray questions

2010-09-08 Thread Simon Pieters
orage. -- Simon Pieters Opera Software

Re: [whatwg] Differences between HTML5 Drafts

2010-09-08 Thread Simon Pieters
fts since it was too much work. However, there's http://www.w3.org/TR/html5-diff/#changelog -- Simon Pieters Opera Software

Re: [whatwg] ArrayBuffer and ByteArray questions

2010-09-08 Thread Simon Pieters
/trunk/public/webgl/doc/spec/TypedArray-spec.html - ~Chris cmar...@apple.com -- Simon Pieters Opera Software

Re: [whatwg] resource selection algorithm and NETWORK_NO_SOURCE

2010-09-01 Thread Simon Pieters
7;s the use case for type and media?). However it would fire an 'emptied' event for each that changed, which is kind of undesirable. Maybe the media element load algorithm should only be invoked if src is set or changed on a that has no previous sibling elements? -- Simon Pieters Opera Software

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-31 Thread Simon Pieters
On Mon, 30 Aug 2010 19:06:43 +0200, Aryeh Gregor wrote: On Mon, Aug 30, 2010 at 4:19 AM, Simon Pieters wrote: This change clashes with data-*. How? Are you missing the fact that *two* consecutive hyphens are needed? If a vendor is called "data", then data--feature beco

Re: [whatwg] [html5] r5399 - [giow] (2) Define option.selected; make still get sel [...]

2010-08-31 Thread Simon Pieters
. should be allowed? The spec allows Choose one...selected>Foo. Maybe it should require the label option to be selected by default (either implicitly or explicitly) when the select has required? The spec currently doesn't require there to be any select label option if the required a

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-30 Thread Simon Pieters
reserved for user agent use and are guaranteed to never be formally - added to the HTML language. + Attribute names containing two consecutive U+002D HYPHEN-MINUS + (-) characters are reserved for user agent use and are guaranteed to + never be formally added to the HTML language. Pages that use such attributes are by definition non-conforming. This change clashes with data-*. -- Simon Pieters Opera Software

Re: [whatwg] WebSockets feedback

2010-07-22 Thread Simon Pieters
On Thu, 22 Jul 2010 22:18:46 +0200, Ian Hickson wrote: On Thu, 22 Apr 2010, Simon Pieters wrote: WebSocket data framing [[ 8. If the frame type is 0xFF and the length was 0, then run the following substeps: ]] This will be true for 0xFF 0x80 0x00, or any number of leading 0x80 bytes

Re: [whatwg] Why not creating a category for elements candidate for constraint validation?

2010-07-20 Thread Simon Pieters
w category? I believe some elements have the API but are barred because it makes it easier to loop through form.elements and do the validation stuff without checking if the validation stuff is available on the element. (Same reason has .type.) -- Simon Pieters Opera Software

[whatwg] WebSocket restriction on the server's subprotocol

2010-07-20 Thread Simon Pieters
ould not have asked for any subprotocol, but the server can still respond with a subprotocol, and the connection will be accepted. Shouldn't the server have the same restriction as the client? -- Simon Pieters Opera Software

Re: [whatwg] postMessage's target origin argument can be a full URL in some implementations

2010-07-15 Thread Simon Pieters
On Thu, 15 Jul 2010 13:38:49 +0200, Boris Zbarsky wrote: On 7/15/10 3:40 AM, Simon Pieters wrote: The simple way to pass in the current origin, per spec, is to use the string "/". Sounds like yet another spec change? Gecko certainly doesn't support that, so it wasn't

Re: [whatwg] postMessage's target origin argument can be a full URL in some implementations

2010-07-15 Thread Simon Pieters
t;, a simple enough way to construct the origin is location.protocol+"//"+location.host. -- Simon Pieters Opera Software

Re: [whatwg] Collection garbage on WebSockets

2010-06-28 Thread Simon Pieters
On Mon, 28 Jun 2010 16:42:45 +0200, Wellington Fernando de Macedo wrote: Em 28/06/2010 11:28, Simon Pieters escreveu: * When at least one open or message events has been received, and there are close events listeners (the close event could be flagged as 'strong' in this ca

Re: [whatwg] Collection garbage on WebSockets

2010-06-28 Thread Simon Pieters
it makes sense or not. Thanks! Regards, Also see http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026400.html (we have implemented this policy). Cheers, -- Simon Pieters Opera Software

[whatwg] WebSocket error event

2010-06-22 Thread Simon Pieters
WebSocket data framing [[ Otherwise, let error be true. ]] It's not completely clear that this applies to all binary frames. -- Simon Pieters Opera Software

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

2010-06-14 Thread Simon Pieters
lt;/tt><pre style="margin: 0em;"> var ctx = e.target.getContext('2d'); ctx.clearRect(0, 0, e.target.width, e.target.height); ctx.fillText(mapping[e.keyCode], 20, 20); e.preventDefault(); } } In Opera, I can scroll using the arrow keys, navigate to th

Re: [whatwg] WebSocket set-cookie

2010-06-03 Thread Simon Pieters
On Fri, 07 May 2010 16:32:38 +0200, Simon Pieters wrote: establish a WebSocket connection [[ 41. ... If the entry's name is "set-cookie" or "set-cookie2" or another cookie-related field name If the relevant specification is supported by the user agent, handle the

Re: [whatwg] "entry script"

2010-06-02 Thread Simon Pieters
On Wed, 02 Jun 2010 13:31:28 +0200, Perry Smith wrote: Sorry for the repeat message... But "entry script" is a rather fundamental concept in web workers and its not defined as far as I can tell. Can someone tell me where and how its defined? I don't see how "entry script" is set, when it

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-27 Thread Simon Pieters
On Thu, 13 May 2010 16:47:34 +0200, Simon Pieters wrote: On Wed, 12 May 2010 20:01:11 +0200, Ojan Vafai wrote: On Wed, May 12, 2010 at 4:31 AM, Simon Pieters wrote: establishing a WebSocket connection: [[ Note: There is no limit to the number of established WebSocket connections a

Re: [whatwg] Canvas and Image problems

2010-05-24 Thread Simon Pieters
On Mon, 24 May 2010 04:48:32 +0200, Marius Gundersen wrote: You could also add a listener to the image to check that it actually loads: If you want to paint the first frame of a video, listen for the loadeddata event. -- Simon Pieters Opera Software

Re: [whatwg] CSS2 system colors in legacy color values

2010-05-23 Thread Simon Pieters
port them, I think WebKit and IE. and do they respond to dynamic changes properly? I don't know. It appears that Opera and Gecko don't support system colors. I wouldn't mind not supporting them, but it could be interesting to research how many pages it affects. -- Simon Pieters Opera Software

[whatwg] WebSocket: host in server's handshake

2010-05-21 Thread Simon Pieters
ts to multiple hosts (e.g. in a virtual hosting environment), then the value should be derived from the client's handshake, specifically from the "Host" field. ]] This should say that the host is expected to be lowercase for comparison purposes with the value of the Host field. --

Re: [whatwg] Video with MIME type application/octet-stream

2010-05-20 Thread Simon Pieters
id or why the specific handling was chosen. -- Simon Pieters Opera Software

Re: [whatwg] Video with MIME type application/octet-stream

2010-05-20 Thread Simon Pieters
On Thu, 20 May 2010 18:44:12 +0200, David Singer wrote: Did anyone revise the registration of application/octet-stream to add parameters? No. It's just error handling. -- Simon Pieters Opera Software

Re: [whatwg] Video with MIME type application/octet-stream

2010-05-20 Thread Simon Pieters
On Thu, 20 May 2010 12:46:16 +0200, Simon Pieters wrote: On Thu, 20 May 2010 12:36:36 +0200, Simon Pieters wrote: On Thu, 20 May 2010 11:55:01 +0200, Robert O'Callahan wrote: I just became aware that application/octet-stream is excluded from being a type "the user agen

Re: [whatwg] Video with MIME type application/octet-stream

2010-05-20 Thread Simon Pieters
On Thu, 20 May 2010 12:36:36 +0200, Simon Pieters wrote: On Thu, 20 May 2010 11:55:01 +0200, Robert O'Callahan wrote: I just became aware that application/octet-stream is excluded from being a type "the user agent knows it cannot render". http://www.whatwg.org/specs/w

Re: [whatwg] Video with MIME type application/octet-stream

2010-05-20 Thread Simon Pieters
t was the motivation for adding this implementation requirement? Thanks, Rob -- Simon Pieters Opera Software

Re: [whatwg] WebSocket: garbage collection

2010-05-20 Thread Simon Pieters
On Thu, 06 May 2010 17:20:41 +0200, Simon Pieters wrote: On Tue, 20 Apr 2010 16:00:36 +0200, Simon Pieters wrote: [[ WebSocket object with an open connection must not be garbage collected if there are any event listeners registered for message events. ]] Shouldn't it also n

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-13 Thread Simon Pieters
On Wed, 12 May 2010 20:51:59 +0200, Michael Nordman wrote: On Wed, May 12, 2010 at 4:31 AM, Simon Pieters wrote: establishing a WebSocket connection: [[ Note: There is no limit to the number of established WebSocket connections a user agent can have with a single remote host. Servers

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-13 Thread Simon Pieters
On Wed, 12 May 2010 20:01:11 +0200, Ojan Vafai wrote: On Wed, May 12, 2010 at 4:31 AM, Simon Pieters wrote: establishing a WebSocket connection: [[ Note: There is no limit to the number of established WebSocket connections a user agent can have with a single remote host. Servers can

[whatwg] WebSockets: what to do when there are too many open connections

2010-05-12 Thread Simon Pieters
have closed. Otherwise, I think we should force close the oldest WebSocket. -- Simon Pieters Opera Software

[whatwg] WebSocket set-cookie

2010-05-07 Thread Simon Pieters
. ]] At this point, the handshake can still fail. It seems bad to set cookies if the handshake fails. We want to process set-cookie when the handshake has succeeded (but before changing readyState and firing 'open'). -- Simon Pieters Opera Software

[whatwg] WebSocket handshake: 0x0D in first "line"

2010-05-07 Thread Simon Pieters
handshake. Maybe we should read ahead to the first 0x0D byte and check if the next byte is 0x0A instead. -- Simon Pieters Opera Software

Re: [whatwg] WebSocket: garbage collection

2010-05-06 Thread Simon Pieters
On Tue, 20 Apr 2010 16:00:36 +0200, Simon Pieters wrote: [[ WebSocket object with an open connection must not be garbage collected if there are any event listeners registered for message events. ]] Shouldn't it also not be garbage collected if there are listeners for open, erro

[whatwg] WebSockets cookies

2010-05-04 Thread Simon Pieters
, comments, escapes... Also, does it say to add a single entry to fields with all headers or one entry per header? -- Simon Pieters Opera Software

[whatwg] WebSocket closing handshake

2010-04-30 Thread Simon Pieters
be discarded by the client. ]] s/to the server/to the client/ -- Simon Pieters Opera Software

Re: [whatwg] WebSocket leading 0x80 bytes in length

2010-04-28 Thread Simon Pieters
On Wed, 28 Apr 2010 10:15:13 +0200, Simon Pieters wrote: The WebSocket spec allows leading 0x80 bytes in the length of a binary frame. Such bytes do not change the value of the length. In order to not have to deal with ridiculous cases such as when there are 50k such bytes, we would want

[whatwg] WebSocket leading 0x80 bytes in length

2010-04-28 Thread Simon Pieters
. Allowing it also complicates the check of the closing handshake (if we want 0xFF 0x80 0x00 to not count as a closing handshake). -- Simon Pieters Opera Software

[whatwg] WebSocket opening handshake, when to bail out

2010-04-23 Thread Simon Pieters
x27;re all received. We'd like to wait with processing them until we have them all. (This feedback makes the earlier feedback about moving processing of fields with empty name moot.) -- Simon Pieters Opera Software

<    1   2   3   4   5   6   7   8   >