[whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-17 Thread Roger Hågensen
I searched the list, and looked at the HTML5 briefly and found nothing, nor can I ever recall such. So this is both a question and a proposal. On my own site currently I mostly replicate the first paragraph of an article in my journal as the meta description, and write one up for other pages,

Re: [whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-18 Thread Roger Hågensen
On 2010-03-18 03:37, Roger Hågensen wrote: I know, replying to myself is a big no-no... *cough* I searched the list, and looked at the HTML5 briefly and found nothing, nor can I ever recall such. So this is both a question and a proposal. On my own site currently I mostly replicate the first

[whatwg] Prevent abuse of data-*

2010-03-18 Thread Roger Hågensen
On 2010-03-17 17:28, Jonas Sicking wrote: >>/ I'm wondering if data-* attributes should be renamed to priv-* to make />>/ it clearer that it's page's _private_ data. />>/ />>/ "data-" is such a nice generic prefix that I'm afraid sooner or later />>/ someone will start basing microformats-lik

Re: [whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-19 Thread Roger Hågensen
On 2010-03-18 10:04, Ashley Sheridan wrote: The main problem with that would be that parsers would then need to read into the of the page to produce a description of your site. This might not produce much of an overhead on a one-off basis, but imagine a parser that is grabbing the description

Re: [whatwg]

2010-03-19 Thread Roger Hågensen
On 2010-03-18 13:13, Julian Reschke wrote: On 18.03.2010 03:37, Roger Hågensen wrote: I searched the list, and looked at the HTML5 briefly and found nothing, nor can I ever recall such. So this is both a question and a proposal. On my own site currently I mostly replicate the first paragraph

Re: [whatwg]

2010-03-19 Thread Roger Hågensen
her content perhaps. More content here. Author: Roger Hågensen on 18th March 2010 at 8 o'clock. © Roger Hågensen 2010 Keywords: href="http://example.com/tag/Example/";>Example, href="http://example.com/tag/Meta/";>Meta, href="http://example.com/tag/HTML5/";

Re: [whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-19 Thread Roger Hågensen
On 2010-03-19 15:17, Ashley Sheridan wrote: Search engines and people are not the only content parsers. Sure, you would expect a parser to maybe look further into the content if the description meta tag was missing, but imagine if a parser had to do this for all the content it looked at? There

Re: [whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-19 Thread Roger Hågensen
On 2010-03-19 15:43, Ashley Sheridan wrote: On Fri, 2010-03-19 at 15:43 +0100, Roger Hågensen wrote: On 2010-03-19 15:17, Ashley Sheridan wrote: > Search engines and people are not the only content parsers. Sure, you > would expect a parser to maybe look further into the content

Re: [whatwg] tag to help avoid redundancy of meta description tag!?

2010-03-20 Thread Roger Hågensen
On 2010-03-19 17:19, Roger Hågensen wrote: On 2010-03-19 15:43, Ashley Sheridan wrote: On Fri, 2010-03-19 at 15:43 +0100, Roger Hågensen wrote: On 2010-03-19 15:17, Ashley Sheridan wrote: > I just feel that the and areas of a page have two > distinct uses, and unnecessary cros

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread Roger Hågensen
On 2010-03-24 12:54, Henri Sivonen wrote: I tried to test if the top 4 browser engines have a hard limit on the length of attribute values in their HTML parsers. If they do, it's somewhere over 6.5 million characters. Does any one of the top 4 browser engines have a hard limit that is higher t

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread Roger Hågensen
On 2010-03-24 21:28, Boris Zbarsky wrote: On 3/24/10 4:20 PM, Roger Hågensen wrote: Obviously it would be silly with 6.5MiB attributes as I'd certainly believe that to be a bug or broken tags myself if encountered. Or an SVG path... I've certainly seen SVG files with multi-megabyte

Re: [whatwg] A plea to Hixie to adopt

2012-11-09 Thread Roger Hågensen
On 2012-11-07 23:41, Ian Hickson wrote: On Thu, 8 Nov 2012, Ben Schwarz wrote: What does concern me, as a web builder, *every day*, is how I markup the content in-between a and a . If you just want it for styling purposes, is perfect. h1, h2, p time, a.permalink Exactly like that (or ev

Re: [whatwg] A plea to Hixie to adopt , and main element parsing behaviour

2012-11-09 Thread Roger Hågensen
On 2012-11-08 10:51, Steve Faulkner wrote: What the relevant new data clearly indicates is that in approx 80% of cases when authors identify the main area of content it is the part of the content that does not include header, footer or navigation content. It also indicates that where skip links

[whatwg] header body footer

2012-11-09 Thread Roger Hågensen
Starting a new subject on this to keep the email threads more clear: Suggestion is that the following should be possible, this would allow to act as if it was a . header and footer outside body body {border:1em solid #7f2424;} header {border:1em solid #247f24;} footer {border:1em solid #242

Re: [whatwg] Priority between and content-disposition

2013-03-19 Thread Roger Hågensen
On 2013-03-18 13:50, Bjoern Hoehrmann wrote: * Jonas Sicking wrote: It's currently unclear what to do if a page contains markup like if the resource at audio.wav responds with either 1) Content-Disposition: inline 2) Content-Disposition: inline; filename="B.txt" 3) Content-Disposition: attachm

Re: [whatwg] Priority between and content-disposition

2013-03-19 Thread Roger Hågensen
On 2013-03-19 15:31, Nils Dagsson Moskopp wrote: Roger Hågensen schrieb am Tue, 19 Mar 2013 14:31:15 +0100: […] What should be shown if there is an issue/conflict? Maybe: Download "https://example.com/reports/1/xml/"; as "report1.xml" ? WARNING! File identified

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-20 Thread Roger Hågensen
On 2013-03-20 10:18, Markus Ernst wrote: The problem is that some users do not even start to type when they see text in the field they focused. Thus I strongly believe that some visible hint at the _focusing_ moment would be helpful for these users. If the Opera and IE behaviour of totally hidi

Re: [whatwg] Hide placeholder on input controls on focus

2013-03-21 Thread Roger Hågensen
On 2013-03-21 14:02, Markus Ernst wrote: Am 21.03.2013 12:10 schrieb James Ross: Just as an added data-point (that I only noticed today) - Windows 7's placeholder implementation in the Start menu and Explorer's search box: - Focusing the input box with tab/Control-E or autofocus when opening

Re: [whatwg] Forcing orientation in content

2013-05-03 Thread Roger Hågensen
On 2013-05-03 08:29, Gray Zhang wrote: >> Not sure if WHATWG is doing anything, but in the W3C there ishttps://dvcs.w3.org/hg/screen-orientation/raw-file/tip/Overview.html in the Web Apps group > ... > > How would it behave if my web app requests orientation locking but is placed in an `` elem

Re: [whatwg] Forcing orientation in content

2013-07-14 Thread Roger Hågensen
On 2013-07-13 06:17, Glenn Maynard wrote: Changing orientation is disruptive. I can hardly imagine how obnoxious Web browsing would be on a mobile device, if every second page I navigated to decided to flip my device to a different orientation. This feels like the same sort of misfeature as

[whatwg] Ping + Ping-prefix meta element.

2010-04-26 Thread Roger Hågensen
Idea originally posted at https://bugzilla.mozilla.org/show_bug.cgi?id=409508 If the browser see this meta tag it will behave as if ping attribute was applied to all externally leading hrefs with the prefix added to the start. In the example above this would be how the browser should treat it

Re: [whatwg] Ping + Ping-prefix meta element.

2010-04-27 Thread Roger Hågensen
On 2010-04-27 00:41, Aryeh Gregor wrote: On Mon, Apr 26, 2010 at 4:17 PM, Roger Hågensen wrote: Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? This *is* the HTML5 list -- or

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

2010-05-31 Thread Roger Hågensen
On 2010-05-23 23:49, Simon Pieters wrote: On Sat, 22 May 2010 21:06:53 +0200, L. David Baron wrote: The "rules for parsing a legacy color value" in http://www.whatwg.org/specs/web-apps/current-work/complete/common-microsyntaxes.html#rules-for-parsing-a-legacy-color-value specify that CSS2 sy

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

2010-05-31 Thread Roger Hågensen
On 2010-05-31 09:57, Roger Hågensen wrote: On 2010-05-23 23:49, Simon Pieters wrote: On Sat, 22 May 2010 21:06:53 +0200, L. David Baron wrote: The "rules for parsing a legacy color value" in http://www.whatwg.org/specs/web-apps/current-work/complete/common-microsyntaxes.html#rules-f

Re: [whatwg] 'Main Part of the Content' Idiom

2010-06-04 Thread Roger Hågensen
On 2010-06-04 18:39, Daniel Persson wrote: I am not advocating ad-tags. The idea of globally structuring content on the web is very appealing, it would make it easier for a lot of things and a lot of people. Let's do it! ...but I can't see it happening where would be main content + ads + anyth

Re: [whatwg] 'Main Part of the Content' Idiom

2010-06-04 Thread Roger Hågensen
On 2010-06-04 22:03, Tab Atkins Jr. wrote: On Fri, Jun 4, 2010 at 12:58 PM, Roger Hågensen wrote: ... As you can see the aside is outside the body, all latest browsers seem to handle this pretty fine. http://validator.w3.org/ on the other hand gives the error " Line 12, Column 6: body

Re: [whatwg] Resolutions meta tag proposal

2010-07-04 Thread Roger Hågensen
On 2010-07-04 14:34, Marques Johansson wrote: Another way about handling this PPI ratio business would be with HTTP 300 multiple choice. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.1 This may not be the best answer for every image on a page, but the first HTML page in a ser

Re: [whatwg] "Content-Disposition" property for tags

2010-07-30 Thread Roger Hågensen
On 2010-07-30 20:54, Eduard Pascual wrote: On Fri, Jul 30, 2010 at 12:36 PM, Dennis Joachimsthaler wrote: Having a Content-Disposition property on tags which does the same as the HTTP Header. For example changing the file name of the file to be downloaded or rather have a image file downlo

Re: [whatwg] "Content-Disposition" property for tags

2010-07-30 Thread Roger Hågensen
On 2010-07-31 03:57, Roger Hågensen wrote: Another example: How many here have had that wishful thinking work exactly like you wanted? That is the minimal use case, old browsers would behave as currently, those supporting this on the other hand would always present an expected Save As. I&#

Re: [whatwg] "Content-Disposition" property for tags

2010-07-30 Thread Roger Hågensen
On 2010-07-31 04:17, Boris Zbarsky wrote: On 7/30/10 9:57 PM, Roger Hågensen wrote: This defaults to application/octet-stream and clicking the link will behave as if the user selected Save As from UI context menu! I would object to implementing this. I have no problem putting up a dialog

Re: [whatwg] "Content-Disposition" property for tags

2010-07-30 Thread Roger Hågensen
On 2010-07-30 20:54, Eduard Pascual wrote: Let me complement the proposal with a use case: http://stackoverflow.com/questions/3358209/triggering-a-file-download-without-any-server-request Now something like that is a bit more tricky, but can't Javascript actually trigger a proper Save As?

Re: [whatwg] "Content-Disposition" property for tags

2010-07-30 Thread Roger Hågensen
On 2010-07-31 04:52, Boris Zbarsky wrote: When I say the "Save As" UI I mean the one you get currently, which varies, some browsers only provide a Save As and Cancel, while others provide Save As with Open and Cancel. I can't name a single browser that provides an "Open" option if you select

Re: [whatwg] Volume and Mute feedback on

2010-08-20 Thread Roger Hågensen
On 2010-08-20 21:57, Ian Hickson wrote: On Mon, 31 May 2010, Silvia Pfeiffer wrote: I just came across a curious situation in the spec: IIUC, it seems the @volume and @muted attributes are only IDL attributes and not content attributes. This means that an author who is creating an audio-visu

Re: [whatwg] "Content-Disposition" property for tags

2010-08-25 Thread Roger Hågensen
On 2010-08-25 21:09, Ian Hickson wrote: On Fri, 30 Jul 2010, Dennis Joachimsthaler wrote: Having a Content-Disposition property on tags which does the same as the HTTP Header. For example changing the file name of the file to be downloaded or rather have a image file download rather than it be

Re: [whatwg] default audio upload format (was Fwd: The Media Capture API Working Draft)

2010-08-31 Thread Roger Hågensen
On 2010-08-31 22:11, James Salsman wrote: Does anyone object to form input type=file accept="audio/*;capture=microphone" using Speex as a default, as if it were specified accept="audio/x-speex;quality=7;bitrate=16000;capture=microphone" or to allowing the requesting of different speex qualities

Re: [whatwg] default audio upload format (was Fwd: The Media Capture API Working Draft)

2010-09-03 Thread Roger Hågensen
On 2010-09-01 21:34, David Singer wrote: seems like a comma-separated list is the right way to go, and that audio/* should mean what it says -- any kind of audio (whether that is useful or not remains to be seen). I would suggest that this is likely to be used for short captures, and that un

Re: [whatwg] default audio upload format (was Fwd: The Media Capture API Working Draft)

2010-09-03 Thread Roger Hågensen
On 2010-09-04 01:55, James Salsman wrote: Most of the MIME types that support multiple channels and sample rates have registered parameters for selecting those. Using a PCM format such as audio/L16 (CD/Red Book audio) as a default would waste a huge amount of network bandwidth, which translates

Re: [whatwg] BINID (Was: Video with MIME type application/octet-stream)

2010-09-03 Thread Roger Hågensen
e. So in the future a mime type "application/octet-stream" won't be as mysterious any longer. Another advantage I forgot to mention, is that since it's basically a file ID "slap on" header, it is so easy to add it on the fly. I.e a webserver could even add it to

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

2010-09-10 Thread Roger Hågensen
On 2010-09-09 09:24, Philip Jägenstedt wrote: On Thu, 09 Sep 2010 02:15:27 +0200, David Singer wrote: On Wed, Sep 8, 2010 at 3:13 PM, And Clover wrote: Perhaps I *meant* to serve a non-video file with something that looks a fingerprint from a video format at the top. Anything's possible

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

2010-09-11 Thread Roger Hågensen
On 2010-09-11 03:40, Silvia Pfeiffer wrote: [snip...] And yeah, this kinda stretched beyond the scope of HTML5 specs, but you'd be swatting two flies at once, solving the sniffing issue with and , but also the sniffing issue that every OS has had for the last couple of um... de

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-11 Thread Roger Hågensen
On 2010-09-11 05:23, Eric Carlson wrote: On Sep 10, 2010, at 8:06 PM, Biju wrote: On Fri, Sep 10, 2010 at 7:05 AM, Silvia Pfeiffer wrote: Incidentally: What use case did you have in mind, Biju ? I was thinking about applications like https://developer.mozilla.org/samples/video/chroma-key/in

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

2010-09-13 Thread Roger Hågensen
On 2010-09-13 15:03, Mikko Rantalainen wrote: 2010-09-11 01:51 EEST: Roger Hågensen: On 2010-09-09 09:24, Philip Jägenstedt wrote: For at least WAVE, Ogg and WebM it's not possible as they begin with different magic bytes. Then why not define a new "magic" that is universa

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

2010-09-14 Thread Roger Hågensen
On 2010-09-13 15:55, Nils Dagsson Moskopp wrote: Mikko Rantalainen schrieb am Mon, 13 Sep 2010 16:03:27 +0300: […] Basically, this sounds like all the issues of BOM for all binary files. And why do we need this? Because web servers are not behaving correctly and are sending incorrect Conten

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

2010-09-14 Thread Roger Hågensen
On 2010-09-14 08:37, Julian Reschke wrote: On 13.09.2010 23:51, Aryeh Gregor wrote: ... And for heavens sake, do not specify any sniffing as "official". Instead, explicitly specify all sniffing as UA specific and possibly suggest that UAs should inform the user that content is broken and the c

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

2010-09-16 Thread Roger Hågensen
On 2010-09-16 15:17, Mikko Rantalainen wrote: 2010-09-13 16:44 EEST: Roger Hågensen: On 2010-09-13 15:03, Mikko Rantalainen wrote: And why do we need this? Because web servers are not behaving correctly and are sending incorrect Content-Type headers? What makes you believe that BINID will

Re: [whatwg] Proposal: add attributes etags & last-modified to element.

2010-09-19 Thread Roger Hågensen
On 2010-09-20 02:37, Aryeh Gregor wrote: 2010/9/19 Julian Reschke: So it's a workaround that causes a performance optimization. It wouldn't be necessary if the linked resource would have the right caching information in the first place. Sure it would. You can currently only save an HTTP reque

Re: [whatwg] Html 5 video element's poster attribute

2010-09-19 Thread Roger Hågensen
On 2010-09-20 05:09, Robert O'Callahan wrote: On Sun, Sep 19, 2010 at 10:57 PM, Shiv Kumar > wrote: I'm glad to see that people do see the need to change (or specify in more detail) the behavior of the poster at least insofar as it disappearing before

Re: [whatwg] Html 5 video element's poster attribute

2010-09-19 Thread Roger Hågensen
On 2010-09-20 05:27, Chris Pearce wrote: Right, so you want to be able to toggle the poster back on (when the media is paused or ended) but after playback has started. I wonder if these are separate use cases, e.g. whether users would want to display a different image from the poster image in

Re: [whatwg] File Upload Progress Event (Upload Progress)

2010-09-20 Thread Roger Hågensen
On 2010-09-20 10:16, Olli Pettay wrote: I do think browser UI for large uploads is terrible and needs to be fixed. I agree! Yeah, the UI is terrible, but that is about browser implementations and not about any specification. Well! There is nothing preventing the specs from providing a mi

Re: [whatwg] Form element invalid message

2010-09-20 Thread Roger Hågensen
On 2010-09-21 00:38, Shiv Kumar wrote: Scenario 1: We now have the option define if an element is required and the form will validate the value such elements before submission. That's a step in the right direction. However, it so happens different implementation do different things in the c

Re: [whatwg] File Upload Progress Event (Upload Progress)

2010-09-20 Thread Roger Hågensen
On 2010-09-21 00:59, Nils Dagsson Moskopp wrote: 21.09.10 Roger Hågensen: Well! There is nothing preventing the specs from providing a minimum UI guideline that should be followed by UAs. UAs compete on interface, too. As long as the standards are open and consistent, why should

Re: [whatwg] [IndexedDB] Simultaneous setVersion from multiple pages

2010-09-22 Thread Roger Hågensen
On 2010-09-22 21:56, ben turner wrote: Sorry folks, this went to the wrong list! Please ignore. -Ben On Wed, Sep 22, 2010 at 12:55 PM, ben turner wrote: Hi folks, While implementing the latest setVersion changes I came across this problem: Let's say that a site is open in two different win

Re: [whatwg] Proposal: add attributes etags & last-modified to element.

2010-12-09 Thread Roger Hågensen
On 2010-12-08 20:44, Ian Hickson wrote: On Mon, 20 Sep 2010, Roger Hågensen wrote: It would be better to define this as explicitly indicating which resources are NOT valid any longer, with most sites/web applications this would only be a select few links. Doing that would require knowing what

Re: [whatwg] Bluetooth devices

2010-12-14 Thread Roger Hågensen
On 2010-12-14 16:12, Bjartur Thorlacius wrote: On 12/13/10, Diogo Resende wrote: Bjartur, I think you misunderstood our point. The idea is to have a way of accessing this kind of devices (not necessarily by bt or usb). The difference of this kind of devices is they're not keyboard, mics, headph

Re: [whatwg] Bluetooth devices

2010-12-16 Thread Roger Hågensen
On 2010-12-15 18:02, Aryeh Gregor wrote: On Tue, Dec 14, 2010 at 10:12 AM, Bjartur Thorlacius wrote: I still don't grasp how that could be useful. Please provide an example. So you've got a non-kb, mouse, headphone or camera device, say a permanent storage drive. No, not something so general-

Re: [whatwg] Processing the zoom level - MS extensions to window.screen

2010-12-18 Thread Roger Hågensen
On 2010-12-18 18:58, Charles Pritchard wrote: On 11/24/2010 10:23 AM, Boris Zbarsky wrote: On 11/24/10 4:13 AM, Charles Pritchard wrote: > And, these aren't great lengths. It's about 6 lines of javascript. Uh... That depends on how your drawing path is set up. If I understand correctly what yo

Re: [whatwg] Device Element

2010-12-28 Thread Roger Hågensen
On 2010-12-28 09:53, Silvia Pfeiffer wrote: How about making a concrete proposal as to what it should look like? If Google was to implement it and turn it into a concrete proposal, I wouldn't have a problem with it either. As it is right now the spec for usb/RS232 is useless IMHO. Silvia. Yea

Re: [whatwg] Device Element

2010-12-28 Thread Roger Hågensen
On 2010-12-28 03:16, Seth Brown wrote: I also believe that the working group should make the device element spec a high priority. If you don't google will probably implement their own version for chrome OS(it will be necessary in a browser based OS model). Thanks, Seth Brown Not really! Chrome

Re: [whatwg] Low Memory Event

2011-01-01 Thread Roger Hågensen
On 2011-01-02 03:27, Kornel Lesiński wrote: On Sun, 02 Jan 2011 00:53:48 -, Charles Pritchard wrote: ArrayBuffer and Canvas use contiguous memory segments. You don't need a complex GC pass to let those ones go. For my use cases, those are the two types I'm working with. Keeping them aro

Re: [whatwg] Pressure API?

2011-01-05 Thread Roger Hågensen
On 2011-01-05 02:39, Ian Hickson wrote: On Wed, 20 Oct 2010, Jens M�ller wrote: now that device orientation, geolocation, camera etc. have been spec'ed: Is there any intent to provide an API for pressure sensors? This might well be the next hip feature in smartphones ... Oh, and while we are a

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-05 Thread Roger Hågensen
On 2011-01-05 06:10, Boris Zbarsky wrote: On 1/4/11 10:51 PM, Glenn Maynard wrote: On Tue, Jan 4, 2011 at 10:53 PM, Boris Zbarsky wrote: Note that you keep comparing websites to desktop software, but desktop software typically doesn't change out from under the user (possibly in ways the origi

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-05 Thread Roger Hågensen
On 2011-01-05 01:07, Seth Brown wrote: I couldn't agree more that we should avoid turning this into vista's UAC. The issue with UAC is not UAC. UAC (especially the more dilligent one on Vista) merely exposed programmers and software expecting raised priviledges while they actually did not nee

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-05 Thread Roger Hågensen
On 2011-01-04 22:59, Seth Brown wrote: That being said. Granting access to a particular script instead of an entire site sounds like a reasonable security requirement to me. As does using a hash to verify that the script you granted permission to hasn't changed. -Seth A hash (any hash in fact,

Re: [whatwg] whatwg Digest, Vol 82, Issue 10

2011-01-07 Thread Roger Hågensen
On 2011-01-06 14:09, timeless wrote: I'm kinda surprised that servers and CAs don't have better support for reminding admins of this stuff. I know for mozilla.org, nagios is responsible for warning admins. The odd thing (to me) is that CAs make money selling certs, so one would expect them to w

Re: [whatwg] Limiting the amount of downloaded but not watched video

2011-01-17 Thread Roger Hågensen
On 2011-01-17 18:36, Markus Ernst wrote: Am 17.01.2011 17:41 schrieb Jeroen Wijering: We are getting some questions from JW Player users that HTML5 video is quite wasteful on bandwidth for longer videos (think 10min+). This because browsers download the entire movie once playback starts, regar

Re: [whatwg] Limiting the amount of downloaded but not watched video

2011-01-17 Thread Roger Hågensen
On 2011-01-18 01:30, Boris Zbarsky wrote: On 1/17/11 6:04 PM, Boris Zbarsky wrote: From a user's perspective (which is what I'm speaking as here), it doesn't matter what the technology is. The point is that there is prevalent UI out there right now where pausing a moving will keep buffering it

Re: [whatwg] Limiting the amount of downloaded but not watched video

2011-01-20 Thread Roger Hågensen
On 2011-01-20 19:16, Zachary Ozer wrote: == New Proposal == I like this. It seems you laid out everything to ensure a balanced buffer, kinda like a moving window buffer which I pointed out earlier. So as far as I can see, your proposal looks pretty solid, unless there are any implementation s

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-21 Thread Roger Hågensen
On 2011-01-21 22:15, Gregory Maxwell wrote: I don't like "keyframe seeking" as the default. "Keyframe seeking" assumes things about the container, codec, and encoding which may not be constants or even applicable to all formats. For example a file with rolling intra may have no keyframes, and y

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-21 Thread Roger Hågensen
On 2011-01-21 22:04, Philip Jägenstedt wrote: Concretely: Add seek(time, flags) where flags defaults to nothing. Accurate seeking would be done via seek(time, "accurate") or some such. Setting currentTime is left as is and doesn't set any flags. Hmm. I think the default (nothing) should be syn

Re: [whatwg] File API Streaming Blobs

2011-01-21 Thread Roger Hågensen
On 2011-01-21 21:50, Glenn Maynard wrote: On Fri, Jan 21, 2011 at 1:55 PM, David Flanagan wrote: Doesn't the current XHR2 spec address this use case? Browsers don't seem to implement it yet, but shouldn't something like this work for the original poster? He wants to be able to stream data out,

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-21 Thread Roger Hågensen
On 2011-01-21 22:57, Silvia Pfeiffer wrote: On Sat, Jan 22, 2011 at 8:50 AM, Roger Hågensen wrote: On 2011-01-21 22:04, Philip Jägenstedt wrote: Concretely: Add seek(time, flags) where flags defaults to nothing. Accurate seeking would be done via seek(time, "accurate") or some suc

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-21 Thread Roger Hågensen
On 2011-01-21 23:48, Gregory Maxwell wrote: It seems surprising to me that we'd want to expose something so deeply internal while the API fails to expose things like chapters and other metadata which can actually be used to reliably map times to meaningful high level information about the video.

Re: [whatwg] HTML5 video: frame accuracy / SMPTE

2011-01-21 Thread Roger Hågensen
On 2011-01-22 01:27, Silvia Pfeiffer wrote: It seems surprising to me that we'd want to expose something so deeply internal while the API fails to expose things like chapters and other metadata which can actually be used to reliably map times to meaningful high level information about the video

Re: [whatwg] Onpopstate is Flawed

2011-02-02 Thread Roger Hågensen
On 2011-02-02 23:48, Jonas Sicking wrote: I think my latest proposed change makes this a whole lot better since the state is immediately available to scripts. The problem with only sticking the state in an event is that there is really no good point to fire the event. The later you fire it the lo

Re: [whatwg] Cryptographically strong random numbers

2011-02-04 Thread Roger Hågensen
On 2011-02-05 04:39, Boris Zbarsky wrote: On 2/4/11 7:42 PM, Adam Barth wrote: interface Crypto { Float32Array getRandomFloat32Array(in long length); Uint8Array getRandomUint8Array(in long length); }; The Uint8Array version is good; let's do that. For the other, what does it mean to ret

Re: [whatwg] Cryptographically strong random numbers

2011-02-05 Thread Roger Hågensen
On 2011-02-05 17:37, Boris Zbarsky wrote: On 2/5/11 1:55 AM, Roger Hågensen wrote: On 2011-02-05 04:39, Boris Zbarsky wrote: In general, I suspect creating a good definition for the float version of this API may be hard. Not really, usually it is a number from 0.0 to 1.0, which would map to

Re: [whatwg] Cryptographically strong random numbers

2011-02-05 Thread Roger Hågensen
On 2011-02-06 03:34, Boris Zbarsky wrote: The context in which I've seen people ask for cryptographically secure Math.random are cases where one script can tell what random numbers another script got by examining the sequence of random numbers it's getting itself. But I was never told what tha

Re: [whatwg] Cryptographically strong random numbers

2011-02-05 Thread Roger Hågensen
On 2011-02-05 11:10, Adam Barth wrote: On Fri, Feb 4, 2011 at 9:00 PM, Cedric Vivier wrote: getRandomValues(in ArrayBufferView data) Fills a typed array with a cryptographically strong sequence of random values. The length of the array determines how many cryptographically strong random values

Re: [whatwg] Cryptographically strong random numbers

2011-02-05 Thread Roger Hågensen
On 2011-02-06 05:07, Cedric Vivier wrote: On Sun, Feb 6, 2011 at 11:34, Roger Hågensen wrote: But getRandomValues(in ArrayBufferView data) seem to indicate that each byte (value) is random, limited to an array of 8bit data?. In the context of typed arrays, a value depends of the type of the

Re: [whatwg] Cryptographically strong random numbers

2011-02-06 Thread Roger Hågensen
On 2011-02-06 04:54, Boris Zbarsky wrote: On 2/5/11 10:22 PM, Roger Hågensen wrote: This is just my oppinion but... If they need random number generation in their script to be cryptographically secure to be protected from another "spying" script... then they are doing it wrong.

Re: [whatwg] Session Management

2011-03-02 Thread Roger Hågensen
On 2011-03-02 18:42, Bjartur Thorlacius wrote: Just see what happens when users login to a site, then navigate to another and authenticate to the latter, and then logout from the latter. In that case, they're still authenticated to the former site. In theory, this shouldn't be a problem, as use

Re: [whatwg] Intent of the FileSystem API

2011-03-02 Thread Roger Hågensen
On 2011-03-02 02:31, Tatham Oddie wrote: Glenn, That's an XP path you've provided. On Vista or 7 it'd be: C:\Users\tatham.oddie\AppData\Local\Google\Chrome\User Data\Default\Storage Microsoft explicitly did work in Vista to reduce the lengths of those base paths. Now, the Google co

Re: [whatwg] Session Management

2011-03-03 Thread Roger Hågensen
On 2011-03-03 10:44, Dave Kok wrote: Op 02-03-11 22:11:48 schreef Roger Hågensen: Method #3: The server (or serverside script, like PHP or similar) sends the following to the browser: header('HTTP/1.0 401 Unauthorized'); header('WWW-Authenticate: Close realm="M

[whatwg] A moment of thank you to the browser devs.

2011-03-24 Thread Roger Hågensen
http://html5test.com/ Now that Firefox 4 is out as well as IE9 those tests are starting to look real good. With the WebM plugin for IE9, WebM is now possible in all the big 4 (Opera, IE, FF, Chrome) browsers (haven't tested Safari but like Chrome it uses Webkit so should be similar). Opera doe

Re: [whatwg] self-closing tags in html5

2011-05-03 Thread Roger Hågensen
On 2011-05-03 00:47, Ian Hickson wrote: On Fri, 31 Dec 2010, Kornel Lesi�~Dski wrote: On Fri, 31 Dec 2010 07:18:52 -, Ian Hickson wrote: For example, markup such as the following is sadly common: Hello world! I have therefore not changed the spec in response to this request. On Fri

Re: [whatwg] Timing API proposal for measuring intervals

2011-07-08 Thread Roger Hågensen
On 2011-07-08 12:32, Mark Callow wrote: On 08/07/2011 11:54, James Robinson wrote: True. On OS X, however, the CoreVideo and CoreAudio APIs are specified to use a unified time base (see http://developer.apple.com/library/ios/#documentation/QuartzCore/Reference/CVTimeRef/Reference/reference.htm

[whatwg] NRK (Norwegian Broadcasting) focuses on HTML5

2011-12-14 Thread Roger Hågensen
Just some trivia/news of some interest to HTML5 supportes: NRK (similar to what BBC is in England) has decided to focus on HTML5. http://www.digi.no/885011/nrk-gaar-for-html5 http://translate.google.com/translate?hl=en&sl=no&u=http://www.digi.no/885011/nrk-gaar-for-html5&ei=CRfpTtexJqaA4gTX4NX

Re: [whatwg] Endianness of typed arrays

2012-03-28 Thread Roger Hågensen
On 2012-03-28 12:01, Mark Callow wrote: On 28/03/2012 18:45, Boris Zbarsky wrote: On 3/28/12 2:40 AM, Mark Callow wrote: Because you said "JS-visible state (will) always be little-endian". So? I don't see the problem, but maybe I'm missing something... The proposal is that if you take an ar

Re: [whatwg] Controlling the User-Agent header from script

2014-10-13 Thread Roger Hågensen
On 2014-10-13 15:53, Anne van Kesteren wrote: Per XMLHttpRequest User-Agent has been off limits for script. Should we keep it that way for fetch()? Would it be harmful to allow it to be omitted? https://github.com/slightlyoff/ServiceWorker/issues/399 A possible attack I can think of would be an

Re: [whatwg] Controlling the User-Agent header from script

2014-10-13 Thread Roger Hågensen
On 2014-10-13 16:16, Nils Dagsson Moskopp wrote: Anne van Kesteren writes: Per XMLHttpRequest User-Agent has been off limits for script. Reporting UA “Mozilla/4.0 (MSIE 6.0';DROP TABLE browsers;--"{!=&})” broke hilariously many sites when I did have set it as my default UA string, even though

Re: [whatwg] Proposal: Write-only submittable form-associated controls.

2014-10-15 Thread Roger Hågensen
On 2014-10-15 18:10, Tab Atkins Jr. wrote: On Wed, Oct 15, 2014 at 8:59 AM, Domenic Denicola wrote: For the XSS attacker, couldn't they just use `theInput.removeAttribute("writeonly"); alert(theInput.value);`? Or is this some kind of new "un-removable attribute"? Doesn't matter if it is or n

[whatwg] Passwords

2014-10-15 Thread Roger Hågensen
Was "Re: [whatwg] Proposal: Write-only submittable form-associated controls." On 2014-10-16 01:31, Eduardo' Vela" wrote: If we have a password manager and are gonna ask authors to modify their site, we should just use it to transfer real credentials, not passwords.. Passwords need to die anywa

Re: [whatwg] Passwords

2014-10-18 Thread Roger Hågensen
On 2014-10-17 17:09, Nils Dagsson Moskopp wrote: Roger Hågensen writes: Also http logins with plaintext transmission of passwords/passphrases need to go away, and is a pet peeve of mine, I detest Basic HTTP-Authentication which is plaintext. Note that Basic Auth + HTTPS provides reliable

Re: [whatwg] New approach to activities/intents

2014-11-07 Thread Roger Hågensen
On 2014-11-03 17:42, Anne van Kesteren wrote: https://wiki.whatwg.org/wiki/Sharing/API has a sketch for what a very minimal Sharing API could look like. I have often pondered the same when seeing a "Share" button or icon on a webpage. Some solutions have a single icon that pops up a menu, whi

Re: [whatwg] New approach to activities/intents

2014-11-09 Thread Roger Hågensen
On 2014-11-07 20:01, Nils Dagsson Moskopp wrote: Roger Hågensen writes: A link element in the header, maybe call it http://example.com/article/12345/"; /> or if the current url (or the canonical url link if present) should be used, although I guess in a way rel="share" wil

Re: [whatwg] New approach to activities/intents

2014-11-11 Thread Roger Hågensen
On 2014-11-10 10:35, Anne van Kesteren wrote: On Fri, Nov 7, 2014 at 7:38 PM, Roger Hågensen wrote: A worthy goal would be to help developers de-clutter websites from all those share icons we see today, so if this could be steered towards that it would be great. That is what the proposal is

Re: [whatwg] New approach to activities/intents

2014-11-12 Thread Roger Hågensen
On 2014-11-11 23:31, Markus Lanthaler wrote: On 7 Nov 2014 at 20:01, Nils Dagsson Moskopp wrote: Roger Hågensen writes: A link element in the header, maybe call it http://example.com/article/12345/"; /> or if the current url (or the canonical url link if present) should be used, al

Re: [whatwg] New approach to activities/intents

2014-11-13 Thread Roger Hågensen
On 2014-11-13 18:11, Nils Dagsson Moskopp wrote: Roger Hågensen writes: I just checked WHATWG HTML5 and rel="bookmark" isn't there at all (I didn't check W3C HTML5 though). The section on the bookmark link type in WHATWG HTML can be found here: <https://html.sp

Re: [whatwg] New approach to activities/intents

2014-11-13 Thread Roger Hågensen
On 2014-11-13 18:19, Nils Dagsson Moskopp wrote: AFAIK, all of these interface details lie outside the scope of the HTML specification (and rightly so, IMHO). If you need a standard symbol for bookmarks I suggest to use U+1F516 BOOKMARK, which looks like this „🔖“. Then don't spec it but advi

Re: [whatwg] PSA: Chrome ignoring autocomplete="off" for Autofill data

2014-11-13 Thread Roger Hågensen
On 2014-11-13 20:20, Evan Stade wrote: Currently this new behavior is available behind a flag. We will soon be inverting the flag, so you have to opt into respecting autocomplete="off". I don't like that browsers ignore HTML functionality hints like that. I have one real live use case that wo

  1   2   >