[whatwg] Fieldset interoperability work

2018-08-15 Thread Simon Pieters
https://docs.google.com/spreadsheets/d/1y8LAcvyna4ph2WQvTb4gjOIvEEGzm-zIBOVYuyDfneU/edit?usp=sharing cheers, -- Simon Pieters https://bocoup.com/

Re: [whatwg] Suggestion: Element.scrollParent

2017-06-11 Thread Simon Pieters
this API. cheers -- Simon Pieters Opera Software

Re: [whatwg] [css-display] CSS Display Review

2016-09-20 Thread Simon Pieters
the spec says. Which brings me back to my claim that the spec is not clear enough: one of you two is wrong, which isn't really a situation that should arise with a clear spec. I have tried to clarify this in https://github.com/whatwg/html/pull/1799. cheers -- Simon Pieters Opera Software

Re: [whatwg] possible new parameters to video.play() ?

2016-09-19 Thread Simon Pieters
be room in future for (start, end) parameters? There is always room for adding convenience APIs, it's a matter of demonstrating that it's a common enough need to make it worth the cost of adding it. https://wiki.whatwg.org/wiki/FAQ#Where.27s_the_harm_in_adding.E2.80.94 HTH, -- Simon Pieters Opera Software

Re: [whatwg] possible new parameters to video.play() ?

2016-09-18 Thread Simon Pieters
ck-api:the-audio-element for an example. -- Simon Pieters Opera Software

Re: [whatwg] : Issue reported by the web developers

2015-10-07 Thread Simon Pieters
On Wed, 07 Oct 2015 07:12:16 +0200, Anne van Kesteren wrote: On Wed, Nov 26, 2014 at 9:50 AM, Simon Pieters wrote: Make the end tag optional and have , and generate implied end tags. (Maybe other tags like and can also imply .) The label attribute be honored if specified

Re: [whatwg] Supporting feature tests of untestable features

2015-04-09 Thread Simon Pieters
On Thu, 09 Apr 2015 09:50:34 +0200, Simon Pieters wrote: I don't disagree here. I just don't come to the conclusion that we should have an API to test everything under the sun. I don't mind changing or adding things to help feature-test things that are not currently testab

Re: [whatwg] Supporting feature tests of untestable features

2015-04-09 Thread Simon Pieters
ion that we should have an API to test everything under the sun. I don't mind changing or adding things to help feature-test things that are not currently testable in compliant implementations. -- Simon Pieters Opera Software

Re: [whatwg] Parsing: how to deal with marker while reconstructing the active formatting elements?

2015-04-09 Thread Simon Pieters
On Wed, 08 Apr 2015 14:46:44 +0200, Mikko Rantalainen wrote: Simon Pieters (2015-04-08 11:07 Europe/Helsinki): On Wed, 08 Apr 2015 07:55:26 +0200, Mikko Rantalainen wrote: The section 12.2.3.3 The list of active formatting elements (https://html.spec.whatwg.org/multipage/syntax.html#the

Re: [whatwg] Parsing: how to deal with marker while reconstructing the active formatting elements?

2015-04-08 Thread Simon Pieters
r.) What is the input that triggers this? I fail to come up with a list of active formatting elements that makes the reconstruct algorithm have a marker as entry in step 8. -- Simon Pieters Opera Software

Re: [whatwg] Supporting feature tests of untestable features

2015-04-02 Thread Simon Pieters
rm-tests for cross-browser tests. For , we could solve the feature-testing problem by normalizing the case for supported keywords but not unsupported keywords, so you can check with .rel or .relList: function preloadSupported() { var link = document.createElement('link'); link.rel = 'PRELOAD'; return link.rel == 'preload'; } -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
he timeout, which is entirely reasonable. -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
where you want to fallback to when JS is enabled but still fails to run. I didn't see that being a requirement in the stackoverflow threads. -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
/questions/16289798/button-to-temporarily-disable-stop-meta-tag-refresh These can be solved with JS-only refresh, as far as I can tell. Any others? -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
not. Alternatively you could check stackoverflow. http://stackoverflow.com/search?q=stop+meta+refresh Would any of those benefit from being able to stop meta refresh, and JS-only redirect or are not enough? -- Simon Pieters Opera Software

