Options:
- # [0:04] <annevk> and the overloading <object> debate continues
- # [0:04] <annevk> yay
- # [0:04] <othermaciej> w00t
- # [0:05] <annevk> othermaciej, btw, you think we should add the constants to XMLHttpRequest?
- # [0:10] <othermaciej> annevk: I don't really have a strong opinion
- # [0:10] <othermaciej> they seem nice, but not absolutely necessary
- # [0:11] * annevk doesn't really care either
- # [0:11] <annevk> but it's trivial to add them in the spec
- # [0:11] <annevk> and prolly trivial in implementations too
- # [0:12] * twanj (n=chatzill@c-66-176-118-121.hsd1.fl.comcast.net) Quit (Read error: 60 (Operation timed out))
- # [0:14] * annevk asks some other implementors
- # [0:15] <othermaciej> it is more typical DOM practice to have named constants and not just bare numbers with special meanings for things like this
- # [0:16] <annevk> yup
- # [0:19] <Dashiva> And the longer the better
- # [0:19] <othermaciej> I don't understand why people think <object> is a good thing
- # [0:19] <othermaciej> "I'm including something" doesn't seem very semantically meaningful
- # [0:20] <othermaciej> making things more generic runs counter to the very idea of semantic markup
- # [0:20] <Dashiva> I don't think it's on semantical grounds, more for simplicity and fear of redundance (my guesswork only, of course)
- # [0:20] <Hixie> <object> is anything but simple
- # [0:21] <othermaciej> <object> is possibly the most complex element in all of HTML
- # [0:21] <Dashiva> But not changing the status quo is simpler than doing so
- # [0:22] <Hixie> maybe we should drop <object> from HTML5 altogether
- # [0:22] * Hixie ducks
- # [0:22] <Dashiva> heh
- # [0:22] <othermaciej> heh
- # [0:22] <Dashiva> I'm sure macromedia would love that
- # [0:22] <Hixie> we have <embed> for plugins
- # [0:22] <othermaciej> Hixie: is there a list anywhere of which elements HTML5 drops or deprecates that are in HTML4? Is that on the wiki?
- # [0:23] <Hixie> dunno off hand, there might be
- # [0:23] <annevk> <embed> works better for Flash than <object> anyway
- # [0:23] <Dashiva> Does object serve any purposes that aren't served by specific elements?
- # [0:23] * hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Read error: 104 (Connection reset by peer))
- # [0:23] <Dashiva> iframe, img, video eats up a lot of it
- # [0:23] * hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [0:23] <Dashiva> If embed handles plugins, what's left?
- # [0:23] * hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Remote closed the connection)
- # [0:24] * hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [0:24] <annevk> audio...
- # [0:24] <annevk> but there's an API for that
- # [0:24] <Hixie> we have Audio() for that
- # [0:24] <Hixie> (i don't really undertand how <audio> would make sense)
- # [0:24] <annevk> after thinking about it some more me neither
- # [0:24] <Dashiva> For playing music?
- # [0:24] <othermaciej> I think <audio> makes sense
- # [0:24] <annevk> how would it work?
- # [0:25] <Dashiva> Like embed, or bgsound if you want
- # [0:25] <Hixie> othermaciej: what does it represent?
- # [0:25] <annevk> if it's about the UI you just want a declarative interface to Audio() through buttons or something
- # [0:25] <othermaciej> it represents an embedded semantic/foreground sound, analogous to img and video
- # [0:25] <annevk> othermaciej, http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Markup_2 has element and attribute changes
- # [0:25] <Dashiva> Well, it frees you from depending on scripts
- # [0:25] <annevk> might not be up to date
- # [0:25] <othermaciej> this will be easier to discuss on Monday so I'll hold off for now
- # [0:26] <Hixie> crap gotta go ref the finals
- # [0:26] <Hixie> bbiab
- # [0:26] <Dashiva> annevk: I see it sort of like event-source
- # [0:27] <othermaciej> wow, "target" attribute is removed?
- # [0:27] <annevk> it was recently added again I think
- # [0:27] <annevk> i'll fix that
- # [0:28] <othermaciej> most of the obsolete attributes seem rightfully obsoleted, but many of the obsolete elements are in the "browsers will have to implement these anyway" category
- # [0:29] <met_> osolete Elements: acronym (use <abbr> instead) = reason for this?
- # [0:29] <annevk> those will prolly be in the rendering section for exactly that reason
- # [0:29] <annevk> met_, there's no real useful difference and authors are constantly confused as to which to use
- # [0:29] <othermaciej> met_: please see archives of the many debates on this
- # [0:29] <annevk> othermaciej, just like the parsing section handles all elements the rendering section will (hopefully anyway) too
- # [0:30] <othermaciej> annevk: maybe there should be some category of elements that conformant implementations must implement, but which can never appear in a conformant document and must be rejected by conformance checkers
- # [0:30] <othermaciej> like a stronger version of deprecation
- # [0:30] <othermaciej> I don't think relegating it to the conformance section makes sense, since in some cases the API may matter too
- # [0:30] <annevk> othermaciej, yes, that's what I said :)
- # [0:30] <met_> othermaciej, any way how to fullsearch mailing list other than google site:lists.whatwg.org ?
- # [0:30] <annevk> rendering section only applies to implementors
- # [0:30] <othermaciej> although I suppose defining the content model for an intrinsically nonconformant element is kinda pointless
- # [0:31] <annevk> yup
- # [0:31] <annevk> you just need parsing + rendering
- # [0:31] <othermaciej> annevk: maybe it shouldn't be called "rendering" if it might contain APIs and attribute definitions
- # [0:31] <othermaciej> you need parsing, rendering, how to interpret the attributes, etc
- # [0:31] <annevk> oh, dunno about APIs
- # [0:31] <othermaciej> met_: I dunno
- # [0:31] <annevk> for <body> and such you'd have to define a lot of additional stuff too then
- # [0:32] <annevk> (for instance)
- # [0:32] <annevk> link@target and form@target are still on the page as they're not defined yet
- # [0:33] <annevk> <font> is also in HTML5
- # [0:35] <annevk> fixed that too
- # [0:36] <met_> not sure about acronym dropping, but ok I can live without it 8-), but general question from this
- # [0:36] <met_> many people will ask "why you drop this", "why you add this" etc. etc. and there is no other answer than "see in mailing list archive".
- # [0:36] <met_> may be there is need from "something" faq, wiki answers, dunno, otherwise you will see "why you drop acronym" and other questions for hundred and hundred times
- # [0:36] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [0:37] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Remote closed the connection)
- # [0:37] <annevk> you are free to do so
- # [0:37] <annevk> encouraged even
- # [0:38] <met_> not sure if i am the right person, still do not orientate in spec enough
- # [0:38] <met_> btw full text mailing list search exists at http://lists.whatwg.org/pipermail/whatwg-whatwg.org/
- # [0:39] * icaaq calls it in for the night. Kepp up the good work :)
- # [0:40] * icaaq is now known as icaaq_sleeps
- # [0:42] * hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Read error: 110 (Connection timed out))
- # [0:42] * annevk uses "g <string> inurl:whatwg-whatwg" for searching mostly
- # [0:46] * annevk -> bed
- # [0:54] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [1:01] * met_ (n=Hassman@r5bx220.net.upc.cz) Quit ("Chemists never die, they just stop reacting.")
- # [1:01] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has left #whatwg
- # [1:04] <Hixie> othermaciej: yeah don't worry in due course we'll be defining all the various elements that browsers have to support
- # [1:04] <Hixie> othermaciej: but they won't be "HTML5"
- # [1:04] <Hixie> othermaciej: (the parsing section already does this -- it defines parsing for dozens of obsolete elements)
- # [1:06] <Hixie> othermaciej: i guess <audio> could make sense if it implies ui controls (unlike <video> which doesn't in v1, though probably would in v2)
- # [1:18] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [1:23] * h3h (n=w3rd@cpe-70-95-234-202.san.res.rr.com) has joined #whatwg
- # [1:24] <sayrer> I don't understand the objections to <audio>
- # [1:31] <Lachy> The audio and video APIs should be made the same, except for the width/height
- # [1:33] <Lachy> I haven't made up my mind about <audio> yet. In some ways, Audio() provides all the necessary features for using Audio with script, but <audio> provides a declerative way to embed audio, potentially with a UA supplied UI that also provides the API
- # [1:34] <sayrer> also volume controls and other things that hover over the content area probably need to work differently for vide
- # [1:34] <Lachy> I know <embed> and <object> already provide a way to embed audio with a plugin-supplied-UI, but that audio doesn't have any API
- # [1:37] <Lachy> oh, it would be cool if the API could provide access to the ID3 tag info (or equivalent) in audio and video files
- # [1:39] <sayrer> yeah. it would be good not specify it idl
- # [1:39] <sayrer> so it can be a dictionary (JS Object)
- # [1:39] <Lachy> sayrer, what?
- # [1:40] <Lachy> care to rephrase that?
- # [1:40] <sayrer> Lachy: I don't think we want an AudioMetadataInterface
- # [1:40] <Lachy> why not?
- # [1:41] <sayrer> because it will be easier to do it adhoc
- # [1:41] <sayrer> see what keys people use
- # [1:42] <sayrer> there is already a big list in id3, right?
- # [1:42] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Remote closed the connection)
- # [1:43] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [1:43] * Lachy is looking up the list of ID3 tags
- # [1:50] <Lachy> couldn't a metadata API be as simple as getValue(key);? Then there are no limits on what keys can be accessed
- # [1:51] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) Quit (Remote closed the connection)
- # [1:51] <Lachy> we definitely don't want getArtistName() getAlbumName(), etc. cause that's not very extensible
- # [1:51] * tantek (n=tantek@66.194.95.2) has joined #whatwg
- # [1:51] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [1:54] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has left #whatwg
- # [1:56] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has joined #whatwg
- # [2:00] * hendry (n=hendry@91.84.53.136) Quit ("nn")
- # [2:01] <sayrer> Lachy: I agree. might be better to specify them as JSON and let implementations bind them per-language
- # [2:06] * tantek (n=tantek@66.194.95.2) Quit ()
- # [2:28] <Lachy> sayrer, do you mean to expose the data in JSON format like {"Artist":"Someone", "Album":"Something", ... } ?
- # [2:28] <sayrer> Lachy, I mean define it in JSON, and say the actual API is per-language
- # [2:29] <Lachy> define what in JSON?
- # [2:29] <sayrer> so in JS and Python, say, it is just a your normal object
- # [2:29] <Lachy> the API?
- # [2:29] <sayrer> say it is a JSON dictionary and give a couple super obvious keys
- # [2:29] <sayrer> in Java, it could be a hashtable
- # [2:30] <Lachy> but what exactly does "it" refer to?
- # [2:30] <sayrer> "the metadata"
- # [2:30] <Lachy> I'm so confused
- # [2:30] <sayrer> so, you had it right in your example
- # [2:31] <Lachy> oh, ok. I thought I had it wrong because of what you said afterwards
- # [2:31] <sayrer> in JS it would be
- # [2:31] <sayrer> >> audio.metadata.Artist
- # [2:31] <sayrer> "Someone"
- # [2:31] <sayrer> in Java, it would be uglier
- # [2:47] * moeffju is now known as moeffju[ZzZz]
- # [3:06] <Lachy> Hixie, yt?
- # [3:07] <Lachy> the stop() method appears to be missing from the HTMLVideoElement IDL
- # [3:09] <othermaciej> Lachy: a metadata API can't be that simple
- # [3:10] <Dashiva> I just got 28 mailing list messages for all of today in one huge chunk...
- # [3:13] * bewest (n=ben@httpcraft/bewest) has joined #whatwg
- # [3:14] * sayrer (n=chatzill@user-10876hc.cable.mindspring.com) Quit ("Chatzilla 0.9.73-rdmsoft [XULRunner 1.8.0.4/2006050908]")
- # [3:15] <hasather_> Dashiva: digest?
- # [3:27] * weinig is now known as weinig|zZz
- # [3:28] * webben (n=benjamin@91.84.131.217) Quit ("Leaving")
- # [3:28] <Dashiva> No, regular mail. Must've been a choke somewhere along the way to me
- # [3:59] * mpt (n=mpt@121-72-132-150.dsl.telstraclear.net) has joined #whatwg
- # [4:11] <Hixie> ok i am now here
- # [4:31] * tantek (n=tantek@66.194.95.2) has joined #whatwg
- # [4:45] <Lachy> Hixie, I've been thinking about whether or not we need an audio element and there are a couple of advantages to having it
- # [4:46] <Lachy> it would make the audio available to users without script
- # [4:47] <Lachy> <audio ui="on"> could provide a UI, similar to what we get with object/embed today
- # [4:50] <Hixie> yeah but we'd still have to have the API to do sound effects
- # [4:50] <Hixie> so it's yet another feature
- # [4:50] <Lachy> adding support for visulatisations could be done in the future as well, if there were a screen provided for it
- # [4:54] <Lachy> well, there are some use cases for it too. Providing music previews on a music site like this, which currently uses flash: http://magnatune.com/artists/albums/bradsucks-dontknow/hifi_play
- # [4:55] <Hixie> that would use the Audio API, not the element, since it makes its own UI and everything
- # [4:56] <Lachy> possibly, but the API would need to be enhanced. The spec also says Audio() is desiged for sound effects, not streaming music like that does
- # [4:56] <Hixie> yeah
- # [4:56] <Hixie> well it certainly is at the moment
- # [4:58] <Lachy> but even if it were enhanced, users without script (like many mobile phone) would have no alternative
- # [5:02] <Dashiva> streaming is a very good use case
- # [5:05] <Lachy> is there an open format that supports streaming for live broadcasts, or only proprietary formats like those used in Real Player and Windows Media Player?
- # [5:05] * hasather_ (n=hasather@81-235-209-174-no62.tbcn.telia.com) has left #whatwg
- # [5:06] <Dashiva> The format used in shoutcast, maybe? Not sure
- # [5:11] * tantek (n=tantek@66.194.95.2) Quit ()
- # [5:15] <Hixie> Lachy: i haven't added them yet but all the events on <video> can be event listener attributes, and Audio is an EventTarget too
- # [5:16] <Lachy> I thought they would be
- # [9:04] * csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca) Quit ()
- # [9:21] * annevk2 (n=annevk@86.90.70.28) has joined #whatwg
- # [9:29] * annevk (n=annevk@86.90.70.28) Quit (Read error: 110 (Connection timed out))
- # [9:50] * icaaq_sleeps is now known as icaaq
- # [11:02] * annevk2 is now known as annevk
- # [11:08] * ROBOd (n=robod@86.34.246.154) has joined #whatwg
- # [11:19] * hendry (n=hendry@91.84.53.136) has joined #whatwg
- # [11:26] * annevk (n=annevk@86.90.70.28) Quit (Read error: 110 (Connection timed out))
The end :)