Re: [whatwg] File based permission files?

2012-06-13 Thread Ian Hickson
; http://www.google.com/crossdomain.xml > http://www.apple.com/crossdomain.xml > http://www.yahoo.com/crossdomain.xml > http://www.adobe.com/crossdomain.xml Given the number of security problems this has caused, I do not think we should go down this route. -- Ian Hickson U+1047E

Re: [whatwg] DOMContentLoaded, load and current document readiness

2012-06-13 Thread Ian Hickson
On Fri, 20 Apr 2012, Henri Sivonen wrote: > On Tue, Jan 10, 2012 at 2:10 AM, Ian Hickson wrote: > > On Tue, 31 May 2011, Henri Sivonen wrote: > >> > >> Recently, there was discussion about changing media element state in > >> the same task that fires the

Re: [whatwg] readyState transitions when aborting a document

2012-06-13 Thread Ian Hickson
ll? > > * Should reaching "interactive" always involve firing "DOMContentLoaded"? > > Probably. Why? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [html5] r7128 - [giow] (2) Try to define img synchronous loading. Affected topics: HTML

2012-06-13 Thread Ian Hickson
gt; > Yeah or maybe even merge this algorithm, the fetch algorithm, and the > cross-origin request algorithms. Currently it's extremely hard to > follow. Anne and I plan to do so at some point but doing so would be a lot of work and we both have bigger fish to fry right now. --

Re: [whatwg] Dialogs and prompts

2012-06-11 Thread Ian Hickson
On Wed, 11 Apr 2012, Tab Atkins Jr. wrote: > On Wed, Apr 11, 2012 at 6:28 PM, Ian Hickson wrote: > > On Wed, 11 Apr 2012, Tab Atkins Jr. wrote: > >> Note that 's model is FILO, while Darin was asking for FIFO. > > > > I'm not sure I understand when one w

Re: [whatwg] 'Applicable Specifications'' Relevance Authors

2012-06-11 Thread Ian Hickson
http://developers.whatwg.org/elements.html I have changed the internal labeling accordingly. Let me know if you want even more of that section exposed to the author version. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Readiness of script-created documents

2012-06-11 Thread Ian Hickson
On Fri, 30 Mar 2012, Henri Sivonen wrote: > On Fri, Jan 13, 2012 at 2:26 AM, Ian Hickson wrote: > > Jonas is correct. Since there was no interop here I figured we might > > as well go with what made sense. > > I'm somewhat unhappy about fixing IE-introduced APIs to

[whatwg] Accept-Language DOM API proposal

2012-06-11 Thread Ian Hickson
ns (you don't want to wait a round-trip to get the UI strings, and you don't want to send all the UI strings, typically), so HTTP headers would be enough. However, I'd love to be proved wrong, so my recommendation would be to advocate this to browser vendors and see what they are willing to implement. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Machine translation and related proposals

2012-06-11 Thread Ian Hickson
On Mon, 26 Mar 2012, Adam Barth wrote: > On Mon, Mar 26, 2012 at 3:17 PM, Ian Hickson wrote: > > On Mon, 26 Mar 2012, Adam Barth wrote: > >> > >> WebKit recently implemented > >> http://www.whatwg.org/specs/web-apps/current-work/#attr-translate, > >

Re: [whatwg] Image cache behaviour

2012-06-11 Thread Ian Hickson
ers), and the user agent is configured such that it is to reuse > the data from the existing download instead of initiating a new one, > then use the results of the existing download instead of starting a > new one. Right now I haven't specced anything like this. Ideally I'

Re: [whatwg] FileList usage

2012-06-08 Thread Ian Hickson
ng first. > FileList I haven't changed FileList usage because it seems controversial; I'd be happy to do so though if that is what the File API specs' editors want me to do. > SQLResultSetRowList This is a WebKit-only feature now, it was dropped from the spec long ago. -- I

Re: [whatwg] feedback

