/irc-logs / w3c / #webapps / 2010-04-09 / end
Options:
- # Session Start: Fri Apr 09 00:00:00 2010
- # Session Ident: #webapps
- # [00:42] * Quits: Nikunj (Adium@64.186.167.205) (Ping timeout)
- # [00:42] * Quits: aroben (aroben@71.58.77.15) (Connection reset by peer)
- # [00:49] * Joins: Nikunj (Adium@64.186.167.205)
- # [01:09] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [01:09] * Joins: Nikunj (Adium@64.186.167.205)
- # [01:56] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [01:57] * Joins: Nikunj (Adium@64.186.167.205)
- # [02:46] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [04:44] * Joins: Nikunj (Adium@98.234.66.20)
- # [04:54] * Quits: timeless_mbp (timeless@88.115.8.36) (Ping timeout)
- # [05:01] * Joins: timeless_mbp (timeless@88.115.8.36)
- # [05:05] * Quits: Nikunj (Adium@98.234.66.20) (Quit: Leaving.)
- # [05:05] * Joins: Nikunj (Adium@98.234.66.20)
- # [05:06] * Quits: Nikunj (Adium@98.234.66.20) (Quit: Leaving.)
- # [05:31] * Joins: paul_irish (paul_irish@71.192.163.128)
- # [05:50] * Joins: Nikunj (Adium@98.234.66.20)
- # [06:04] * Quits: Nikunj (Adium@98.234.66.20) (Ping timeout)
- # [06:22] * Joins: MikeSmithX (MikeSmith@111.188.56.148)
- # [06:24] * Quits: MikeSmithX (MikeSmith@111.188.56.148) (Quit: Till kicked and torn and beaten out he lies, and leaves his hold and crackles, groans, and dies.)
- # [06:24] * Joins: MikeSmithX (MikeSmith@111.188.56.148)
- # [06:27] * Joins: MikeSmith (MikeSmith@114.48.142.78)
- # [06:27] * Quits: MikeSmithX (MikeSmith@111.188.56.148) (Ping timeout)
- # [06:32] * Joins: Nikunj (Adium@98.234.66.20)
- # [06:37] * Joins: MikeSmithX (MikeSmith@114.48.44.102)
- # [06:38] * Quits: MikeSmith (MikeSmith@114.48.142.78) (Ping timeout)
- # [06:54] * Quits: Nikunj (Adium@98.234.66.20) (Quit: Leaving.)
- # [06:58] * Joins: Nikunj (Adium@98.234.66.20)
- # [07:06] * Quits: Nikunj (Adium@98.234.66.20) (Quit: Leaving.)
- # [07:17] * Quits: MikeSmithX (MikeSmith@114.48.44.102) (Ping timeout)
- # [07:30] * Joins: Nikunj (Adium@98.234.66.20)
- # [08:02] * Quits: timeless_mbp (timeless@88.115.8.36) (Quit: Leaving.)
- # [09:36] * Quits: fjh (fjh@66.30.252.41) (Quit: fjh)
- # [09:55] * Quits: Lachy (Lachlan@85.196.122.246) (Quit: Leaving)
- # [09:55] * Joins: Lachy (Lachlan@85.196.122.246)
- # [10:04] * Joins: fjh (fjh@66.30.252.41)
- # [10:16] * Quits: shepazu (schepers@128.30.52.169) (Quit: shepazu)
- # [10:26] * Joins: tlr (tlr@128.30.52.169)
- # [10:55] * Quits: Nikunj (Adium@98.234.66.20) (Quit: Leaving.)
- # [11:37] * Quits: Lachy (Lachlan@85.196.122.246) (Quit: This computer has gone to sleep)
- # [11:55] * Joins: Lachy (Lachlan@213.236.208.22)
- # [12:21] * Quits: fjh (fjh@66.30.252.41) (Quit: fjh)
- # [12:38] * Joins: arve (arve@213.236.208.22)
- # [12:46] * Joins: ArtB (chatzilla@192.100.124.219)
- # [13:19] * Quits: anne (annevk@83.85.115.123) (Connection reset by peer)
- # [13:19] * Joins: anne (annevk@83.85.115.123)
- # [13:41] * Joins: fjh (fjh@66.30.252.41)
- # [13:54] * Quits: arve (arve@213.236.208.22) (Quit: Ex-Chat)
- # [14:00] * Joins: arve (arve@213.236.208.22)
- # [14:00] * Quits: arve (arve@213.236.208.22) (Quit: Ex-Chat)
- # [14:13] * Joins: arve (arve@213.236.208.22)
- # [14:32] * Quits: arve (arve@213.236.208.22) (Quit: Ex-Chat)
- # [14:41] * Joins: darobin (robin@82.127.47.225)
- # [14:55] <Marcos> ArtB, darobin, talked to anne about W-VM-I. Apparently, David Baron made a proposal that addresses VM-I's cases. He proposed to extend CSSOM Views' matchMedium() method with a call back. For example: blahblah = styleMedia.matchMedium("screen", function() { alert("no longer screen!") })
- # [14:56] <ArtB> Anne, do you have a pointer to that conversation with DavidB?
- # [15:03] <anne> https://bugzilla.mozilla.org/show_bug.cgi?id=542058#c3
- # [15:06] <kenneth> Marcos, interesting suggestion
- # [15:08] <kenneth> anne, you like that suggestion?
- # [15:09] <anne> i rather have nothing at all to be honest, but after having thought it some more I suppose it is relatively low cost
- # [15:10] <anne> i haven't really seen a lot of use cases presented
- # [15:10] <anne> or anything actually
- # [15:10] <kenneth> I have heard people requesting that
- # [15:11] <anne> sure, i have seen requests too
- # [15:11] <anne> people request things all the time
- # [15:11] <anne> but unless it is clear why designing a good solution is hard
- # [15:12] <anne> often people request features because a current feature is buggy
- # [15:12] * Joins: arve (arve@213.236.208.22)
- # [15:12] <anne> clearly the solution there is to fix the bug instead
- # [15:12] <kenneth> people want to make the view modes quite different and have a lot of flexibility
- # [15:12] <kenneth> so I guess getting notified about the change makes sense
- # [15:12] <kenneth> you might not just want to change the css
- # [15:13] <anne> sure, but none of that is a use case
- # [15:13] <anne> so it's still not clear what the problem is
- # [15:14] * Joins: lgombos (Laszlo@192.100.104.17)
- # [15:14] <kenneth> anne, you want to change things with scripting when changing mode? how is that not a use-case?
- # [15:15] <darobin> I have a colour picker: if the medium goes from colour to B&W I want to make it B&W
- # [15:15] * darobin loves inane examples
- # [15:15] * Joins: aroben (aroben@71.58.77.15)
- # [15:15] <anne> i doubt any browser would actually catch that case
- # [15:15] <Marcos> Anne, rotate your ipod touch (use case).
- # [15:16] <kenneth> Marcos, that is a more real use case
- # [15:16] <anne> rotating is not a use case
- # [15:16] <anne> a use case is that if you rotate your ipod touch you want to show the more advanced calculator
- # [15:16] <anne> is it really that hard?
- # [15:16] <anne> o_O
- # [15:17] <darobin> that's why the colour picker is a use case
- # [15:17] <darobin> even if it's a useless case
- # [15:17] <anne> oh yeah, I didn't disagree with you
- # [15:17] <Marcos> anne, well, that's one of a million use cases... the point is that it's a use case. Rotate, detect rotation, do something fancy
- # [15:17] <anne> I've been wondering how to test color changes dynamically a couple of years ago
- # [15:17] <anne> it didn't work
- # [15:17] <kenneth> we have the media for landscape/portrait...
- # [15:17] <darobin> no, it's not really supported
- # [15:18] <anne> Marcos, no it's not a use case
- # [15:18] <anne> of course then follows that you have to demonstrate it does not work with just media queries and CSS
- # [15:18] <anne> e.g. by selectively hiding and moving parts of the interface around using CSS
- # [15:18] <kenneth> Marcos, for Widgets I might want to show different menu items (created using JS) depending if it is portrait or landscape
- # [15:18] <anne> there's no point adding a new feature if the use case is already covered
- # [15:19] <darobin> well the thing is that it also depends on which CSS we're talking about
- # [15:19] <kenneth> anne, how would you do that? ^
- # [15:19] <Marcos> That's ridiculous Anne, that's like saying "we already have assembler, and it does everything, why do you need anything else?"
- # [15:19] <darobin> for instance, if we had advanced template layouting, a number of the use cases might disappear (e.g. the calculator one probably would)
- # [15:20] <anne> kenneth, display:none :)
- # [15:20] <darobin> but we don't have template layout in a usable form now
- # [15:20] <anne> darobin, yup
- # [15:20] <darobin> vertical centering :-p
- # [15:21] <anne> Marcos, it's not, use cases involve users (well, actors)
- # [15:21] <kenneth> anne, we will have native JS api's for doing native integration, we will need to change things using JS when changing view mode etc. How can I do that today without getting notified of the view mode change
- # [15:21] <anne> Marcos, see http://en.wikipedia.org/wiki/Use_Case for some more details
- # [15:22] <kenneth> as a user I want my app to go fullscreen, meaning that the app adds a native menu item called "exit fullscreen" via JS
- # [15:23] <darobin> and I think that this functionality, being a lot easier to specify and implement than templates, makes sense while we wait for the CSS WG to finish that
- # [15:24] <Marcos> As user of a widget, I have a full audio program with OS chrome. I want to swap to a mode where there is no chrome so I can display just play/next/prev.
- # [15:24] <kenneth> Marcos, and you want want to have a lot of hidden div
- # [15:24] <kenneth> s in memory :-)
- # [15:25] <Marcos> no, I want the browser chrome to all go away.
- # [15:25] <Marcos> and just float there
- # [15:25] <Marcos> Like a "widget" :)
- # [15:26] <kenneth> oh yeah
- # [15:26] <kenneth> Marcos, also important for hybrid apps
- # [15:26] <kenneth> Marcos, you want the actual app using the web view to change
- # [15:26] <anne> darobin, I'm not really opposed; I just think it makes sense to put a thought into it, because maybe we can do better
- # [15:26] <Marcos> That is true, and those have users right? I guess that makes them "use cases"... but I might be crazy :)
- # [15:26] <anne> a little thought*
- # [15:27] <kenneth> anne, I like a lot more adding this callback that making something specific for view modes, rotation etc
- # [15:27] * Marcos too
- # [15:28] <kenneth> the question is what kind of even would the method receive? none, so you have to check with matchMedium?
- # [15:28] <darobin> anne: well, I think it makes sense to put some thought into anything that we intend to make a standard of — I'm not opposed to you thinking :)
- # [15:29] <kenneth> I just hope we will do it soon, so we dont have vendors shipping different solutions
- # [15:30] <anne> kenneth, event? it's a callback
- # [15:30] <darobin> should someone take dbaron's proposal to email and see if we can garner some wider consensus?
- # [15:30] <kenneth> yaeh I know, I mean should the callback receive arguments?
- # [15:30] <lgombos> widget environments often also have javascript extensions that are not part of DOM, so not stylable via DOM - hance the need for a scriptable event
- # [15:30] <anne> i don't think so
- # [15:30] <kenneth> anne, like the new viewmode
- # [15:30] <kenneth> ok
- # [15:31] <kenneth> so if you want to know what changed you will have to call matchMedium, sounds fine with me
- # [15:31] <anne> matchMedium evaluates to either true or false, the callback is invoked when that changes, that should be sufficient
- # [15:31] <kenneth> oh yeah true
- # [15:31] <kenneth> so for view mode changes, I will have to add one call back for each mode or just one for (view-mode)
- # [15:31] <anne> you can just update the variable you put whatever matchMedium returned in
- # [15:32] <anne> one for each you care about
- # [15:32] <kenneth> yes you are right
- # [15:32] <kenneth> i like this solution
- # [15:35] <kenneth> anne, "I didn't know it was already implemented, but Apple told me they are updating
- # [15:35] <kenneth> because they agree the renaming will help avoid clashes.". Are you sayuing that matchMedium will change name?
- # [15:37] <anne> the interface it is on and its accessor is
- # [15:37] <anne> well, has changed name
- # [15:37] <kenneth> ah got it
- # [15:37] <kenneth> it is currently on .media in webkit
- # [15:38] <anne> in trunk?
- # [15:38] <kenneth> im pretty sure
- # [15:38] <kenneth> but that should change to styleMedia then?
- # [15:38] <anne> yes
- # [15:38] <kenneth> I can probably fix that then
- # [15:38] <anne> I discussed this in person last week with the people at Apple
- # [15:38] <kenneth> with who?
- # [15:39] <kenneth> if that will change I need to make that change before we release a new QtWebKit and people start using this
- # [15:39] <anne> simon and dino
- # [15:39] <kenneth> ok
- # [15:39] * tlr is now known as tlr-bbiab
- # [15:40] <kenneth> I will add simon fraser to the bug then :-)
- # [15:40] <kenneth> oh yes our tests currently use this
- # [15:40] <kenneth> var isTrue = document.defaultView.media.matchMedium(query);
- # [15:41] * arve notes that tlr-bbiab is using runkeeper as well
- # [15:41] <kenneth> lgombos, we need to fix this before our release
- # [15:41] <lgombos> kenneth: agreed, should be an easy fix if it is just a name change
- # [15:42] <kenneth> yes
- # [15:42] <kenneth> I will look into it today
- # [15:42] <lgombos> anne, you're probably referring to Simon Fraser
- # [15:43] <kenneth> lgombos, yes, he was in the meeting
- # [15:46] <anne> kenneth, document.defaultView seems somewhat overkill
- # [15:47] * tlr-bbiab mumbles "51.4km" to Arve
- # [15:47] <kenneth> anne, yes, wouldn't that not just return window?
- # [15:48] <anne> yeah
- # [15:49] <anne> there was the idea it might return a different global object depending on the view but that is not going to happen
- # [15:50] <arve> tlr-bbiab: that's impressive
- # [15:51] <arve> 23.3 only here
- # [15:52] <arve> I think I need to convince the runkeeper people to port to HTML5
- # [15:53] <tlr-bbiab> yep
- # [15:54] <arve> slash widgets+geolocation
- # [15:54] <arve> (or rather, a more specific api than geolocation)
- # [16:19] * Quits: arve (arve@213.236.208.22) (Quit: Ex-Chat)
- # [16:41] * tlr-bbiab is now known as tlr
- # [16:51] * Joins: timeless_mbp (timeless@88.115.8.36)
- # [17:10] * Quits: darobin (robin@82.127.47.225) (Client exited)
- # [17:21] * Joins: shepazu (schepers@128.30.52.169)
- # [17:38] * Quits: paul_irish (paul_irish@71.192.163.128) (Client exited)
- # [18:02] * tlr is now known as tlr-bbl
- # [18:30] * Joins: Nikunj (Adium@64.186.167.205)
- # [19:03] * Quits: Marcos (Marcos@213.236.208.22) (Quit: Marcos)
- # [19:34] * Joins: Nikunj1 (Adium@64.186.167.205)
- # [19:34] * Quits: Nikunj1 (Adium@64.186.167.205) (Client exited)
- # [19:35] * Quits: Nikunj (Adium@64.186.167.205) (Ping timeout)
- # [19:37] * Joins: Nikunj (Adium@64.186.167.205)
- # [19:38] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [19:43] * Joins: Nikunj (Adium@64.186.167.205)
- # [20:02] * Quits: Lachy (Lachlan@213.236.208.22) (Quit: This computer has gone to sleep)
- # [20:34] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [21:06] * Joins: MikeSmith (MikeSmith@114.48.145.213)
- # [21:08] * Joins: Nikunj (Adium@64.186.167.205)
- # [21:22] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [21:24] * Joins: Nikunj (Adium@64.186.167.205)
- # [21:24] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [21:28] * Joins: Nikunj (Adium@64.186.167.205)
- # [21:30] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [21:34] * Joins: Nikunj (Adium@64.186.167.205)
- # [21:34] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [22:03] * Joins: Nikunj (Adium@64.186.167.205)
- # [22:03] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [22:06] * Joins: Nikunj (Adium@64.186.167.205)
- # [22:06] * Quits: Nikunj (Adium@64.186.167.205) (Quit: Leaving.)
- # [22:08] * Joins: Nikunj (Adium@64.186.167.205)
- # [22:16] * Quits: ArtB (chatzilla@192.100.124.219) (Client exited)
- # [23:43] * Joins: Lachy (Lachlan@85.196.122.246)
- # [23:44] * Quits: Lachy (Lachlan@85.196.122.246) (Client exited)
- # [23:53] * Quits: aroben (aroben@71.58.77.15) (Connection reset by peer)
- # Session Close: Sat Apr 10 00:00:00 2010
The end :)