Re: [whatwg] Responsive image maps

2015-03-26 Thread Simon Pieters
On Thu, 26 Mar 2015 01:47:57 +0100, Martin Janecke wrote: Am .03.2015, 16:08 Uhr, schrieb Simon Pieters : […] It seems to me that there are two use cases: 1. variable-size image map 2. art direction image map (1) is more common than (2). Yes, you're right. If there is implem

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
haven't demonstrated that anyone but you want the ability to stop a meta refresh, though. -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Allow disabling of default scroll restoration behavior

2015-03-26 Thread Simon Pieters
basis or on a per-navigation basis? If per-page, is it enough to just be able to turn it off (i.e. not turn it on again)? e.g. history.restoreScroll = false; or history.disableRestoreScroll(); -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-26 Thread Simon Pieters
ta is fetched using IE with the pref to follow meta refresh enabled, so zero-timeout meta refresh to a different url will not be in the data set, I think. -- Simon Pieters Opera Software

Re: [whatwg] Page refresh interface

2015-03-25 Thread Simon Pieters
it. Besides that, the spec says that UAs may expose the time (and other aspects) for a refresh event of the document and it also refers to the possibility for a user to "cancel the redirect", while as of now users aren't even informed, let alone allowed to interact with this event. -- Simon Pieters Opera Software

Re: [whatwg] Responsive image maps

2015-03-25 Thread Simon Pieters
ls from browser vendors. [1] The only new feature I'm aware of since HTML4 is HTMLMapElement#images. This feature has not been implemented by anyone, so unless somone suddenly shows interest implementing it, it will most likely be removed again. https://www.w3.org/Bugs/Public/show_bug.c

Re: [whatwg] Responsive image maps

2015-03-24 Thread Simon Pieters
On Fri, 20 Mar 2015 20:22:28 +0100, Martin Janecke wrote: Am .03.2015, 13:10 Uhr, schrieb Simon Pieters : Please leave out syntax proposals for now. What I think is needed first to drive this forward is: * Use cases. Why do you need this? In general it's needed to allow geom

Re: [whatwg] Responsive image maps

2015-03-19 Thread Simon Pieters
pages that work around the lack of this feature. * Why are alternatives like CSS-positioned links or SVG not better? * Is there implementation interest among browser vendors? -- Simon Pieters Opera Software

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-16 Thread Simon Pieters
doing the same for could be Web compatible, and Safari's behavior makes that seem likely, that seems like a pretty good outcome. Let's try it. https://code.google.com/p/chromium/issues/detail?id=413272#c6 -- Simon Pieters Opera Software

Re: [whatwg] scrap the srcset attribute

2015-03-02 Thread Simon Pieters
solved on the server. Are there other use cases? -- Simon Pieters Opera Software

Re: [whatwg] "resize" events on elements

2015-02-24 Thread Simon Pieters
h; likely that event can be renamed. https://html.spec.whatwg.org/multipage/embedded-content.html#the-video-element:event-media-resize -- Simon Pieters Opera Software

Re: [whatwg] Parsing of meta refresh needs tweaking

2015-01-07 Thread Simon Pieters
On Wed, 07 Jan 2015 08:55:02 +0100, Julian Reschke wrote: On 2015-01-07 08:52, Simon Pieters wrote: ... I hear (a) these pages have been broken in IE for a long time, and (b) only 23 (?) pages in your DB are found. Right. So why not just leave them broken? It's a worse

Re: [whatwg] *** GMX Spamverdacht *** Parsing of meta refresh needs tweaking

2015-01-06 Thread Simon Pieters
On Tue, 06 Jan 2015 08:35:54 +0100, Julian Reschke wrote: On 2014-12-11 09:09, Simon Pieters wrote: The spec's parsing rules of meta refresh causes infinite reloading on some pages. In particular, the spec requires the "url=" to be present, but there are pages that om

[whatwg] Parsing of meta refresh needs tweaking

2014-12-11 Thread Simon Pieters
s*[\"']?\s*\d+\s*;\s*url=") GROUP BY page 23 rows. I also noticed that Gecko allows the number to be omitted. I only found one page doing that and it was using content=";URL="> so it seems we can fail parsing for that case. -- Simon Pieters Opera Software