2012-06-08 Thread Ian Hickson
On Sat, 25 Feb 2012, Glenn Maynard wrote: > On Wed, Feb 15, 2012 at 6:19 PM, Ian Hickson wrote: > > On Fri, 22 Jul 2011, Glenn Maynard wrote: > > > On Fri, Jul 22, 2011 at 2:58 AM, Ian Hickson wrote: > > > > As Ian says above, if the user is savvy enough to rig

Re: [whatwg] Proposal to extend Microdata API specification

2012-06-08 Thread Ian Hickson
Unfortunately an item can have multiple parents: ...so it's not obvious how to make this work. Can you elaborate on the use case? (You gave some sample markup but I couldn't work out what it was trying to do and why microdata would be t

Re: [whatwg] some thoughts on bring HTTP upon UDP: iWebPP - instant web p2p technology

2012-06-08 Thread Ian Hickson
d place to bring this up might be the HTTPbis Working Group, which > will be looking at what HTTP/2.0 might be very soon. I haven't added anything to the HTML spec on this. If you want to pursue this kind of feature, I recommend doing as Julian suggests, or, even better, approachin

Re: [whatwg] Validator.nu: "Attribute role not allowed on element h2 at this point."

2012-06-08 Thread Ian Hickson
On Mon, 12 Mar 2012, Charles Pritchard wrote: > On 3/12/2012 5:52 PM, Ian Hickson wrote: > > On Mon, 12 Mar 2012, Charles Pritchard wrote: > > > > > > > > Ignore the error, the HTML5 spec does not reflect implementations > > > > in this section a

Re: [whatwg] Specify href target with HTTP headers

2012-06-08 Thread Ian Hickson
ems to me that the trend is towards making applications more client-server driven with a static HTML page talking to a WebSocket server and without loading new HTML for each options page, for instance. So I don't know how much value there is in adding features to this kind of thing. -

Re: [whatwg] window.close() and user-initiated

2012-06-08 Thread Ian Hickson
at were allowed, with the restriction that WebKit has, namely that > once the user navigates the newly opened browsing context (and gains a > history), it can no longer be closed. Done. -- Ian Hickson U+1047E)\._.,--,'``.fL http:/

Re: [whatwg] Can we deprecate alert(), confirm(), prompt() ?

2012-06-08 Thread Ian Hickson
rowsers keep them modal to less than the entire browser, browsers detect abuse patterns like multiple alerts in a row, etc. Practically speaking, we can't stop supporting them. Lots of the Web rely on them. So there's no point deprecating them, it wouldn't change anything. -- Ia

Re: [whatwg] Relation between "bordercolor" and "border" attributes

2012-06-07 Thread Ian Hickson
browser's default stylesheet, and whether > they default borders to "border-style: solid; border-color: > currentColor;" or "border-style: solid; border-width: 0px;". Browsers > are allowed to do either. The spec actually defines t

Re: [whatwg] feedback

2012-06-07 Thread Ian Hickson
o this is . That would solve lots of other problems too, e.g. "copy link location". -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] A usecase

2012-06-07 Thread Ian Hickson
On Fri, 2 Mar 2012, Gray Zhang wrote: > > I've noticed a scoped attribute for link element has been previously > discussed, I'm currently working with some new HTML features and find a > case where the scoped attribute is required on link element. > > I'm working on an code editor and building

Re: [whatwg] Why children of datalist elements are barred from constraint validation?

2012-06-07 Thread Ian Hickson
On Tue, 21 Feb 2012, Jonas Sicking wrote: > On Tue, Feb 14, 2012 at 10:05 PM, Ian Hickson wrote: > > In short, I agree that if the implementation cost was high here that we > > could compromise on this design and go with something less clean or with > > less graceful fallbac

Re: [whatwg] Caching of identical files from different URLs using checksums

2012-06-07 Thread Ian Hickson
f times. Unfortunately, each time it has not gotten traction from browser vendors. I recommend approaching browser vendors directly and encouraging them to implement a solution along these lines. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Allow Fallback Text to Render Section Titles in Outlines

2012-06-07 Thread Ian Hickson
nt. I haven't checked if the SVG spec is as detailed about that case. In other words, this seems to be a bug in your outliner programs. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] should we add beforeload/afterload events to the web platform?

