[whatwg] Fwd: Re: Why do we have input type='month' and input type='week'?

2013-02-13 Thread Bronislav Klučka
Original Message Subject: Re: [whatwg] Why do we have input type='month' and input type='week'? Date: Wed, 13 Feb 2013 08:59:49 +0100 From: Bronislav Klučka bronislav.klu...@bauglir.com To: Jukka K. Korpela jkorp...@cs.tut.fi On 12.2.2013 18:39, Jukka K. Korpela

Re: [whatwg] Forms-related feedback

2013-01-16 Thread Bronislav Klučka
On 16.1.2013 8:23, Jukka K. Korpela wrote: Since the use cases are rare, is it better to force browser vendors to develop code to implement it, in their own ways, than to let various software developers set up libraries for it? Since the browser implementations would, with practical

Re: [whatwg] Forms-related feedback

2013-01-16 Thread Bronislav Klučka
On 16.1.2013 14:16, Bruce Lawson wrote: On Wed, 16 Jan 2013 11:01:14 -, Tab Atkins Jr. jackalm...@gmail.com wrote: Strongly agree. I think any arguments that sites will refuse to use the native controls because they don't match the site's theme are countered by the observation that

Re: [whatwg] Forms-related feedback

2013-01-13 Thread Bronislav Klučka
On 13.1.2013 14:52, TAMURA, Kent wrote: On Tue, Jan 8, 2013 at 9:47 AM, Ian Hickson i...@hixie.ch wrote: However, I'm not sure how this can be presented to the user. In the example above I suggested that time input UI should be accompanied with local time zone (Europe/Helsinki in my

Re: [whatwg] Proposal for public data in drag events

2012-08-30 Thread Bronislav Klučka
On 30.8.2012 19:27, Ian Hickson wrote: On Thu, 21 Jun 2012, Trevor Burnham wrote: Therefore, I'd like to propose the addition of a publicData object on all drag events. It would have the same interface and behavior as the dataTransfer object, with the sole exception that it would be read-only

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-26 Thread Bronislav Klučka
Hi Steve, you are trying to keep it technical by picking one example. But I guess you are missing a point, this is not technical issue here, this is not about choosing, this is about market. I do understand, that HTML is more than a set of tags and rules to use them, there are a lot of

[whatwg] Table fixed header

2012-07-25 Thread Bronislav Klučka
Hello, I've been looking for some standard approach to fixed header (no weird positioning, wrappers divs, JS woodoo, etc. - I've written those and there are couple hundreds more on the web) and I found this bug in webkit https://bugs.webkit.org/show_bug.cgi?id=3239 discussing, whether

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-25 Thread Bronislav Klučka
On 20.7.2012 14:38, Steve Faulkner wrote: Hi Hixie, I believe you have made some spurious claims, one of them being; The WHATWG effort is focused on developing the canonical description of HTML and related technologies The claim that HTML the living standard is canonical

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-25 Thread Bronislav Klučka
Canonical means neither correct nor accurate, those words have no meaning in this case, you cannot apply them on set of rules (you first have to have set of rules, to claim, whether something is accurate or correct within the boundaries of those rules), canonical means, that those set of

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-25 Thread Bronislav Klučka
On 25.7.2012 16:04, David Bruant wrote: Le 25/07/2012 15:32, Bronislav Klučka a écrit : And my last remark: I hope major browser vendors will chose to follow the same path, the same implementation of tasks, but not all major vendors are part of WHATWG (as far as I know), and if some choose

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-25 Thread Bronislav Klučka
On 25.7.2012 16:52, David Bruant wrote: Le 25/07/2012 16:36, Bronislav Klučka a écrit : On 25.7.2012 16:04, David Bruant wrote: Le 25/07/2012 15:32, Bronislav Klučka a écrit : And my last remark: I hope major browser vendors will chose to follow the same path, the same implementation

Re: [whatwg] Table fixed header

2012-07-25 Thread Bronislav Klučka
://bugzilla.mozilla.org/show_bug.cgi?id=674214 2012/7/25 Bronislav Klučka bronislav.klu...@bauglir.com Hello, I've been looking for some standard approach to fixed header (no weird positioning, wrappers divs, JS woodoo, etc. - I've written those and there are couple hundreds more on the web