Re: [whatwg] : Issue reported by the web developers

2014-12-09 Thread Simon Pieters
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters wrote: On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson wrote: On Wed, 26 Nov 2014, Simon Pieters wrote: - Make the end tag optional and have , and generate implied end tags. (Maybe other tags like and can also imply .) The label

Re: [whatwg] : Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters wrote: SELECT COUNT(*) as num, CASE WHEN REGEXP_MATCH(LOWER(body), r']*>(\s*[^<]+)+\s*') THEN "has content" ELSE "no content" END as stat FROM [httparchive:runs.2014_08_15_requests_body] W

Re: [whatwg] : Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters wrote: On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson wrote: On Wed, 26 Nov 2014, Simon Pieters wrote: - Make the end tag optional and have , and generate implied end tags. (Maybe other tags like and can also imply .) The label

Re: [whatwg] : Issue reported by the web developers

2014-12-08 Thread Simon Pieters
On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson wrote: On Wed, 26 Nov 2014, Simon Pieters wrote: - Make the end tag optional and have , and generate implied end tags. (Maybe other tags like and can also imply .) The label attribute be honored if specified, otherwise use the textContent

Re: [whatwg] : Issue reported by the web developers

2014-11-26 Thread Simon Pieters
d can also imply .) The label attribute be honored if specified, otherwise use the textContent with leading and trailing whitespace trimmed. This would allow either syntax unless I'm missing something. -- Simon Pieters Opera Software

Re: [whatwg] How do CSS "object-position" & "object-fit" affect the coordinates used by image /?

2014-11-10 Thread Simon Pieters
t from better interop. For instance other shapes that are possible in canvas are not supported by image maps. It does not do anything differently for /srcset. It's considered a legacy feature. Maybe inline SVG is a better choice for authors today? -- Simon Pieters Opera Software

Re: [whatwg] allow in body + DOM position as a rendering hint

2014-11-01 Thread Simon Pieters
On Sat, 01 Nov 2014 02:34:42 +0200, Ilya Grigorik wrote: Before we get into the pros and cons of "scoped", I think it's important to highlight that in body is already a fact of life: 1) developers already put tags in body, specs be damned. 2) all browsers support tags in body because of

Re: [whatwg] allow in body + DOM position as a rendering hint

2014-10-30 Thread Simon Pieters
On Wed, 29 Oct 2014 23:46:28 +0200, Ilya Grigorik wrote: (based on discussion at the webperf group meeting at TPAC... hopefully I captured the discussion correctly. If not, please jump in!) HTML5 spec: "If the rel attribute is used, the element is restricted to the head element." [1] Abo

Re: [whatwg] URL: spec review - basic_parser

2014-10-14 Thread Simon Pieters
s return empty string in the first step if url is null. Does that help? -- Simon Pieters Opera Software

Re: [whatwg] Shouldn't the p tag be omissible before the figure element?

2014-10-13 Thread Simon Pieters
g.org. cheers -- Simon Pieters Opera Software

Re: [whatwg] Shouldn't the p tag be omissible before the figure element?

2014-10-10 Thread Simon Pieters
e element be in that list? Thanks and cheers, Ezequiel https://www.w3.org/Bugs/Public/show_bug.cgi?id=26981 -- Simon Pieters Opera Software

Re: [whatwg] Preloading and deferred loading of scripts and other resources

2014-08-25 Thread Simon Pieters
On Sat, 23 Aug 2014 02:44:23 +0200, Ian Hickson wrote: On Wed, 12 Mar 2014, Boris Zbarsky wrote: I realize no one would write actual code like this; the real-life use case I'm worried about would be more like this: // img is already loaded sometimes // Would like to observe a new loa

Re: [whatwg] HTML differences from HTML4 document updated