2012-06-07 Thread Ian Hickson
On Sat, 4 Feb 2012, Boris Zbarsky wrote: > On 2/3/12 11:15 PM, Ian Hickson wrote: > > I agree with you that if the author is using HTTP styles on their > > HTTPS page that an attacker could screw with the page. But my point is > > that fixing that is easy: just move the st

Re: [whatwg] Browser-as-Desktop: Widgets in the browser

2012-06-07 Thread Ian Hickson
rk in features similar to what you describe, e.g. Apple's Dashboard widgets can be built from arbitrary snippets of Web pages, and even before that, Microsoft's ActiveDesktop feature allowed widgets made from Web pages to be embedded on the desktop or in Windows shell bars

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

2012-06-07 Thread Ian Hickson
On Wed, 1 Feb 2012, Bronislav Klu�~Mka wrote: > 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 > > >

Re: [whatwg] tabindexscope

2012-06-07 Thread Ian Hickson
in self-contained components, which should IMHO be defined as a tab order scope -- we don't need an attribute in HTML to support that. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] tabindexscope

2012-06-06 Thread Ian Hickson
On Mon, 30 Jan 2012, Tab Atkins Jr. wrote: > On Mon, Jan 30, 2012 at 1:54 PM, Ian Hickson wrote: > > On Tue, 8 Nov 2011, Ojan Vafai wrote: > >> We keep running into the use case where the physical position matters > >> for the tab order. The problem with just setting

Re: [whatwg] Proposal: "Offline-Capable" Meta Tag and API Indicates Application's Ability to Function Without Network Connection

2012-06-06 Thread Ian Hickson
On Fri, 27 Jan 2012, Brian Blakely wrote: > On Fri, Jan 27, 2012 at 4:50 PM, Ian Hickson wrote: > > On Fri, 27 Jan 2012, Brian Blakely wrote: > > > > > > "What kind of app are you considering that needs 700MB at once?" > > > > > > I&#x