Re: [whatwg] Administrivia: Update on the relationship between the WHATWG HTML living standard and the W3C HTML5 specification

2012-07-25 Thread Bronislav Klučka
On 25.7.2012 16:55, Steve Faulkner wrote: hi Bronislav you wrote: I was just looking at WHATWG wiki and there is nice sentence: In general the WHATWG will ensure that the normative content of the specifications (the requirements on authors and implementors) remains the same so long as the W3C

Re: [whatwg] Canvas roundedRect

2012-06-21 Thread Bronislav Klučka
-rectangle.php [2] http://www.supercalifrigginawesome.com/Extending-Canvas-to-Draw-Rounded-Rect angles -- s pozdravem Bronislav Klučka http://www.bauglir.com http://www.bauglir.com http://www.bauglir.com bronislav.klu...@bauglir.com mailto:bronislav.klu...@bauglir.com * webové

Re: [whatwg] Canvas roundedRect

2012-06-21 Thread Bronislav Klučka
me an use case where we need to specify the x and y radius for every corner. Almost all canvas 2d libraries today when drawing rounded rectangles you need just specify the corners once and it works pretty well. Igor On Thu, Jun 21, 2012 at 10:51 AM, Bronislav Klučka bronislav.klu...@bauglir.com

Re: [whatwg] Make files attribute of the input element writable

