e.com/spreadsheets/d/1y8LAcvyna4ph2WQvTb4gjOIvEEGzm-zIBOVYuyDfneU/edit?usp=sharing
cheers,
--
Simon Pieters
https://bocoup.com/
y work around the lack of this API.
cheers
--
Simon Pieters
Opera Software
s what fantasai claimed 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 P
t, 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
bedded-content.html#text-track-api:the-audio-element
for an example.
--
Simon Pieters
Opera Software
On Wed, 07 Oct 2015 07:12:16 +0200, Anne van Kesteren <ann...@annevk.nl>
wrote:
On Wed, Nov 26, 2014 at 9:50 AM, Simon Pieters <sim...@opera.com> wrote:
Make the end tag optional and have , and generate
implied end tags. (Maybe other tags like and can
also
imply .) The lab
On 24/06/2015 9:08 pm, Jonathan Zuckerman wrote:
On Jun 23, 2015, at 22:57, Mark Simon m...@manngo.net wrote:
(This is my first post here, so I’m not sure about appropriate protocols).
HTML5 adds more power to the heading elements, which is a good thing. However,
there appears
suggestions
are: title, banner, name, sitename, site, elementwithoutanyothername.
--
Mark Simon
Manngo Net Pty Ltd
mobile:0411 246 672
email:m...@manngo.net mailto:m...@comparity.net
web:http://www.manngo.net
Resume:http://mark.manngo.net
On Thu, 09 Apr 2015 09:50:34 +0200, Simon Pieters sim...@opera.com 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
things to help feature-test things that are not currently testable
in compliant implementations.
--
Simon Pieters
Opera Software
On Wed, 08 Apr 2015 14:46:44 +0200, Mikko Rantalainen
mikko.rantalai...@peda.net wrote:
Simon Pieters (2015-04-08 11:07 Europe/Helsinki):
On Wed, 08 Apr 2015 07:55:26 +0200, Mikko Rantalainen
mikko.rantalai...@peda.net wrote:
The section 12.2.3.3 The list of active formatting elements
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
';
}
--
Simon Pieters
Opera Software
on a per-page 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
On Thu, 26 Mar 2015 01:47:57 +0100, Martin Janecke whatwg@prlbr.com
wrote:
Am .03.2015, 16:08 Uhr, schrieb Simon Pieters sim...@opera.com:
[…]
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
On Thu, 26 Mar 2015 08:28:37 +0100, Karl Dubost k...@la-grange.net wrote:
Andrea, Simon,
Le 25 mars 2015 à 23:08, Andrea Rendine master.skywalker...@gmail.com
a écrit :
I think Refresh as an HTTP header is not specified anywhere, so per
spec
it shouldn't work. However I think browsers all
the problems with noscript.
You still haven't demonstrated that anyone but you want the ability to
stop a meta refresh, though.
--
Simon Pieters
Opera Software
useful or 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 noscript are not enough?
--
Simon Pieters
Opera Software
that it would work to remove the element to stop
the timeout, which is entirely reasonable.
--
Simon Pieters
Opera Software
http://stackoverflow.com/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
On Thu, 26 Mar 2015 16:15:21 +0100, Andrea Rendine
master.skywalker...@gmail.com wrote:
..Simon, there's no use case where meta cannot be substituted by a
JS-only solution. The point is, what happens to the JS-only solution in
cases where JS is not usable for any reason?
A JS-only solution
/show_bug.cgi?id=28219
--
Simon Pieters
Opera Software
.
--
Simon Pieters
Opera Software
On Fri, 20 Mar 2015 20:22:28 +0100, Martin Janecke whatwg@prlbr.com
wrote:
Am .03.2015, 13:10 Uhr, schrieb Simon Pieters sim...@opera.com:
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
this?
* More examples of pages that work around the lack of this feature.
* Why are alternatives like CSS-positioned a links or SVG not better?
* Is there implementation interest among browser vendors?
--
Simon Pieters
Opera Software
any hope that doing the same for img 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
better solved on the server. Are there other use cases?
--
Simon Pieters
Opera Software
; 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
is to “freeze” the performance.now() time in all documents
before processing those documents, but give each document its own
performance.now() time.
Simon
On Wed, 07 Jan 2015 08:55:02 +0100, Julian Reschke julian.resc...@gmx.de
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
On Tue, 06 Jan 2015 08:35:54 +0100, Julian Reschke julian.resc...@gmx.de
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 omit
that Gecko allows the number to be omitted. I only found
one page doing that and it was using meta http-equiv=refresh
content=;URL= so it seems we can fail parsing for that case.
--
Simon Pieters
Opera Software
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters sim...@opera.com wrote:
On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson i...@hixie.ch wrote:
On Wed, 26 Nov 2014, Simon Pieters wrote:
- Make the end tag optional and have menuitem, menu and hr
generate implied /menuitem end tags. (Maybe
On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson i...@hixie.ch wrote:
On Wed, 26 Nov 2014, Simon Pieters wrote:
- Make the end tag optional and have menuitem, menu and hr
generate implied /menuitem end tags. (Maybe other tags like li and
p can also imply /menuitem.) The label attribute
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters sim...@opera.com wrote:
On Thu, 27 Nov 2014 01:15:20 +0100, Ian Hickson i...@hixie.ch wrote:
On Wed, 26 Nov 2014, Simon Pieters wrote:
- Make the end tag optional and have menuitem, menu and hr
generate implied /menuitem end tags. (Maybe
On Mon, 08 Dec 2014 21:50:56 +0100, Simon Pieters sim...@opera.com wrote:
SELECT COUNT(*) as num,
CASE
WHEN REGEXP_MATCH(LOWER(body),
r'menuitem[^]*(\s*[^]+)+\s*/menuitem') THEN has content
ELSE no content
END as stat
FROM [httparchive:runs.2014_08_15_requests_body]
WHERE mimeType
something.
--
Simon Pieters
Opera Software
for picture/srcset. It's considered
a legacy feature.
Maybe inline SVG is a better choice for authors today?
--
Simon Pieters
Opera Software
for this then that seems like it would overrule the negative
effect. If it is practical then we can still avoid the negative effect (as
far as authoring conformance goes anyway).
--
Simon Pieters
Opera Software
, and Safari (we didn't have
anyone from Mozilla to comment) in exploring this further... However,
that
would require some spec updates on HTML front.
Thoughts?
[1] http://www.w3.org/TR/html5/document-metadata.html#the-link-element
[2] http://www.w3.org/Submission/first-screen-paint/
--
Simon
string in the first step if url
is null.
Does that help?
--
Simon Pieters
Opera Software
On Fri, 10 Oct 2014 11:54:43 +0200, Ezequiel Garzón
garzon.luc...@gmail.com wrote:
Thanks for filing the bug report, Simon. I'm thrilled if I can make a
even tiny contribution. It looks like it was already reported on
October 6?
Yeah, I looked into it when you sent an email about
element be in that list?
Thanks and cheers,
Ezequiel
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26981
--
Simon Pieters
Opera Software
Sorry, but the WHATWG mailing list is a list for feedback of WHATWG
specifications.
This is not the place for book or learning discussions.
Simon
On Tue, Sep 23, 2014 at 4:03 PM, L2L 2L emanuelal...@hotmail.com wrote:
I'm reading this one book, but it's heavy in math equation. And other book
it applies to the URL that gets loaded, whether that is from
src, srcset or source srcset.
integrity would need to be able to apply to each individual URL somehow
(probably with a new srcset descriptor for img).
Is crossorigin's coarseness OK or do we need something per URL?
--
Simon Pieters
Opera
On Tue, 07 May 2013 16:37:21 +0200, Gordon P. Hemsley
gphems...@gmail.com wrote:
Simon,
I think it would be good to consider the target audiences, of which
there are probably many:
You have the audience who is worried that HTML5 is some grand
departure from the HTML 4.01 they (think
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
.
Feedback is very much welcome.
cheers
--
Simon Pieters
Opera Software
-current* transformation matrix (or lineWidth), so I think the
distinction is unnecessary.
CTM only seems like a good idea if we're worried that the name is too long,
but since Current is redundant/extraneous, I don't think an initialism is
worth the added layer of confusion.
Simon
On Thu, Mar 20, 2014 at 1:52 PM, Justin Novosad ju...@google.com wrote:
Hello all,
The recently added currentTransform attribute on CanvasRenderingContext2D
gives shared access to the rendering context's transform. By shared, I
mean:
a) this code modifies the CTM:
var matrix =
is a
(admittedly soft) version of This site/webapp best viewed in Netscape
Navigator.
Simon Sarris
be changed to emit a null value.
--
Simon Sapin
/specs/web-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 head in a document where the root is html:html? In
math:annotation-xml?
--
Simon Pieters
Opera Software
On Wed, 05 Feb 2014 15:11:32 +0100, David Carlisle dav...@nag.co.uk
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 head in a document where the root is html:html? In
math:annotation-xml?
My reading is yes
there
is
no element with focus, no body 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
to discover that they even exist if
one does not think of look for Obsolete features specifically.
To help with discoverability of obsolete features by implementers, I’d
like them to be included in the Index section’s tables.
--
Simon Sapin
On 23/01/2014 08:54, Ian Hickson wrote:
On Thu, 23 Jan 2014, Simon Sapin wrote:
To help with discoverability of obsolete features by implementers, I’d
like them to be included in the Index section’s tables.
They're explicitly excluded to help with avoiding their discovery by
authors.
I see
like 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
in my proposal.
--
Simon Pieters
Opera Software
the entire picture if it is unable 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
element that
was 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 sources.
--
Simon Pieters
Opera Software
behavior was
weirder.
--
Simon Pieters
Opera Software
On Thu, 31 Oct 2013 06:48:00 +0100, Boris Zbarsky bzbar...@mit.edu 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
et al?
--
Simon Pieters
Opera Software
that? Is it the 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
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
.
But is there a reason 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
, so only providing a selector API that requires
escaping seems like the net effect would be more buggy code.
--
Simon Pieters
Opera Software
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 sim...@opera.com wrote:
So, in cluclusion, it appears that there is *some* demand for this. The
common case is escaping as ident. An API
.
You'd actually write CSS.escape, so that's basically the longer,
different name. Is that sufficient?
--
Simon Pieters
Opera Software
for a given element. That's just confusing.
--
Simon Pieters
Opera Software
, 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
rect
arguments.
Simon Sarris
~~~
For reference, below is a simple example showing both a zero-sized img
being drawn and a zero-sized canvas:
// this img's width/height/naturalWidth/naturalHeight are all zero:
var img = document.createElement('img');
// Totally fine, no error
;
That doesn't work because `this` will be wrong. But you can add
.bind(document) to fix that.
--
Simon Pieters
Opera Software
On Fri, 13 Sep 2013 12:32:43 +0200, Robin Berjon ro...@w3.org wrote:
On 29/08/2013 15:58 , Simon Pieters wrote:
On Thu, 29 Aug 2013 15:02:48 +0200, Anne van Kesteren ann...@annevk.nl
wrote:
On Thu, Aug 29, 2013 at 1:19 PM, Jake Archibald
jaffathec...@gmail.com wrote:
Causing a network error
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
be conditional on whether the controls are
visible rather than whether the controls attribute is present.
--
Simon Pieters
Opera Software
On Fri, 06 Sep 2013 16:42:47 +0200, Boris Zbarsky bzbar...@mit.edu 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
On Fri, 06 Sep 2013 13:22:34 +0200, Anne van Kesteren ann...@annevk.nl
wrote:
On Fri, Sep 6, 2013 at 2:50 AM, Boris Zbarsky bzbar...@mit.edu wrote:
In that case I think we need to add a function to the platform that
CSS-escapes a string.
Maybe a thing for window.CSS? Simon
On Fri, 06 Sep 2013 14:21:24 +0200, Scott González
scott.gonza...@gmail.com wrote:
On Fri, Sep 6, 2013 at 8:20 AM, Simon Pieters sim...@opera.com 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
/current-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
/chromium/issues/detail?id=281529
This bug is now (as of a few days ago) referenced at chromestatus.com under
the Canvas feature's implementation status:
http://www.chromestatus.com/features/5100084685438976
Simon
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
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
was
being clicked (as a string).
video onclick=if (controlsTarget == null) { if (paused) play(); else
pause(); } .../video
--
Simon Pieters
Opera Software
for 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
two things. It sets the
dashing properties, but it also acts as the only way to enable/disable
dashing, I think that null seems appropriate.
For the record, AFAIK no other browser has implemented setLineDash yet,
though ctx.mozDash defaults to null and does accept null.
Simon Sarris
If this is strictly a performance issue, then we definitely should fix
that before adding new API, IMHO. It would be great to get some reduced
test cases where save()/restore() is a bottleneck.
I'd argue its not strictly a performance issue. More generally its awkward
that you can reset any
I think most performance-minded use cases will be fine with junov's idea
since they will not want to touch the stack in the first place.
Here's a simple use case: Suppose there are nested objects to be drawn,
Panels, TextBlocks, and other visual elements. Panels are containers that
draw a
Good point, I think part of the problem has to do with the fact that save
is non-selective (saves all of the state).
Yes, since save() and restore() save and restore everything, it creates the
side effect of needing to set ctx.font/fillStyle/strokeStyle more often
than otherwise, which are slow
I originally opened this bug/request for performance reasons, since I try
to avoid all use of save() and restore() on the context. As a refresher
resetting any piece of context state by itself is possible except for
clipping regions.
I do see Rik's point about the mess a resetClip() function
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
On Mon, 05 Aug 2013 22:39:22 +0200, Chang Shu csh...@gmail.com wrote:
I see your point now, Simon. Technically both approaches should work.
As you said, yours has the limitation that the implementation does not
know which view to return unless you provide an enum type of parameter
instead
. 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
, the attribute 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
--
Simon Pieters
to 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 available.)
Right.
--
Simon
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. Thanks!
--
Simon Pieters
different origins).
--
Simon Pieters
Opera Software
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.
In CSSOM, since writing can have observable effects
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
1 - 100 of 672 matches
Mail list logo