[whatwg] Responsive image maps

2015-03-18 Thread Andrea Rendine
Hi everybody. I know that my idea can be seen as weird but I prefer to try and receive negative answers, than remaining with nothing. Today embedding images in a page is more complex than before and it allows responsive pictures, too. But there's a feature associated with images and, though still

Re: [whatwg] Responsive image maps

2015-03-18 Thread Andrea Rendine
://github.com/stowball/jQuery-rwdImageMaps 2015-03-18 16:50 GMT+01:00 Martin Janecke whatwg@prlbr.com: Am .03.2015, 12:38 Uhr, schrieb Andrea Rendine master.skywalker...@gmail.com: […] why can't map area coordinates be responsive? I know that percentages simply don't work as UAs either interpret

[whatwg] MetaExtension and Dublin Core revision

2015-03-17 Thread Andrea Rendine
More than one year ago I first updated the page MetaExtension on WHATWG wiki, in order to introduce values for @name according to DCMI dc-html documentation (http://dublincore.org/documents/dc-html/). There are several mistakes in the dc. and dcterms. list as of now, I tried to fix them, but my

Re: [whatwg] Responsive image maps

2015-03-20 Thread Andrea Rendine
: On Fri, Mar 20, 2015 at 1:00 PM, Andrea Rendine master.skywalker...@gmail.com wrote: About SVG, I made a couple of tests and they are far from being comprehensive, but this is the fact. SVG image maps need to define 2 elements for each area, i.e. the element itself and its associated hyperlink

Re: [whatwg] MetaExtension and Dublin Core revision

2015-03-20 Thread Andrea Rendine
Hi again. I hope anyone takes the time to review my request about MetaExtension and Dublin Core revision. The metadata properties list as it is now on the page is out of its proper specification. Thank you for the help. Andrea Rendine

Re: [whatwg] Responsive image maps

2015-03-20 Thread Andrea Rendine
Why are alternatives like CSS-positioned a links or SVG not better? The issue with CSS is easy. All that can be achieved through it is rectangles/squares (and their transformations), circles and some approximation of ellipses (with border-radius). The third feature allowed by image maps,

Re: [whatwg] HTML6 single-page apps without Javascript proposal now on Github

2015-03-24 Thread Andrea Rendine
As an author I shall offer my 2 cents too. First off, I'm for native implementations and all that markup and CSS can do on _existing_ content. Thus said, I prefer having JS manipulating the content with AJAX than having the markup doing that. Apart from the concept that markup itself is being

Re: [whatwg] Page refresh interface

2015-03-24 Thread Andrea Rendine
and I didn't succeed in finding the mentioned command. Can't test on Safari (I'm a Win user), but I confirm about Chrome. However the bulk of my issue remains: wouldn't it be useful if there were a refresh property to be accessed for the document? 2015-03-24 10:49 GMT+01:00 Andrea Rendine

Re: [whatwg] Page refresh interface

2015-03-24 Thread Andrea Rendine
...@dieweltistgarnichtso.net: Andrea Rendine master.skywalker...@gmail.com writes: 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

[whatwg] Seamless browsing context in object elements

2015-03-24 Thread Andrea Rendine
you very much for your patience. Andrea Rendine

Re: [whatwg] Responsive image maps

2015-03-24 Thread Andrea Rendine
Note that it's perfectly fine to reference svg files from a picture element, see e.g http://sarasoueidan.com/blog/svg-picture/. Which means repeating the map construction for every SVG file. Of course if the SVG is created by a script or a graphics application it can be done easily, but this is

Re: [whatwg] Thoughts on the nav element

2015-03-24 Thread Andrea Rendine
At first sight I wouldn't define this case so impractical or senseless. Looking at your example it looks like that the nav element is related with the site itself (e.g. other articles, other sections of the site), not with the page. If you had a heading element for the whole site (e.g. the site

Re: [whatwg] HTML6 single-page apps without Javascript proposal now on Github

2015-03-24 Thread Andrea Rendine
For the first time in my life I support JavaScript. But I want to see where this idea will go. Here other 2 virtual cents: please, if it ends up as a way to improve the template element somehow compatibly with the current standard, and if it reveals to be viable, try turning it into a proposal for

Re: [whatwg] Page refresh interface

2015-03-25 Thread Andrea Rendine
why doesn't the document interface expose the refresh timeout? Because nobody implemented it and nobody asked for it (until now). I don't know whether to feel proud or guilty about that. http://www.phpied.com/files/location-location/location-location.html . This list does not show that anyone

Re: [whatwg] Responsive image maps

2015-03-25 Thread Andrea Rendine
why not improving an existing feature See https://wiki.whatwg.org/wiki/FAQ#Where.27s_the_harm_in_adding.E2.80.94 Yes, I think I should have expressed it better. Why not improving *this* specific feature? I'm aware that older elements could end up being incompatible with use cases they have

Re: [whatwg] Responsive image maps

2015-03-25 Thread Andrea Rendine
Instead, we start by figuring out what problems need solving. Which is what has been done for this subject, I guess. PROBLEM: image maps, intended as shaped link areas related to specific regions of an image are a fairly requested feature. Unfortunately, as current solutions are not responsive

Re: [whatwg] Responsive image maps

2015-03-25 Thread Andrea Rendine
One of the 2 objections, I'd say. But the second is probably a matter of implementation. SVG makes it unclear what's the actual active area when navigating through tab key. 2015-03-25 19:32 GMT+01:00 Tab Atkins Jr. jackalm...@gmail.com: On Wed, Mar 25, 2015 at 10:03 AM, Andrea Rendine

Re: [whatwg] Page refresh interface

2015-03-26 Thread Andrea Rendine
Simon: I think extremely few actually care about XHTML, but the other issue is probably more relevant. I think that the spec takes care of XHTML and that there's a W3 candidate recommendation spec about polyglot markup. XHTML addresses some issues and creates others, but actually I trust it for

Re: [whatwg] Page refresh interface

2015-03-26 Thread Andrea Rendine
. on page caching. 2015-03-26 14:09 GMT+01:00 Simon Pieters sim...@opera.com: On Thu, 26 Mar 2015 13:11:15 +0100, Andrea Rendine master.skywalker...@gmail.com wrote: You still haven't demonstrated that anyone but you want the ability to stop a meta refresh, though. I guess it's extremely

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-03-30 Thread Andrea Rendine
Bobby, the major criticism you have received about your proposal is that you aren't considering at all any other party involved in this subject. Correct me if I'm wrong, you cite no user agent responsible for support, nor working groups or anything loosely resembling to that. You are providing a

Re: [whatwg] Responsive image maps

2015-03-31 Thread Andrea Rendine
if the svg is inline in the html document. Support for tabindex in svg is implemented in Blink and WebKit already. On Wed, 25 Mar 2015 21:24:04 +0100, Andrea Rendine master.skywalker...@gmail.com wrote: One of the 2 objections, I'd say. But the second is probably a matter of implementation. SVG

Re: [whatwg] Page refresh interface

2015-03-26 Thread Andrea Rendine
...@lists.whatwg.org] On Behalf Of Andrea Rendine Sent: donderdag 26 maart 2015 16:15 To: WHATWG List Subject: Re: [whatwg] Page refresh interface ..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

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-03-28 Thread Andrea Rendine
I'm going to say something not nice. Blame me freely. Back in the earliest days, it was pretty easy to publish a page of text... Easy enough for the average writer ... The fact that writing a simple document has become a programming job - between a lot more HTML functionality, CSS, and

Re: [whatwg] Responsive image maps

2015-03-23 Thread Andrea Rendine
Uhr, schrieb Tab Atkins Jr. jackalm...@gmail.com: On Fri, Mar 20, 2015 at 1:00 PM, Andrea Rendine master.skywalker...@gmail.com wrote: About SVG, I made a couple of tests and they are far from being comprehensive, but this is the fact. SVG image maps need to define 2 elements for each area

Re: [whatwg] Page refresh interface

2015-03-26 Thread Andrea Rendine
+01:00 Simon Pieters sim...@opera.com: On Thu, 26 Mar 2015 17:10:56 +0100, Andrea Rendine master.skywalker...@gmail.com wrote: http://stackoverflow.com/questions/3252743/using- javascript-to-override-or-disable-meta-refresh-tag This thread is quite full of examples with authors trying

Re: [whatwg] HTML6 single-page apps without Javascript proposal now on Github

2015-03-24 Thread Andrea Rendine
GMT+01:00 Bobby Mozumder mozum...@futureclaw.com: On Mar 24, 2015, at 8:19 AM, Andrea Rendine master.skywalker...@gmail.com wrote: As an author I shall offer my 2 cents too. First off, I'm for native implementations and all that markup and CSS can do on _existing_ content. Thus said, I prefer

Re: [whatwg] Page refresh interface

2015-03-26 Thread Andrea Rendine
refresh should be avoided altogether and replaced by JS? 2015-03-26 14:48 GMT+01:00 Simon Pieters sim...@opera.com: On Thu, 26 Mar 2015 14:37:17 +0100, Andrea Rendine master.skywalker...@gmail.com wrote: Some fellow people who want to stop the power of meta, then. (the first 2 questions

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-03-27 Thread Andrea Rendine
It's sad indeed, as it seems that best practices are seldomly followed and poor coding is the way. However, some functionality ordinarily provided by JavaScript that now can be done by HTML5, e.g. the details tag and progress tag Actually progress is native only in its attribute definition and

Re: [whatwg] Thoughts on the nav element

2015-03-27 Thread Andrea Rendine
After a mail confrontation with Reinier, as well as some very simple models I saw at work, I have to admit that I support this idea. nav has a strong semantic value, for sure. It deserves UAs to easily highlight navigation elements. Thus said, is it really needed that nav necessarily defines a

[whatwg] Page refresh interface

2015-03-23 Thread Andrea Rendine
Hi everybody! A request starting from meta element and its refresh state: why doesn't the document interface expose the refresh timeout? The ideal would be to expose it in read/write mode, as authors have evolved several variants of location.href/replace/refresh/reload. And for several I mean 534:

Re: [whatwg] MetaExtension and Dublin Core revision

2015-04-01 Thread Andrea Rendine
not apply to dc.date.issued, which simply does not exist (the correct property name is dc.issued). You can find all sources for those properties at http://dublincore.org/documents/2012/06/14/dcmi-terms/ Cheers, Andrea Rendine

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-04-02 Thread Andrea Rendine
Some years ago there were also Internet Explorer 6, proprietary tags, frameset web pages and the project for DHTML. There also was the idea of simple JS expressions to be evaluated in CSS. Why does anybody not propose to restore {expression()}? Never been a fan of the new is good motto, but saying

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-04-02 Thread Andrea Rendine
Bobby, stop talking about comfort zone and scared programmers and start acting like a person who considers anybody else worth discussing with, instead of a bunch of stupid people acting for their own interest. What you propose is as complex and impractical as a JS framework is. Moreover, an author

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-04-03 Thread Andrea Rendine
Polyfills aren’t going to cover all possible scenarios, either, since they’re going to be limited by test coverage. Some messages ago you suggested that Angular would serve as a proof of concept for your proposal I'm sure you didn't mean to replicate Angular.js with HTML. No polyfills will

Re: [whatwg] Using @type on code to specify the computer language

2015-05-09 Thread Andrea Rendine
Long ago I proposed an attribute for code language because I was unhappy with all the class=language-whatever thing. I proposed @lang because I thought there could be an issue with speech synthesis and languages, but it was effectively pointed out that such attribute does not fit this case. +1

Re: [whatwg] Using @type on code to specify the computer language

2015-05-09 Thread Andrea Rendine
Mathias, mind that while libraries support using the @class attribute, there's no standard between them about whether to use a prefix before the language or if a prefix is necessary at all. Besides, @class has no semantic value. It's true that the spec suggests using semantic class names (instead

Re: [whatwg] MetaExtension and Dublin Core revision

2015-04-10 Thread Andrea Rendine
Mr Hickson, I understand now, things are to be tested in the real world. I hope you judge WebDevData a reliable source. I ran some tests on latest WDD dataset (January 2015) All list items below have been searched as value for meta@name dc.date.issued (along with possible variants

Re: [whatwg] HTML6 proposal for single-page apps without Javascript

2015-04-02 Thread Andrea Rendine
You don't have to show any magnificent markup example with pages of description. You have to show authors how this framework WORKS in real life. With comprehensive use cases. This is a polyfill. As you can find for any other HTML magic you see around. CSS is a different case. Without proper tools,