2014-08-20 Thread Simon Pieters
andscape/ ) and dropped the Changes (covered by http://platform.html5.org/history/ ). https://github.com/whatwg/html-differences/commit/a34fa020d2e2c17bb84fe963dc3f8de2250c31c4 https://github.com/whatwg/html-differences/commit/06499f22bcfd5f72ac1e7b3f3f3e4863e2db9c0b -- Simon Pieters Opera Software

Re: [whatwg] HTML differences from HTML4 document updated

2014-08-19 Thread Simon Pieters
s hope this is worth addressing. I don’t have anything else to add :) I've removed the Changes section now. Redundant with http://platform.html5.org/history/ https://github.com/whatwg/html-differences/commit/06499f22bcfd5f72ac1e7b3f3f3e4863e2db9c0b -- Simon Pieters Opera Software

[whatwg] added to HTML

2014-06-19 Thread Simon Pieters
anges at this point. Feedback is very much welcome. cheers -- Simon Pieters Opera Software

Re: [whatwg] Document.title for SVG documents

2014-02-05 Thread Simon Pieters
On Wed, 05 Feb 2014 15:11:32 +0100, David Carlisle wrote: On 05/02/2014 13:24, Simon Pieters wrote: Is there a situation in which it is conforming to use html:title outside the in a document where the root is html:html? In math:annotation-xml? My reading is yes, and validator.nu at

Re: [whatwg] Document.title for SVG documents

2014-02-05 Thread Simon Pieters
eb-apps/current-work/multipage/the-map-element.html#svg-0 Is there a situation in which it is conforming to use html:title outside the in a document where the root is html:html? In math:annotation-xml? -- Simon Pieters Opera Software

Re: [whatwg] Document.activeElement should return the root element in non-HTML documents when no element has focus

2014-02-03 Thread Simon Pieters
with focus, no element, but still a document element. [...] If the root element is html in the HTML namespace, you have that behavior, and otherwise you return the root element itself? That sounds good to me. -- Simon Pieters Opera Software

Re: [whatwg] Simplified element draft

2014-01-13 Thread Simon Pieters
to see an implementation that implements the spec literally in order to better assess whether the specification is good or not. I'm not saying that you have any obligation to do that, though; maybe you have different goals. :-) -- Simon Pieters Opera Software

Re: [whatwg] Simplified element draft

2013-11-26 Thread Simon Pieters
e is that I don't expose the to scripts. What is the motivation? That may make it even simpler, because you can't have odd cases like author moving/removing the controlling img or setting values directly on img that conflict with picture's definitions. I don't see what would conflict in my proposal. -- Simon Pieters Opera Software

Re: [whatwg] redux

2013-11-21 Thread Simon Pieters
e to evaluate a MQ, to avoid the wasted download. but back on the main thread, the source selection algorithm will pick the right picture a little bit later. -- Simon Pieters Opera Software

Re: [whatwg] The src-N proposal

2013-11-20 Thread Simon Pieters
weirder. -- Simon Pieters Opera Software

Re: [whatwg] The src-N proposal

2013-11-20 Thread Simon Pieters
previously the first). Similarly when an img element is removed, the (new) first img child needs to run the selection algorithm. Although it involves more checks, I think it seems saner to have only the first img use the s. -- Simon Pieters Opera Software

Re: [whatwg] The src-N proposal

2013-11-19 Thread Simon Pieters
eated flag is set. When img is inserted to the document, if the parser-created flag is set, the flag is first unset and then 'update the image data' is run but without the await a stable state step. -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-31 Thread Simon Pieters
On Thu, 31 Oct 2013 06:48:00 +0100, Boris Zbarsky wrote: On 10/23/13 4:39 AM, Simon Pieters wrote: Or maybe we could remove the name lookup thing altogether for Element.getElementsByTagName et al? Hmm. There are some compat worries here; do we have any indications that this name lookup

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-23 Thread Simon Pieters
While true, in practice pretty much no one uses the name getter on that object, so nothing right now forces browsers to implement it in a particularly efficient (as opposed to simple) way. Or maybe we could remove the name lookup thing altogether for Element.getElementsByTagName et al? --

Re: [whatwg] onclose events for MessagePort