Re: [whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior

2012-06-06 Thread Ian Hickson
On Fri, 27 Jan 2012, Boris Zbarsky wrote: > On 1/27/12 1:30 AM, Ian Hickson wrote: > > On Wed, 5 Oct 2011, Henri Sivonen wrote: > > > On Tue, Oct 4, 2011 at 9:54 PM, Boris Zbarsky wrote: > > > > What Firefox does do is block execution of

Re: [whatwg] beforepopstate event?

2012-06-06 Thread Ian Hickson
e the same code is still running. > Unless I missed something, all I can do is to handle the hashchange or > popstate event and use Window.confirm() or similar, and only update > the page from the location.hash or history.state if he confirms; but > then navigation has already

Re: [whatwg] Cut and paste (and related) events' futures

2012-06-06 Thread Ian Hickson
allvord's work cited above. I haven't reviewed it closely. I think it might make sense to embed it into the larger HTML spec, but that's basically up to Hallvord. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [Selectors4] case-insensitive attribute value matching (in XML)

2012-06-05 Thread Ian Hickson
On Sat, 21 Jan 2012, Leif Halvard Silli wrote: > Ian Hickson on Fri Jan 20 14:31:01 PST 2012: > > On Tue, 26 Jul 2011, Christoph Päper wrote: > >> Anne van Kesteren: > >> > I'm still trying to get HTML and browsers to change so that attribute > >

[whatwg] Various HTML element feedback

2012-06-05 Thread Ian Hickson
On Sat, 21 Jan 2012, Jukka K. Korpela wrote: > 2012-01-21 0:30, Ian Hickson wrote: > > On Tue, 26 Jul 2011, Jukka K. Korpela wrote: > > > > > > I don’t think you have clarified whether is suitable for > > > physical quantities, but I guess you meant to imply

Re: [whatwg] MediaController feedback

2012-06-05 Thread Ian Hickson
resume. It should remain paused. > Whatever use case is served by allowing a paused media element to remain > paused in a playing media controller, that use case could also be > achieved by removing the element from the media controller, then pausing &

Re: [whatwg] s in by quality as well as codec

2012-06-05 Thread Ian Hickson
essence. If this is for a site like YouTube, I think an adaptive network channel would be a more effective solution (i.e. one where the download adapts in real time to changing network conditions, with the endpoints negotiating with each other regarding what to transmit). -- Ian Hickson

Re: [whatwg] [html5] r6895 - [ac] (0) Tweak hidden='''s definition a bit to be more consistent with likely us [...]

2012-06-05 Thread Ian Hickson
nced from the images or videos that they describe" ? > > IMO that would resolve several of the accessibility issues for the > video element, including poster-alt. The text in question is non-normative, so changing it wouldn't affect anything. What you de

Re: [whatwg] video element not ready for prime time

2012-06-05 Thread Ian Hickson
s of Opera and Firefox) is a blank screen. No message (as I > > would get with ) and as far as I can see there is no way for me > > as an author to know that the video is not being played so I cannot > > code a 'write around'. > > I brought up this same conce

Re: [whatwg] video element not ready for prime time

2012-06-05 Thread Ian Hickson
act algorithm is described in detail. Essentially it's source order, yes. > Also will my user agent down-load the file that it cannot play, thus > using up band-width? Enough of it to determine it cannot play it, yes, unless you provide attributes on for it to determ

Re: [whatwg] I have feature requests for and tags.

2012-06-05 Thread Ian Hickson
#x27;t scale. On Wed, 16 Nov 2011, crocket wrote: > > 2) tag needs subtitle attribute. > > Without a subtitle attribute, people need to reencode videos with > subtitles to present the videos with subtitles on the web. I think > charset attribute for manually

Re: [whatwg] and tags need to have volume attribute.

2012-06-05 Thread Ian Hickson
; tags, I would be able to set the volume without javascript. What's the use case for setting the volume to anything but 1.0 (normal volume, controlled by the user's master volume control) or 0.0 (muted)? -- Ian Hickson U+1047E)\._.,--,'`

Re: [whatwg] MediaController feedback

2012-06-04 Thread Ian Hickson
must begin playing, and one added to a paused media > controller must pause. > > + Modiy the section "controller . play()"[6] to require that the user > agent unpause all the slaved media elements. > > + Modify the section "controller . pause()"[7] to requir

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-06-01 Thread Ian Hickson
setText isn't IMO. > > > > .setText("foo") sounds like it should set the entire text, not just > > the selected text. > > I think the problem is that it automatically uses selectionStart & > selectionEnd when offsets are not su

Re: [whatwg] Canvas v5 API additions

2012-05-31 Thread Ian Hickson
On Thu, 29 Mar 2012, Ashley Gullen wrote: > On 28 March 2012 22:41, Ian Hickson wrote: > > On Sat, 29 Oct 2011, Ashley Gullen wrote: > > > > > > I had a quick go with setting ctx.mozImageSmoothingEnabled = false. > > > It works great with drawImage.

Re: [whatwg] Canvas: imageSmoothingEnabled not part of the state stack?

2012-05-29 Thread Ian Hickson
s to be the case for the new line dash parameters. > > Intentional, or oversight? Oversight. Fixed. Thanks. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

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

2012-05-29 Thread Ian Hickson
me. I'll spec whatever ends up implemented here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Data store readability in drag/dragend

2012-05-29 Thread Ian Hickson
manmmo.com/index.php?cmd=newsitem&comment=news.1.83.0 is > one person's attempt to work around the current limitations of the > system. What's the use case? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

[whatwg] Features for responsive Web design

2012-05-15 Thread Ian Hickson
On Wed, 25 Jan 2012, Matthew Wilcox wrote: > On 24 January 2012 23:26, Ian Hickson wrote: > > On Wed, 24 Aug 2011, Anselm Hannemann - Novolo Designagentur wrote: > > > > > > As we now have the possibility of creating fluid and responsive > > > layouts in

Re: [whatwg] media attribute behavior, static or dynamic ?

2012-05-10 Thread Ian Hickson
tion algorithm". The only time, therefore, that you should ever be affected by the media="" attribute, is when you reach that step in your implementation. There is nothing that causes that to happen when the environment changes. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] media attribute behavior, static or dynamic ?

2012-05-10 Thread Ian Hickson
an tell, the behaviour here is strictly and unambiguously defined, leaving only one possible interpretation, so it's not clear to me how to make it less ambiguous. Could you elaborate on what interpretations of the spec you think are possible? -- Ian Hickson U+1047E

Re: [whatwg] Proposal in supporting the writing of "Arabizi"

2012-05-10 Thread Ian Hickson
On Thu, 10 May 2012, Sami Eljabali wrote: > On Thu, May 10, 2012 at 12:38 PM, Ian Hickson wrote: > > On Thu, 10 May 2012, Sami Eljabali wrote: > > > > > > > > I don't understand. Everybody has an operating system. Why would > > > > putting

Re: [whatwg] Proposal in supporting the writing of "Arabizi"

2012-05-10 Thread Ian Hickson
> browser does, at one level or another. > > Good luck pushing Apple & Microsoft in implementing this. If we create > this as a tag then we'd push every OS vendor to support it. Why would Apple and Microsoft be any more likely to think it worth implementing in their bro

Re: [whatwg] Proposal in supporting the writing of "Arabizi"

2012-05-08 Thread Ian Hickson
hem. On Sun, 4 Dec 2011, Ryosuke Niwa wrote: > > Why would implementing IME for such an OS be harder than implementing > one for the web browser? Indeed. From the spec's point of view, they're more or less equivalent. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] instantiating display:none plugins

2012-05-08 Thread Ian Hickson
t; not web-compat-related and not necessarily about plug-ins, but the users > in those threads want the old display: none behavior back. > > I still think display: none shouldn't affect instantiation and > if there needs to be a solution, it should be an attribute and we sho

Re: [whatwg] Add "naturalOrientation" property to

2012-05-08 Thread Ian Hickson
ays, the inner arrays all having two members that are numbers. All other types would just be numbers, with "UNDEFINED" (7) treated as "BYTE" (1). Is this something browser vendors would be interested in implementing? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] implementation feedback

2012-05-08 Thread Ian Hickson
run at all. The window size is allowed to be any dimension at all. CSS isn't required to be supported at all. Users are allowed to apply arbitrary user style sheets. Users are allowed to interact with form controls by using the keyboard or the mouse or any other input device. All of these do break some pages. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Video- and audio-controls without scripting

2012-05-08 Thread Ian Hickson
ailable. See the second paragraph of: http://www.whatwg.org/specs/web-apps/current-work/#user-interface -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] More forms-related feedback

2012-05-07 Thread Ian Hickson
t type=number is meant to be used for numbers, rather than for > strings that happen to contain mostly numbers. The specification does > indeed require a *more* semantically correct input type=text for those > cases. Right. On Mon, 13 Feb 2012, fantasai wrote: > > The spec co

[whatwg] Can we change the base URL of fallback entries in appcache manifests? and other feedback

2012-05-07 Thread Ian Hickson
where > different documents require different versions of the same editor. > > The set of caches required on a particular browser depends on the > documents synced there. A given set of documents will require a > particular (much smaller) set of caches to open. The set of caches &

Re: [whatwg] Search-suggestions without scripting

2012-05-04 Thread Ian Hickson
the end of the story. For example, Chrome does more than just list the search autocomplete results; it also loads the first suggestion in the background, and mixes in results from local history search, etc. Other browsers do similar mixing. While this works well for browser UI, where

Re: [whatwg] input type=barcode?

2012-05-04 Thread Ian Hickson
he page itself. I don't see that there's much need for the UA to do it natively. On Wed, 3 Aug 2011, Randy wrote: > > On top of that, the vast majority of these readers just translate it > back to text. It's just another input "device", as barcodes are fixe

Re: [whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-04 Thread Ian Hickson
On Fri, 4 May 2012, Rafael Weinstein wrote: > On Fri, May 4, 2012 at 2:46 PM, Ian Hickson wrote: > > On Fri, 4 May 2012, Rafael Weinstein wrote: > >> > >> This is the current proposal: > >> > >> http://lists.w3.org/Archives/Public/public-webapp

Re: [whatwg] [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

2012-05-04 Thread Ian Hickson
of: var frag = document.createDocumentFragment(); frag.innerHTML = 'bla bla .. 1GB of text .. bla bla' ? Why do we imply a tbody if the input is ""? Since you need the context element to know how to initialise the tokeniser, how do you find the first tag?

[whatwg] Localisation of form fields

2012-05-04 Thread Ian Hickson
ing the JS level have to explicitly use the TimeSeparator for example seems like asking the authors to do too much minutiae that could be taken care of at a higher level (CSS). On Fri, 27 Jan 2012, TAMURA, Kent wrote: > > Form control presentations and ECMA Globalization AP

Re: [whatwg] Form element invalid message

2012-05-04 Thread Ian Hickson
On Thu, 28 Jul 2011, Ian Hickson wrote (I'm replying to myself here...): > On Fri, 29 Apr 2011, Jonas Sicking wrote: > > On Fri, Apr 29, 2011 at 3:42 PM, Ian Hickson wrote: > > > On Wed, 29 Dec 2010, Mounir Lamouri wrote: > > >> On 12/29/2010 07:41 AM, Ian H

[whatwg] password-related feedback on forms

2012-05-04 Thread Ian Hickson
word" paths, etc. > - the browser may give the user the full controle/overview over page > logins Sites seem to do this pretty well themselves, currently. Is there a need for more? > - very simple to set up I'm not sure it's really that much simpler than cookies.

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
design feature into the API layer. But I'll leave it up to the DOM guys to decide what to do for that interface. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Can we make checkboxes readonly?

2012-05-02 Thread Ian Hickson
d > to highlight or unhighlight a cell, because disabled checkboxes do not > respond to nor fire these events. Some consistency here with other input > types like textbox would be very much appreciated. It doesn't sound like a checkbox control if it's not interactive. In similar situations, I've just made the table display the data with s and characters or graphics for the status (check marks, etc), with the data stored in controls for submission. I think that's probably the better approach here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] restricted palette for input type=color

2012-05-02 Thread Ian Hickson
ly rely on Web Components to solve the problem (styling a with a new presentation, e.g.). > While searching the list archives, I found a message from Ian Hickson: > http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2008-November/017482.html > He suggested to use a select element for

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
On Wed, 2 May 2012, Rick Waldron wrote: > On Wed, May 2, 2012 at 6:13 PM, Ian Hickson wrote: > > On Fri, 28 Oct 2011, David H�s�ther wrote: > > > > > > It would be more useful if the DOMTokenList methods (contains, add, > > > remove, toggle) would take a spa

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
haining like: > >foo.toggle('bar baz').remove('bat'); That makes for very hard to read code, IMHO. I much prefer: foo.toggle('bar'); foo.remove('bat'); -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] classList should perhaps move from HTMLElement to Element

2012-05-02 Thread Ian Hickson
.classList is on SVG and HTML nodes but not on nodes from unknown namespaces). (Didn't have other browsers available to test on this machine.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\

Re: [whatwg] Form input element for value-unit pairs

2012-05-02 Thread Ian Hickson
; ^-- cursor would not pass this point > > Extra: > > This is more interesting for other types of input, not necessarily > numeric, like IPv4, currencies, HH:MM, .. That's an interesting idea, but it might be something we should leave to the Web Componen

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-30 Thread Ian Hickson
lue.substr(5, 10); > > we need to serialize the string immediately before the statement in the > line 2 is evaluated. That's just copy-on-write. It's hardly rocket science. :-P -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-30 Thread Ian Hickson
wser vendors to performance optimize (e.g. don't need > to convert the whole string to a JS string just to get the 5 selected > characters out). Is that really that expensive? Seems like it'd be better just to have UAs optimise their JS string implementations so that it can just

Re: [whatwg] On implementing videos with multiple tracks in HTML5

2012-04-30 Thread Ian Hickson
tracks? > This could be a context menu functionality, so is probably not so much a > need to include in the HTML5 spec, but it's something that browsers can > consider to provide. And since muxing isn't quite as difficult a > functionality as e.g. decoding video, it cou

[whatwg] More feedback relating to and modal section

2012-04-30 Thread Ian Hickson
ts, but the developer would normally > need to adjust the style using CSS for proper sizing and positioning. That's more or less how the new element works. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Exposing framerate / statistics of playback and related feedback

2012-04-30 Thread Ian Hickson
7;m still unclear as to what the use cases are, so it's hard to evaluate this proposal. On Thu, 31 Mar 2011, Silvia Pfeiffer wrote: > > Please note that I've started a wiki page at > http://wiki.whatwg.org/wiki/Video_Metrics to try and collect all ideas > around media element statistics. Please add freely! The use cases on this page aren't really use cases, especially for "decodedFrames" and subsequent proposals. They just describe what the attributes do, not what problem they solve. On Thu, 27 Jan 2011, Steve Lacey wrote: > On Thu, Jan 27, 2011 at 3:53 PM, Chris Pearce > wrote: > > > > Out of curiosity, why do you want this feature? What does it give you > > that @buffered and @currentTime does not? > > Being able to determine the bitrate that's currently being decoded has > been a request from devs (for similar reasons that devs on the FOMS list > have I expect). Raw data seems generally useful. Can you elaborate on these reasons? Raw data is often interesting, but not always useful. There's terabytes of data per second that we could be exposing that we do not, due to lack of use cases. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-28 Thread Ian Hickson
On Sat, 28 Apr 2012, Ryosuke Niwa wrote: > On Sat, Apr 28, 2012 at 9:30 AM, Ian Hickson wrote: > > > > > > I think reusing execCommand is better than adding new method for > > > input/textarea elements for each new feature request like this one. > > > &g

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-28 Thread Ian Hickson
ea elements for each new feature request like this one. If it was a contentEditable feature I'd reluctantly agree (reluctantly because execCommand is a terrible API), but I really don't see why execCommand() would work on input controls. -- Ian Hick

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-27 Thread Ian Hickson
ot limited to replacing the selected text, it can be any region. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-27 Thread Ian Hickson
rt, end) > so, > textobj.getRangeText() gives current selection > textobj.getRangeText(0) gives from start of text to current selection end > textobj.getRangeText(null, -1) gives from current selection start to end of > text Getting the text from a range is already rather simple (as demonstrated at the top of this e-mail), so I don't think that's necessary. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Audio related feedback from years past

2012-04-26 Thread Ian Hickson
not seen much demand for it, but that doesn't mean we shouldn't eventually handle it. On Sat, 8 Aug 2009, Chris McCormick wrote: > > I'd like to reiterate the previously expressed sentiment that only > implementing pre-rendered audio playback is like having a browser that > only supports static images loaded from the server instead of animations > and tags. So what you're saying is that we should wait ten years from when we added before adding a way to do dynamic audio, right? Like we did with and . :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] played member expected behavior.

2012-04-26 Thread Ian Hickson
gt; playback. I think playback probably is the most useful. The use case here was updating a playback scrub bar with colour for where the user has already watched the video, and zero-length entries aren't useful for that. I've made a note of this e-mail to fix the spec, but in the abse

Re: [whatwg] [Canvas] Text height

2012-04-25 Thread Ian Hickson
On Mon, 23 Apr 2012, Tyler Larson wrote: > > The measureText method in canvas' 2d context only returns the width of a > span of text. Why not the height? Your information is out of date. :-) http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-measuretext -

[whatwg] Administrivia

2012-04-23 Thread Ian Hickson
nism, anyone who wishes to co-sign the agreement [2] will be invited to do so. [1] http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html [2] http://www.w3.org/community/about/agreements/final/ -- Ian Hickson U+1047E)\._.,--,'``.

Re: [whatwg] createTBody on the table element.

2012-04-23 Thread Ian Hickson
for WebKit but I'm wondering why this > method exists as you can do what it does with the regular DOM API. Is it > convenience? It was added to be consistent with createTFoot and > createTHead? Consistency and convenience, yes. -- Ian Hickson U+1047E

Re: [whatwg] CSP sandbox directive integration with HTML

2012-04-16 Thread Ian Hickson
oing to refactor the machinery in the spec to be a bit more generic > and to call out to the CSP spec to get the sandbox flags from the CSP > policy. This is done now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Confirming understanding about window.location's interaction with sandboxed seamless iframes

2012-04-11 Thread Ian Hickson
ample.com/</a>';"> > > In this case, navigating the parent is blocked because the sandbox > prevents the child from navigating it's parent. The blocking happens in step 2, which is before the seamless redirection which is in step 3, so in this case it's

Re: [whatwg] Dialogs and prompts

2012-04-11 Thread Ian Hickson
On Wed, 11 Apr 2012, Tab Atkins Jr. wrote: > On Wed, Apr 11, 2012 at 4:26 PM, Ian Hickson wrote: > > On Thu, 29 Mar 2012, Darin Fisher wrote: > >> Also, there is a downside to the current convention of custom drawing > >> modal dialogs.  Web pages that mash-up

[whatwg] Dialogs and prompts

2012-04-11 Thread Ian Hickson
particular for working on that spec. On Tue, 20 Mar 2012, Adam Barth wrote: > On Mon, Mar 19, 2012 at 2:20 PM, Ian Hickson wrote: > > On Mon, 19 Mar 2012, Jochen Eisinger wrote: > >> > >> The motivation for this is that in a tabbed browser, modal dialogs > >

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-09 Thread Ian Hickson
On Mon, 9 Apr 2012, Tyler Close wrote: > On Mon, Apr 9, 2012 at 4:48 PM, Ian Hickson wrote: > > On Mon, 9 Apr 2012, Tyler Close wrote: > >> > >> The RPH handler doesn't need to know which is the legit site. The RPH > >> handler just needs to kno

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-09 Thread Ian Hickson
bout describing the reality here, unfortunately.) > The vulnerability is that window.location can be overwritten by other > code running in the browser. Then we should fix _that_. This has nothing to do with register*Handler(). If window.location can be overritten cross-origin, then half

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-09 Thread Ian Hickson
ppear and then navigate it to the mailto: handler with the parameters you want. Since browsers only allow "tampering" with the fragment identifier, the simpler solution is to just not use the fragment identifier. > Rather than quibble about how a future attacker might make use of this

Re: [whatwg] Fullscreen and non-HTML elements

2012-04-09 Thread Ian Hickson
t into the fullscreen might > be a handy feature creep... > "Pan and zoom" pans, and zooms, a rectangular area inside an element. It does not individually render a specific SVG subtree. The SVG specifications do not define rendering for subtrees that are not rooted at elements (and rightly so; the element is needed to define things like the coordinate space). -- Ian Hickson

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-07 Thread Ian Hickson
On Fri, 6 Apr 2012, Tyler Close wrote: > On Fri, Apr 6, 2012 at 3:36 PM, Ian Hickson wrote: > > On Fri, 6 Apr 2012, Tyler Close wrote: > >> > > >> > Well if it's an iframe, the parent can't be anything but the > >> > original origin, as f

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-06 Thread Ian Hickson
s they cannot be trusted in a load from another web page. I don't see how they can be viewed as "trusted". > With a small change, we can prevent a client page from faking an RPH > dispatch to a handler page. It's just a page load, not a "fake RPH dispatch". I don't understand the problem here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-06 Thread Ian Hickson
On Fri, 6 Apr 2012, Tyler Close wrote: > On Mon, Apr 2, 2012 at 4:39 PM, Ian Hickson wrote: > > On Mon, 26 Sep 2011, Tyler Close wrote: > >> > >> I was recently experimenting with the registerProtocolHandler (RPH) > >> API and came across a couple of s

Re: [whatwg] Fullscreen and non-HTML elements

2012-04-06 Thread Ian Hickson
such. There's plenty of HTML elements that it doesn't make sense to fullscreen either -- e.g. , any of the ones in , any with a hidden="" attribute, any marked display:none, etc. So we have to handle that anyway. -- Ian Hickson U+1047E)\._.,--,&#x

<    6   7   8   9   10   11   12   13   14   15   >