2012-05-23 Thread Bronislav Klučka
On 23.5.2012 17:37, Nico Weber wrote: But, by the same token, XHR upload of FormData[1] already serves this use case in a more flexible way. You can even make a FormData from the contents of an html form and then add additional File objects. Making the change would (afaict) not serve any

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 4.5.2012 23:17, Ian Hickson wrote: On Fri, 27 Jan 2012, Bronislav Klu�~Mka wrote: we are currently discussing localization in form fields, but that may result in some unfortunate behavior if implemented alone, because data will be displayed in localized representation in form fields but

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:09, Benjamin Hawkes-Lewis wrote: 2/ FormatSettings object [Constructor(), Constructor(DOMString locale), Constructor(FormatSettings locale), ] interface FormatSettings { attribute DOMString CurrencyString; attribute Number CurrencyFormat; attribute Number

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:11, Benjamin Hawkes-Lewis wrote: On Mon, May 7, 2012 at 9:32 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: I can see you are pushing for CSS because of presentation level, but 1/ you need to display currency or number, what would you do? span style=format-type

Re: [whatwg] Localisation of form fields

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 12:09, Benjamin Hawkes-Lewis wrote: Are you talking specifically about conversion of form values between an over-the-wire format and a localized display format? -- Benjamin Hawkes-Lewis No, I'm talking about just client side processing / diplaying. What I want is new abilities

Re: [whatwg] Declarative unload data

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 13:42, Tim Streater wrote: On 07 May 2012 at 08:53, Tab Atkins Jr.jackalm...@gmail.com wrote: Besides those annoying Are you sure you want to leave this page? dialogs, the primary use of the unload events is a final, desperate attempt to throw a message at the server, either to

Re: [whatwg] Declarative unload data

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 17:32, Boris Zbarsky wrote: On 5/7/12 3:53 AM, Tab Atkins Jr. wrote: A bigger question is whether browsers really want to make it easier to do this or work on getting rid of the ability to phone home at/after unload altogether. My gut reaction every time I see pages doing it is

Re: [whatwg] Declarative unload data

2012-05-07 Thread Bronislav Klučka
On 7.5.2012 18:00, Boris Zbarsky wrote: On 5/7/12 11:54 AM, Bronislav Klučka wrote: I see pages doing it is that they're up to no good well that is your opinion, sure, we have all seen bad use of that, but removing functionality that has no replacement, can be used for useful thinks (well

Re: [whatwg] Double meaning of the u element

2012-05-02 Thread Bronislav Klučka
On 2.5.2012 4:39, Ashley Sheridan wrote: On Wed, 2012-05-02 at 11:31 +1000, Shaun Moss wrote: I know it's contentious, but as a teacher it's very simple to teach students of HTML5 that: u = underline b = bold i = italic s = strikethrough Of course, I also teachstrong andem, but the

Re: [whatwg] File based permission files?

2012-04-25 Thread Bronislav Klučka
On 25.4.2012 22:01, Tyler Larson wrote: You can do cross-domain permission via IFRAME and postMessage. Now that transfer semantics are widely accepted, you can efficiently send an array buffer across frames. So you setup something like trampoline.html, you connect to it via iframe and send

Re: [whatwg] Client side value for language preference

2012-04-05 Thread Bronislav Klučka
On 30.3.2012 17:41, Tim Streater wrote: On 30 Mar 2012 at 16:05, Jukka K. Korpelajkorp...@cs.tut.fi wrote: 2012-03-30 17:22, Henri Sivonen wrote: On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzumn...@bearfruit.org wrote: For example, maybe a site can't afford translation but a small

Re: [whatwg] add html-attribute for responsive images

2012-02-08 Thread Bronislav Klučka
On 8.2.2012 10:18, David Goss wrote: On 8 February 2012 07:42, Anselm Hannemannans...@novolo.de wrote: I'd love to have *ability* (just for future use-cases which might come up and I already would have some for tablet-devices and smartphones) to add different media. e.g. we could offer a

Re: [whatwg] add html-attribute for responsive images

2012-02-08 Thread Bronislav Klučka
On 8.2.2012 10:59, Anselm Hannemann - Novolo Designagentur wrote: Hi, I think that while talking about responsive image, introducing element that would choose image based on media-query, we should explore more generic approach... any media media media=all video media=support: video source

Re: [whatwg] add html-attribute for responsive images

2012-02-08 Thread Bronislav Klučka
On 8.2.2012 11:24, David Goss wrote: I share your skepticism. It would be nice and neat if there was a media element with a common structure for images, video and audio, but clearly the video and audio elements are too well established already. No sense in rocking that boat now. This

Re: [whatwg] add html-attribute for responsive images

2012-02-08 Thread Bronislav Klučka
On 8.2.2012 11:23, Benjamin Hawkes-Lewis wrote: 2012/2/8 Bronislav Klučkabronislav.klu...@bauglir.com: On 8.2.2012 10:59, Anselm Hannemann - Novolo Designagentur wrote: Hi, I think that while talking about responsive image, introducing element that would choose image based on media-query,

Re: [whatwg] Why won't you let us make our own HTML5 browsers?

2012-01-31 Thread Bronislav Klučka
On 1.2.2012 1:36, Ian Hickson wrote: I am not interested in the argument that It is just too dangerous. Browsers already allow people to download executables with a couple clicks, not to mention install privileged browser add-ons. Enough said. Well, in all fairness, browsers and operating

Re: [whatwg] Why won't you let us make our own HTML5 browsers?

2012-01-31 Thread Bronislav Klučka
On 1.2.2012 5:19, Nils Dagsson Moskopp wrote: I understand the need for protecting users... fine by me, but by limiting developers? The fact, that people are giving permission to operation they do not care to find information about to some program/site they know nothing about... Well it's

Re: [whatwg] Why won't you let us make our own HTML5 browsers?

2012-01-31 Thread Bronislav Klučka
On 1.2.2012 5:14, Ryosuke Niwa wrote: 2012/1/31 Bronislav Klučka bronislav.klu...@bauglir.com mailto:bronislav.klu...@bauglir.com On 1.2.2012 1:36, Ian Hickson wrote: I am not interested in the argument that It is just too dangerous. Browsers already

Re: [whatwg] Canvas ScrollBar

2012-01-27 Thread Bronislav Klučka
On 27.1.2012 20:02, Ian Hickson wrote: On Thu, 20 Oct 2011, Bronislav Klu�~Mka wrote: Would it be possible to extend canvas specification to include scroll bar functionality? To add scroll bar, to manage scroll bar (total size, page size). Creating control based on canvas that needs scrollbar

[whatwg] Localization on script level and non form field

2012-01-26 Thread Bronislav Klučka
Hello, we are currently discussing localization in form fields, but that may result in some unfortunate behavior if implemented alone, because data will be displayed in localized representation in form fields but not in HTML - server can translate text, but not localize data, since it has no

Re: [whatwg] Decimal comma in numeric input

2012-01-20 Thread Bronislav Klučka
On 20.1.2012 1:29, Jukka K. Korpela wrote: Why would things suddenly change when it comes to user interface? Besides, there is nothing in CSS as currently defined that even tries to address such issues. Yucca I've joined this discussion to point out the difference between presentation

Re: [whatwg] Decimal comma in numeric input

2012-01-20 Thread Bronislav Klučka
On 20.1.2012 18:52, Cameron Heavon-Jones wrote: The lang attribute is the structural declaration of the content's localization, be it prose or data values. There should be no difference in what the following mean: p lang=enThis is some english text/p input lang=en type=text value=This is

Re: [whatwg] Localisation of form fields

2012-01-20 Thread Bronislav Klučka
Hello There are two recent threads on localisation of form fields, one on input type=date, the other on the Decimal comma in numeric input. Both are about the question whether the form field value should be displayed according to the element's language, or rather based on the user's

Re: [whatwg] link.sizes and [PutForwards=value]

2012-01-20 Thread Bronislav Klučka
Cameron McCormack: The two Location objects stringify to the same thing, but are not ==. I think this can be confusing. Ian Hickson: Can we overload equality for objects? No, not within the confines of ECMAScript. I do agree here with Cameron. This could cause inconsistency issues,

Re: [whatwg] Decimal comma in numeric input

2012-01-19 Thread Bronislav Klučka
On 19.1.2012 21:51, John Tamplin wrote: On Thu, Jan 19, 2012 at 3:38 PM, Ian Hicksoni...@hixie.ch wrote: On Thu, 14 Apr 2011, John Tamplin wrote: Indeed. To solve this, we need help from CSS. That's one of the reasons we createdoutput in HTML. This is about data representation and

Re: [whatwg] A few questions on HTML5

2012-01-03 Thread Bronislav Klučka
Hi On 3.1.2012 10:32, Mani wrote: I had a few quick questions on HTML5 (I have been looking at it for about a month now, and I am fascinated by the possibilities). I do not want to be rude, but such questions does not belong here, this is not generic or QA forum, this is spec. designers

Re: [whatwg] Using requestFileSystem to setup mounts

2011-12-21 Thread Bronislav Klučka
Hi, what about window.MOUNT_ONCE - mount only for current session - would open select folder dialog window.MOUNT_ALWAYS - mount for all time (or to be more precise for the time of life time of IndexDB, cookies, etc). - user have to give explicit permission for this and only after this

Re: [whatwg] creating a new file via the File API

2011-12-19 Thread Bronislav Klučka
On 19.12.2011 17:05, Glenn Maynard wrote: 2011/12/19 Bronislav Klučkabronislav.klu...@bauglir.com: I agree, additional API for this would be better FileSaver is not exactly all you would need, because FileSaver is already implemented e.g. in Chrome to save file to browser file system

Re: [whatwg] creating a new file via the File API

2011-12-19 Thread Bronislav Klučka
On 19.12.2011 23:15, Eric U wrote: On Mon, Dec 19, 2011 at 2:06 PM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: On 19.12.2011 17:05, Glenn Maynard wrote: 2011/12/19 Bronislav Klučkabronislav.klu...@bauglir.com: I agree, additional API for this would be better FileSaver

Re: [whatwg] creating a new file via the File API

2011-12-18 Thread Bronislav Klučka
agree that an API like FileSaver is the right way to do this. Using input type=file wouldn't really fit well because that's more for providing data for upload than providing a file for writing. -- s pozdravem Bronislav Klučka http://www.bauglir.com http://www.bauglir.com http

Re: [whatwg] creating a new file via the File API

2011-12-18 Thread Bronislav Klučka
this raises the security issues discussed at mozilla, because the user is engaged in the same interaction as they are on any other file download. On 12/18/2011 11:13 PM, Bronislav Klučka wrote: Hi, This is quite crucial functionality and sadly not being addressed as it would seem, because without

Re: [whatwg] creating a new file via the File API

2011-12-18 Thread Bronislav Klučka
are set isn't going to be the right behavior from the user's perspective. Should there be a way to force open the save dialog, even if the default is to download to a fixed location? On 12/19/2011 12:35 AM, Bronislav Klučka wrote: hi, if you look at the generated files examples, what you can

Re: [whatwg] creating a new file via the File API

2011-12-18 Thread Bronislav Klučka
, this is what the proposed FileSaver API is for. (It wouldn't make sense for this to be exposed as a tag, any more than it would make sense for XHR or History or IndexedDB to be tags. It's just an API that you can hook up to whatever UI you want.) -- s pozdravem Bronislav Klučka

[whatwg] Canvas ScrollBar

2011-10-20 Thread Bronislav Klučka
Hello, Would it be possible to extend canvas specification to include scroll bar functionality? To add scroll bar, to manage scroll bar (total size, page size). Creating control based on canvas that needs scrollbar at this point is unnecessarily difficult at this point. Brona Klucka

Re: [whatwg] Canvas ScrollBar

2011-10-20 Thread Bronislav Klučka
On 20.10.2011 14:35, João Eiras wrote: On Thu, 20 Oct 2011 14:14:12 +0200, Bronislav Klučka bronislav.klu...@bauglir.com wrote: Hello, Would it be possible to extend canvas specification to include scroll bar functionality? To add scroll bar, to manage scroll bar (total size, page size

Re: [whatwg] Selector API

2011-10-17 Thread Bronislav Klučka
On 17.10.2011 22:41, Boris Zbarsky wrote: On 10/17/11 4:06 PM, Bronislav Klučka wrote: Hello, but let's say there are multiple ul.list element on the page and e.g. via click event I got reference to one of those list myListVariable.querySelectorAll( li); does not work... selector is missing

[whatwg] Same origin - Blob and FileSystem URLs

2011-10-12 Thread Bronislav Klučka
Hello Certain parts of spesc are covering how to work with resources identified by URL and same-origin issue (download attribute, canvas) looking at same-origin algorithm http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#same-origin I'm wondering about Blob URL and

Re: [whatwg] Requesting JSON.toXML

2011-09-30 Thread Bronislav Klučka
hi 1/ Looking at the example below and the I'd like to skip the population of a DOM via: for(var i in obj) { dom.appendChild(i); }; from mail in this thread, you have certain nativity about XML... the element does not only have content, but also attributes, so each element would have to

Re: [whatwg] HTML5 Site Headers

2011-09-16 Thread Bronislav Klučka
provider forum how this affects SEO. Bronislav Klučka

Re: [whatwg] add html-attribute for responsive images

2011-08-30 Thread Bronislav Klučka
On 30.8.2011 17:23, Anne van Kesteren wrote: On Tue, 30 Aug 2011 17:18:38 +0200, Karl Dubost ka...@opera.com wrote: Le 30 août 2011 à 10:51, Anne van Kesteren a écrit : On Tue, 30 Aug 2011 16:31:59 +0200, Karl Dubost ka...@opera.com wrote: * It is in fact an issue for being able to make the

Re: [whatwg] Empty elements

2011-08-29 Thread Bronislav Klučka
On 29.8.2011 12:17, Jukka K. Korpela wrote: 29.8.2011 13:10, Simon Pieters wrote: In which way is void better than empty? The sentence p/p is an empty element since it has no content, but p is not an empty element. is more confusing. More confusing than what? (Is that hypothetical

[whatwg] Empty elements

2011-08-27 Thread Bronislav Klučka
Hi, HTML5 defines several void elements. I think this enumeration is insufficient, and I'd like to suggest to simply allow every element to have syntax with / at the end if such element has no content. e.g div class=placeholder / script src=lib.js / Brona Klucka

Re: [whatwg] WebSocket framing

2011-08-22 Thread Bronislav Klučka
On 21.8.2011 18:44, John Tamplin wrote: On Sun, Aug 21, 2011 at 5:05 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: Hello, I'm looking at current WebSocket interface specification http://www.whatwg.org/specs/**web-apps/current-work/** complete/network.html#the-**websocket

[whatwg] WebSocket framing

2011-08-21 Thread Bronislav Klučka
Hello, I'm looking at current WebSocket interface specification http://www.whatwg.org/specs/web-apps/current-work/complete/network.html#the-websocket-interface 1/ and I'm missing the ability to specify, whether data to be sent are final or not (whether the frame to be sent should be continuous