2013-10-15 Thread Simon Pieters
best thing to do? What if another document also has a reference to the port, does it still get disentangled when the owner gets navigated? -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-14 Thread Simon Pieters
The API is intended to be used for escaping CSS strings too. Also, I think most Web developers don't think in terms of CSS tokens. Serialize seems a bit wrong since the input isn't an object. -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-10 Thread Simon Pieters
d actually write "CSS.escape", so that's basically the longer, different name. Is that sufficient? -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-10 Thread Simon Pieters
bcc www-style, context http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Oct/0075.html On Thu, 10 Oct 2013 13:06:58 +0200, Simon Pieters wrote: So, in cluclusion, it appears that there is *some* demand for this. The common case is escaping as ident. An API to escape as ident

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-10 Thread Simon Pieters
f093070baa2d7e405cdecaa055108c/app/js/vis.js I did however find more instances (528) by searching for "escapeSelector": https://github.com/search?l=javascript&q=escapeSelector&ref=searchresults&type=Code So, in cluclusion, it appears that there is *some* demand for this. The common case is escaping as ident. An API to escape as ident could be used for escaping strings, too. In order to not make people think more than just remembering to escape at all, it might be a good idea to just have one API to serve both cases, e.g. CSS.escape(foo). I don't think that adding an API to escape a CSS ident means that it's a good idea to not have e.g. getElementById on DocumentFragment. Most people don't escape their stuff, so only providing a selector API that requires escaping seems like the net effect would be more buggy code. -- Simon Pieters Opera Software

Re: [whatwg] onclose events for MessagePort

2013-10-10 Thread Simon Pieters
on that we couldn't also fire the event if the other side is forcefully terminated through a navigation or a Worker.terminate() call? Does navigation disentangle ports? I don't think it necessarily does, at least per spec. -- Simon Pieters Opera Software

Re: [whatwg] Should onfoo event handler properties be on Element or HTMLElement?

2013-10-08 Thread Simon Pieters
working content attribute for a given element. That's just confusing. -- Simon Pieters Opera Software

Re: [whatwg] The srcset attribute - some implementation feedback & questions

2013-09-23 Thread Simon Pieters
y, invalid descriptors should just be ignored so that "2x 500tt bla" will results in a density of 2, width of infinity and height of infinity. Is that correct? Yes. Step 13.6. could say "Otherwise, do nothing", but that's implied. Yoav [1] http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#processing-the-image-candidates -- Simon Pieters Opera Software

Re: [whatwg] Proposal: q and qq for document.querySelector and document.querySelectorAll

2013-09-18 Thread Simon Pieters
`this` will be wrong. But you can add .bind(document) to fix that. -- Simon Pieters Opera Software

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

2013-09-14 Thread Simon Pieters
On Fri, 13 Sep 2013 12:32:43 +0200, Robin Berjon wrote: On 29/08/2013 15:58 , Simon Pieters wrote: On Thu, 29 Aug 2013 15:02:48 +0200, Anne van Kesteren wrote: On Thu, Aug 29, 2013 at 1:19 PM, Jake Archibald wrote: Causing a network error in existing browsers is a shame. It seems to

Re: [whatwg] Why are we merging Document and HTMLDocument again?

2013-09-13 Thread Simon Pieters
erface "Document" and is an "XML document", even for text/html if I read the spec correctly) For instance the createHTMLDocument() case currently supports named getter in Gecko but not in Blink. http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2519 -- Simon Pieters Opera Software

Re: [whatwg] Should generate click events?

2013-09-11 Thread Simon Pieters
quot; mean here, is it to handle cases where the UA force-enables the controls without adding the controls attribute to the DOM? Yes. http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#expose-a-user-interface-to-the-user -- Simon Pieters Opera Software

Re: [whatwg] Should generate click events?

2013-09-11 Thread Simon Pieters
ute? That might be good so that the behavior is consistent between browsers. However, I think it should be conditional on whether the controls are visible rather than whether the controls attribute is present. -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-09-07 Thread Simon Pieters
On Fri, 06 Sep 2013 16:42:47 +0200, Boris Zbarsky wrote: On 9/6/13 8:20 AM, Simon Pieters wrote: So the use case is getting an element by id with an "untrusted" id as input, in an element or document fragment as opposed to the document? Or getting elements by tag name in a documen

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-09-06 Thread Simon Pieters
rrent-work/multipage/forms.html#dom-label-control but it only works when in a document. Maybe that should be changed, though. -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-09-06 Thread Simon Pieters
On Fri, 06 Sep 2013 14:21:24 +0200, Scott González wrote: On Fri, Sep 6, 2013 at 8:20 AM, Simon Pieters wrote: So the use case is getting an element by id with an "untrusted" id as input, in an element or document fragment as opposed to the document? Yes. Take the example

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-09-06 Thread Simon Pieters
: http://mothereff.in/css-escapes So the use case is getting an element by id with an "untrusted" id as input, in an element or document fragment as opposed to the document? -- Simon Pieters Opera Software

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

