Re: [whatwg]

2014-11-07 Thread Garrett Smith
On 11/7/14, Ian Hickson wrote: > On Wed, 5 Nov 2014, Jesse McCarthy wrote: >> >> Re: the "Restrictions for contents of script elements" (4.12.1.2): >> >> Consider

Re: [whatwg]

2014-11-07 Thread Ian Hickson
On Wed, 5 Nov 2014, Jesse McCarthy wrote: > > Re: the "Restrictions for contents of script elements" (4.12.1.2): > > Consider elements containing data blocks. It's useful to embed > templates in these; HTML templates for example. When embedding HTML templates, > it would be onerous to have to eit

Re: [whatwg] New approach to activities/intents

2014-11-07 Thread Nils Dagsson Moskopp
Roger Hågensen writes: > A link element in the header, maybe call it href="http://example.com/article/12345/"; /> > or if the current url (or the canonical url link if > present) should be used, although I guess in a way rel="share" will > probably replace the need to use rel="canonical" in t

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

2014-11-07 Thread Daniel Holbert
On 11/07/2014 09:42 AM, Anne van Kesteren wrote: > On Fri, Nov 7, 2014 at 6:35 PM, L. David Baron wrote: >> I also think it should be (B), since the meaning of the coordinates >> in the imagemap shouldn't change as a result of CSS styling of the >> image. > > Note that as Daniel pointed out it fo

Re: [whatwg] New approach to activities/intents

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

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

2014-11-07 Thread Daniel Holbert
On 11/07/2014 09:35 AM, L. David Baron wrote: > On Thursday 2014-11-06 12:36 -0800, Daniel Holbert wrote: >> Should these coordinates be relative to... (A) ...the top-left >> corner of the element itself? OR (B) ...the top-left corner >> of the rectangle where the image's pixel data actually maps

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

2014-11-07 Thread Anne van Kesteren
On Fri, Nov 7, 2014 at 6:35 PM, L. David Baron wrote: > I also think it should be (B), since the meaning of the coordinates > in the imagemap shouldn't change as a result of CSS styling of the > image. Note that as Daniel pointed out it for legacy reasons already does. and CSS height/width are t

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

2014-11-07 Thread L. David Baron
On Thursday 2014-11-06 12:36 -0800, Daniel Holbert wrote: > Should these coordinates be relative to... > (A) ...the top-left corner of the element itself? > OR > (B) ...the top-left corner of the rectangle where the image's pixel > data actually maps to? (which may be inside or outside the bound

Re: [whatwg] Wish for HTMLFormElement.checkValidity(boolean)

2014-11-07 Thread Domenic Denicola
You may be interested in form.reportValidity().

[whatwg] Wish for HTMLFormElement.checkValidity(boolean)

2014-11-07 Thread Paul Benedict
So I had to go back into the list archives in 2011/2012 to see the reasons for current behavior. Scripting has no way of trigger full UI validation. Calling form.submit() submits without validation; calling form.checkValidity() will highlight an error but not do any messages. The reason stated was