2013-08-29 Thread Simon Pieters
at all in http://webdevdata.org/ data set 18/06/2013. So maybe we could use a string like that in the path and have a graceful fallback path in legacy browsers that work in existing servers. -- Simon Pieters Opera Software

Re: [whatwg] Should generate click events?

2013-08-21 Thread Simon Pieters
r one thing to all other things that have similar shape. I'd rather simplify controlsTarget to be a boolean since that also addresses the problem at hand. -- Simon Pieters Opera Software

Re: [whatwg] Should generate click events?

2013-08-21 Thread Simon Pieters
even what was being clicked (as a string). -- Simon Pieters Opera Software

Re: [whatwg] Should generate click events?

2013-08-21 Thread Simon Pieters
ge fixes this. You are still notified by a 'play' event when the user clicks play on the native controls, so you can do something when the user clicks play on the native controls. -- Simon Pieters Opera Software

Re: [whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob

2013-08-05 Thread Simon Pieters
. And mine has the performance issue. How about we don't return the 'binary' string in case the 2nd parameter is provided in my case? That works for me. -- Simon Pieters Opera Software

Re: [whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob

2013-08-05 Thread Simon Pieters
be 1, newarr[1] should be 2 and newarr[2] should be 3. Is there a reason to support an arbitrary typed array for atob rather than returning a new typed array? e.g. var newarr = atob(encodedData, {typedarray:true}); (I'm not sure which view is most appropriate to return.) -- Simon Pieters Opera Software

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
o getContext, eg. to see if null would be returned if a particular option is provided, which supportsContext allows. (I don't know if there are any cases where this actually happens, since most options are "best effort" and don't cause context creation to fail if they're not

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
ttribute itself would be omitted from the objects that implement that interface — leaving the attribute on the object but making it return null or throw an exception is insufficient. ]] http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#extensibility -- Simo

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Simon Pieters
ject. This does basically the same thing as supportsContext, except that it would also work for pages that already do feature detection based on the interface object. -- Simon Pieters Opera Software

Re: [whatwg] Provide a system to observe nodes entering and leaving the viewport

2013-06-24 Thread Simon Pieters
le who could help me move this idea forward. Who should I ping/contact/harass? What would be useful for me: * use cases for the feature. * URLs to existing pages that work around the lack of this feature. * stated implementation interest from browser vendors. Please comment further in the bug.

Re: [whatwg] Questions regarding Path object

2013-06-18 Thread Simon Pieters
Path2d and Shape2d sound reasonable. I don't think there's a immediate need to harmonize gradients so we probably want to keep CanvasGradient. Do you prefer the lowercase 'd' instead of the uppercase 'D'? CanvasRenderingContext2D has it uppercase. -- Simon Pieters Opera Software

Re: [whatwg] Adding crossorigin="" to more elements

2013-06-17 Thread Simon Pieters
On 6/17/13 1:44 PM, Boris Zbarsky wrote: On 6/17/13 6:05 AM, Simon Pieters wrote: What's in CSSOM now is "tainting". Sort of. I think of tainting as "you can write to it but read from it", but what's in CSSOM is "you can't touch it". True.

Re: [whatwg] Adding crossorigin="" to more elements

2013-06-17 Thread Simon Pieters
[0].cssRules) Since this currently throws in Firefox, it's likely that there isn't a big Web compat problem to not support this. I think doesn't support the equivalent thing, either, per spec (although a is a bit different in that it can have lots of images drawn on it from different origins). -- Simon Pieters Opera Software

Re: [whatwg] Proposal: Change HTML spec to allow any arbitrary value for the "name" attribute

2013-06-04 Thread Simon Pieters
of the name as parameters to a Bugzilla bug entry. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21916 -- Simon Pieters Opera Software

Re: [whatwg] Fetch: please review!

2013-05-23 Thread Simon Pieters
ue is the byte string `text/html;charset=utf-8`, and body is the empty string. Otherwise, return a network error. ]] (BTW should body be the empty byte string above?) -- Simon Pieters Opera Software

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-07 Thread Simon Pieters
ng, which might be a good idea. Or * Differences of W3C HTML5/WHATWG HTML from HTML4 * Differences of WHATWG HTML/W3C HTML5 from HTML4 * HTML5 differences from HTML4 (the W3C title) Anyway, I agree that "HTML differences from HTML4" sounds confusing and any of the above is better

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-07 Thread Simon Pieters
details, to begin with. It's more intended to be an overview. Can you give an example of something that is too detailed and suggest the level of detail that would be more appropriate? Is this for authors who consider moving from HTML 4.01 to HTML 5? Yes. Then I think it should primarily specify what HTML 4.01 features are forbidden in HTML 5, then the extensions. Thanks, that's useful feedback. -- Simon Pieters Opera Software

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-07 Thread Simon Pieters
ouble its size, respectively). I understand the amount of space it takes. I still don't understand what the problem is. Is it that people look at the scrollbar and think "oh wow this document is too long, I'm not gonna bother reading it at all."? Or something else?

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-06 Thread Simon Pieters
oblem? -- Simon Pieters Opera Software

Re: [whatwg] HTML differences from HTML4 document updated

2013-05-06 Thread Simon Pieters
On Fri, 03 May 2013 18:20:51 +0200, Jukka K. Korpela wrote: 2013-05-03 18:37, Simon Pieters wrote: The past few days I've been working on updating the HTML differences from HTML4 document, which is a deliverable of the W3C HTML WG but is now also available as a version with the W

[whatwg] HTML differences from HTML4 document updated

2013-05-03 Thread Simon Pieters
Hi The past few days I've been working on updating the HTML differences from HTML4 document, which is a deliverable of the W3C HTML WG but is now also available as a version with the WHATWG style sheet: http://html-differences.whatwg.org/ Review welcome. Please file bugs. --

Re: [whatwg] Base URL’s effect on an empty @src element

2013-05-02 Thread Simon Pieters
html5.org/r/4834 Context: http://lists.w3.org/Archives/Public/public-whatwg-archive/2010Mar/thread.html#msg67 -- Simon Pieters Opera Software

Re: [whatwg] [canvas] Which interfaces/constructors available in workers?

2013-04-09 Thread Simon Pieters
orkerUtils implements IDBEnvironment; ]] https://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#requests 1: http://dev.w3.org/html5/workers/ On Thu, Mar 14, 2013 at 2:08 AM, Simon Pieters wrote: The new canvas proxy stuff is supposed to make canvas work in workers, but I don't see any

Re: [whatwg] Notifications: in workers

2013-04-02 Thread Simon Pieters
would be. The last window the user interacted with maybe? -- http://annevankesteren.nl/ -- Simon Pieters Opera Software

Re: [whatwg] Allowing authors to obtain a vertical

2013-03-26 Thread Simon Pieters
;auto' useful in practice? Is it a behavior that authors or users expect? I don't know, but my hunch is "no", and it would be more straightforward to just use horizontal and let the author opt-in to vertical with the attribute. -- Simon Pieters Opera Software

Re: [whatwg] Allowing authors to obtain a vertical

2013-03-26 Thread Simon Pieters
topic, however, if we are going to add an attribute, it would be less verbose to use a boolean attribute: -- Simon Pieters Opera Software

[whatwg] [canvas] Which interfaces/constructors available in workers?

2013-03-14 Thread Simon Pieters
rkers. -- Simon Pieters Opera Software

[whatwg] Schemes for registerProtocolHandler

2013-03-11 Thread Simon Pieters
m to be in line with those currently in the list. Should they be added to the spec? BTW, the spec's list is not in alphabetical order. -- Simon Pieters Opera Software

  1   2   3   4   5   6   7   8   >