Options:
- # Session Start: Sat Apr 21 00:00:00 2012
- # Session Ident: #whatwg
- # [00:02] * Joins: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net)
- # [00:03] * Joins: nonge (~nonge@p5B3265BF.dip.t-dialin.net)
- # [00:04] * Joins: eric_carlson (~ericc@75.16.26.133)
- # [00:04] * Joins: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net)
- # [00:05] <Yuhong> BTW, Vista has entered extended support recently which mean no more IE upgrades!
- # [00:06] <Hixie> TabAtkins: you aware of any plan to make 'white-space' have a value that works like 'normal' but optimises for equal line lengths?
- # [00:06] <TabAtkins> Heh, you're the third person asking about that this week.
- # [00:06] <TabAtkins> Oh wait, that's something different.
- # [00:07] <TabAtkins> Explain?
- # [00:07] <TabAtkins> Isn't that the definition of "text-align:justify;"?
- # [00:07] <Hixie> text-align:justify doesn't affect where words wrap, right?
- # [00:07] <Hixie> just the spacing between words
- # [00:07] <zewt> sounds like you're talking about the thing vtt wants
- # [00:08] <Hixie> i mean something like if i write "foo foo foo bar" it turns into "foo foo\nfoo bar" not "foo foo foo\nbar"
- # [00:08] <TabAtkins> Okay, that's nothing to do with white-space.
- # [00:08] * Quits: zcorpan (~zcorpan@c-919ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [00:08] <Hixie> zewt: yeah, your e-mail about it from december is what triggered my question
- # [00:08] <TabAtkins> But yes, I've had people ask about it this week, and pinged fantasai about it.
- # [00:08] <zewt> Hixie: there's some newer discussion (don't know if there's any new content, though)
- # [00:08] <TabAtkins> The obvious answer is "it's expensive on general web content".
- # [00:08] <zewt> no particular plans or anything since it's all on the webvtt list, which isn't where that would be done anyway
- # [00:09] <Hixie> zewt: i go through mail in order
- # [00:09] <Hixie> TabAtkins: k
- # [00:09] <Hixie> TabAtkins: should i just do a custom thing for webvtt then?
- # [00:09] <zewt> TabAtkins: but not really, like we discussed :)
- # [00:09] <zewt> (that is, it's not expensive if you don't try to do it "perfectly" and use the reasonable-approximation algorithm i suggested)
- # [00:09] <TabAtkins> But it's not difficult, and for WebVTT content it should be fast.
- # [00:10] <Hixie> TabAtkins: (seems to be 'white-space'-related to me, it controls where line breaks are put in. but i guess it could be a new property also, or a new keyword on text-align or something.)
- # [00:11] <TabAtkins> When you get down to it, it's about controlling the length of the last line relative to the other lines.
- # [00:11] <TabAtkins> Since, assuming normal wrapping, *all* the lines (except the last) are the same length.
- # [00:11] * Joins: rniwa (~rniwa@75.16.26.133)
- # [00:12] <TabAtkins> And being able to control wrapping to ensure that, say, the last lines of paragraphs are always >20% of the paragraph width is already useful.
- # [00:12] <zewt> TabAtkins: i guess that's one way of looking at it, but it affects all lines (not just the last) so it feels sort of an unnatural way of explaining it
- # [00:12] <TabAtkins> Making the requirement be "100% of the width" works just as well.
- # [00:12] <TabAtkins> zewt: I know. :/
- # [00:12] <zewt> that's sort of interesting--you could say "min-last-line-width", which is currently 0 (no requirement), 100 would mean "balance all lines", and you could turn the knob between those
- # [00:13] <TabAtkins> Yeah.
- # [00:13] * Quits: sarro (~sarro@i5E864778.versanet.de) (Ping timeout: 248 seconds)
- # [00:14] <TabAtkins> I forget what the property's name was, but it used to be in Text.
- # [00:14] <zewt> (don't know if the approximate algorithm I sketched out could be made to do that)
- # [00:15] <zewt> i suppose it could
- # [00:15] <zewt> (i haven't tried implementing that in a real renderer and using it on real text, so I'm not 100% sure it'll actually work well in practice ... intuitively i think it will, though, at least for VTT-caption-size blocks of text)
- # [00:16] <zewt> i guess i could try faking it up with HTML
- # [00:16] <TabAtkins> Do it!
- # [00:16] <zewt> do eet
- # [00:16] <TabAtkins> You can even get exact width data - just measure a bunch of <span>s filled with characters.
- # [00:17] <zewt> i think i can do it just by adjusting the width of the container (reduce the width until just before the height starts increasing)
- # [00:17] <Hixie> all i want to do is change where hte line breaks go, i don't really care about this more complicated stuff :-)
- # [00:17] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [00:18] <Hixie> TabAtkins: i think it's a white-space issue because in webvtt you either hard-wire the line breaks or you want the lines equally long
- # [00:18] <TabAtkins> It's not really - white-space is about the treatment of the actual whitespace characters in the markup.
- # [00:19] <TabAtkins> And it's kinda weird to have a value that means "based on this layout algorithm, treat some of the whitespace as linebreaks, regardless of what it was originally".
- # [00:19] <Hixie> TabAtkins: right, and the control is whether line breaks in the markup should be treated like 'pre-wrap' or 'normal with special line balancing'
- # [00:19] <TabAtkins> That "with special line balancing" has nothing to do with the linebreak in the markup.
- # [00:20] <Hixie> anyway like i said i don't really mind which property we put it on, my concern is just that we put it somewhere
- # [00:20] <Hixie> should i just do it in webvtt?
- # [00:20] <Hixie> or is there something i can point to?
- # [00:20] <Hixie> or will be able to soonish?
- # [00:20] <TabAtkins> What would "do it in webvtt" imply?
- # [00:20] <Hixie> adding text here: http://dev.w3.org/html5/webvtt/#webvtt-cue-text-dom-construction-rules
- # [00:21] <Hixie> er, here: http://dev.w3.org/html5/webvtt/#the-'::cue'-pseudo-element
- # [00:21] <TabAtkins> I mean would it involve making up a property?
- # [00:22] <zewt> seems like white-space is just a shortcut for text-space-collapse + text-wrap, and this would actually be a text-wrap property (whether or not it happens to have a white-space shortcut of its own)?
- # [00:23] <Hixie> TabAtkins: well i was just gonna make it work based on the white-space property, for webvtt :-)
- # [00:23] <TabAtkins> Oh, so that white-space:normal just had the special behavior?
- # [00:23] <Hixie> basically
- # [00:23] <TabAtkins> If that "basically" is "exactly", sounds fine.
- # [00:24] <zewt> huh
- # [00:24] <Hixie> but maybe by just inventing a new keyword and making that the ua.css default for ::cue
- # [00:24] * jonlee is now known as jonlee|afk
- # [00:24] <zewt> webvtt shouldn't have magic differing behavior for existing CSS properties, right?
- # [00:24] <TabAtkins> New keyword isn't fine, because *this isn't a behavior that white-space shoudl control*.
- # [00:24] * Hixie shrugs
- # [00:24] <Hixie> either way is fine by me, i just need to know what to do :-)
- # [00:24] <zewt> i'm not at all familiar with css specs--is http://dev.w3.org/csswg/css3-text/#white-space real or imaginary?
- # [00:25] <Hixie> zewt: css3 text in general is imaginary
- # [00:25] <TabAtkins> zewt: Quite real.
- # [00:25] <zewt> you two aren't helping :)
- # [00:25] <TabAtkins> That property is real.
- # [00:26] <zewt> according to that, it looks like this belongs as "text-wrap: balanced", and whether white-space also has a new shortcut for it or not is secondary
- # [00:26] * jonlee|afk is now known as jonlee
- # [00:27] <TabAtkins> text-wrap is okay if you don't plan to have any additional control.
- # [00:27] <TabAtkins> Though it would be compatible to have the eventual min-last-line-length property only work if text-wrap is 'normal'.
- # [00:28] <Hixie> if it's a separate property you'd also want it to work with things like pre-wrap
- # [00:28] * Joins: pablof (~pablof@75.16.26.133)
- # [00:29] <TabAtkins> Yes, "white-space:pre-wrap;" decomposes to "text-wrap:normal; text-space-collapse: preserve;"
- # [00:29] <TabAtkins> So it's compatible to swap out text-wrap for "balanced" or something.
- # [00:29] <Hixie> ok
- # [00:30] <Hixie> so this is all fine except text-wrap doesn't really exist as far as i can tell
- # [00:30] <Hixie> i mean it's been specced for like a decade and no browser has shown any interest to implement it, no?
- # [00:30] * Joins: ap (~ap@2620:149:4:1b01:99f6:c535:3002:e349)
- # [00:30] <TabAtkins> Good for you, then. You can just spec it for yourself with only two values.
- # [00:31] * Quits: sedovsek (~robert.se@93-103-104-107.dynamic.t-2.net)
- # [00:31] * Quits: tndrH (~Rob@cpc16-seac19-2-0-cust234.7-2.cable.virginmedia.com) (Quit: ChatZilla 0.9.88-rdmsoft [XULRunner 1.9.0.1/2008072406])
- # [00:31] * Quits: ehsan (~ehsan@66.207.208.98) (Remote host closed the connection)
- # [00:32] <Hixie> TabAtkins: i don't expect implementors to implement a property just for webvtt, given that it would have implications on all of css
- # [00:33] <TabAtkins> I'm unsure why you think a new value for an existing property is any different.
- # [00:34] <Hixie> i dunno, seems like keywords get implemented more easily
- # [00:34] <Hixie> i could be wrong about that
- # [00:34] <TabAtkins> They're basically identical from an implementation standpoint.
- # [00:34] <Hixie> hmm
- # [00:35] <Hixie> well i guess i can spec text-wrap
- # [00:35] <Hixie> with 'normal' and 'balanced'
- # [00:37] * Joins: sarro (~sarro@i5E864778.versanet.de)
- # [00:46] <Hixie> actually i don't think text-wrap is the right place
- # [00:46] <Hixie> it's another axis, really
- # [00:46] <TabAtkins> HAH
- # [00:46] <Hixie> that is only applicable at the block level
- # [00:47] <Hixie> so i'm kinda back to a new keyword on 'white-space'
- # [00:47] <zewt> TabAtkins: https://zewt.org/~glenn/balanced-wrapping.html it does seem to work fairly well
- # [00:47] <zewt> (obviously that's a dumb-slow way of doing it)
- # [00:47] <Hixie> basically a new column to the table in 3.4
- # [00:47] <TabAtkins> Hixie: white-space is a shorthand, so it's still not appropriate as a place to hang new values. ^_^
- # [00:47] <Hixie> TabAtkins: it's a shorthand only in theory
- # [00:55] * Joins: hij1nx (~hij1nx@NYUFGA-GUESTS-01.NATPOOL.NYU.EDU)
- # [00:56] * Joins: jamesr (~jamesr@75.16.26.133)
- # [00:57] * Quits: eric_carlson (~ericc@75.16.26.133) (Quit: eric_carlson)
- # [00:57] * Quits: hij1nx (~hij1nx@NYUFGA-GUESTS-01.NATPOOL.NYU.EDU) (Client Quit)
- # [00:58] * Quits: tantek (~tantek@c-76-115-51-221.hsd1.or.comcast.net) (Quit: tantek)
- # [01:01] * Joins: othermaciej (~mjs@17.245.111.38)
- # [01:01] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Remote host closed the connection)
- # [01:02] * Joins: eric_carlson (~ericc@70-35-56-82.static.wiline.com)
- # [01:03] <Hixie> annevk: you around? character encoding heuristic detection for webvtt: something we can point to your spec for? no?
- # [01:03] <Hixie> annevk: also are you doing anything for script detection for font selection?
- # [01:03] * Quits: pablof (~pablof@75.16.26.133) (Quit: ^z)
- # [01:03] <Hixie> TabAtkins: do you know if the csswg is doing anything on script detection for font selection?
- # [01:05] <zewt> why would webvtt need encoding detection instead of being utf-8 only?
- # [01:05] <TabAtkins> More details? You want to check what font a specific element has?
- # [01:06] <zewt> Hixie: script detection--you mean @lang heuristics for CJK?
- # [01:06] * Quits: graememcc (~chatzilla@host86-148-24-72.range86-148.btcentralplus.com) (Quit: ChatZilla 0.9.88.2 [Firefox 11.0/20120310193349])
- # [01:06] <Hixie> zewt: yeah
- # [01:06] <Hixie> TabAtkins: i mean the way that browsers pick which language glyphs to use for CJK characters
- # [01:06] <TabAtkins> Oh! That kind of script.
- # [01:06] <zewt> (i've never heard of anyone taking that seriously; it's hard enough to convince people that being able to tag languages is useful in the first place, much less language heuristics)
- # [01:07] <Hixie> zewt: utf-8 only is probably what we'll do, i'm just exploring options
- # [01:07] <zewt> crazytalk
- # [01:07] * Quits: Yuhong (~chatzilla@76.178.171.153) (Quit: ChatZilla 0.9.88.2 [Firefox 11.0/20120312181643])
- # [01:09] <TabAtkins> Hixie: I think this is what we've got right now: http://dev.w3.org/csswg/css3-fonts/#language-specific-support
- # [01:09] * Quits: wirepair (fbi@random.supermario.org) (*.net *.split)
- # [01:09] * Joins: wirepair (fbi@random.supermario.org)
- # [01:10] <Hixie> TabAtkins: k. anyone working on that, do you know?
- # [01:10] <zewt> "If the ‘lang’ attribute is not defined, the default OpenType language system must be used." i doubt that'll ever happen with CJK ...
- # [01:10] <TabAtkins> Yeah, John Daggett.
- # [01:10] <Hixie> TabAtkins: k
- # [01:11] <TabAtkins> That's his only spec, and he lives in Japan, so I'm sure he'd be willing to tighten things up as necessary.
- # [01:11] <Hixie> zewt: since you are enthusiastic about the CJK problems there, do you want to post to the list about the problems with this being so underdefined? :-)
- # [01:11] <zewt> well, i don't have any *solutions*, unfortunately
- # [01:12] <zewt> basically @lang seems in exactly the same boat as default encodings: browsers end up having to use the user's language as part of figuring out the default, or else they get it wrong too often
- # [01:12] <zewt> which i hate, but like the encoding problem i have no idea how to fix it
- # [01:12] <Hixie> what do browsers do?
- # [01:13] <Hixie> that's what the spec should say, at a minimum
- # [01:13] * Quits: necolas (~necolas@5e012742.bb.sky.com) (*.net *.split)
- # [01:13] * Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (*.net *.split)
- # [01:13] * Quits: danielfilho (~daniel@187.31.77.7) (*.net *.split)
- # [01:13] * Quits: zewt (~foo@ec2-50-17-220-142.compute-1.amazonaws.com) (*.net *.split)
- # [01:13] * Quits: WesleyL (~Wesley@static.43.95.46.78.clients.your-server.de) (*.net *.split)
- # [01:13] * Quits: matjas (u2247@gateway/web/irccloud.com/x-yanaueszannrkdcn) (*.net *.split)
- # [01:13] * Quits: shepazu (~shepazu@108-70-132-46.lightspeed.rlghnc.sbcglobal.net) (*.net *.split)
- # [01:13] * Quits: FireFly (~firefly@firefly.xen.prgmr.com) (*.net *.split)
- # [01:13] * Quits: Hixie (~ianh@trivini.no) (*.net *.split)
- # [01:13] * Quits: Raynos (u3611@gateway/web/irccloud.com/x-lilxzkeocdfiumre) (*.net *.split)
- # [01:13] * Quits: broquaint (~dbrook@78.47.79.137) (*.net *.split)
- # [01:13] * Joins: zewt (~foo@ec2-50-17-220-142.compute-1.amazonaws.com)
- # [01:13] * Joins: Wesley- (~Wesley@static.43.95.46.78.clients.your-server.de)
- # [01:13] <zewt> okay not sure what just happened
- # [01:13] * Joins: necolas (~necolas@5e012742.bb.sky.com)
- # [01:14] <zewt> i'd need to refresh my memory, but I'm pretty sure IE has defaults depending on the user's browser, and I think FF does the same (with the browser language)
- # [01:16] <rafaelw_> Hixie: I'm working on a local patch for template element and I'm starting to wonder if it isn't smart to separate two concerns here: (a) context-free parsing, and (b) declaring inert DOM structures.
- # [01:16] <zewt> which has the same problem as when encodings do that: Japanese people see Japanese glyphs if they don't specify anything at all, so they don't specify anything, resulting in Japanese pages only looking right on Japanese-locale systems (vs. zh-TW/zh-CN)
- # [01:17] <rafaelw_> Ojan said (I think) that he should it would be reasonable to add something like innerHTML to DocumentFragment which would acomplish (a). I'm presuming there has been discussion of this in the past. What's your sense?
- # [01:18] <rafaelw_> (context-free parsing, specifically for HTML -- I'm assuming this issue is intrinsic to HTML parsing, but maybe I'm wrong).
- # [01:18] * Joins: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com)
- # [01:18] * Joins: danielfilho (~daniel@187.31.77.7)
- # [01:18] * Joins: shepazu (~shepazu@108-70-132-46.lightspeed.rlghnc.sbcglobal.net)
- # [01:18] * Joins: FireFly (~firefly@firefly.xen.prgmr.com)
- # [01:18] * Joins: Hixie (~ianh@trivini.no)
- # [01:18] * Joins: Raynos (u3611@gateway/web/irccloud.com/x-lilxzkeocdfiumre)
- # [01:18] * Joins: broquaint (~dbrook@78.47.79.137)
- # [01:22] * Joins: matjas (u2247@gateway/web/irccloud.com/x-umpipziihngkmezk)
- # [01:27] <rafaelw_> Hixie: did you see my question (looks like you might have quit & rejoined)?
- # [01:27] * Quits: jernoble|afk (~jernoble@2620:149:4:1b01:51fc:2070:5ca9:7f53) (Quit: jernoble|afk)
- # [01:27] * Quits: smaug____ (~chatzilla@GYDCCXLVI.gprs.sl-laajakaista.fi) (Ping timeout: 245 seconds)
- # [01:35] * Quits: jscheel (~jscheel@drupal.org/user/116197/view) (Quit: jscheel)
- # [01:39] * Quits: othermaciej (~mjs@17.245.111.38) (Quit: othermaciej)
- # [01:42] * Joins: beverloo (~beverloo@75.16.26.133)
- # [01:44] * Quits: jamesr (~jamesr@75.16.26.133) (Quit: jamesr)
- # [01:45] * Quits: tomasf (~tom@2002:55e5:dbb7:0:f1a8:165f:6524:fe9c) (Quit: tomasf)
- # [01:46] * Quits: beverloo (~beverloo@75.16.26.133) (Client Quit)
- # [01:49] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [01:51] * Quits: sarro (~sarro@i5E864778.versanet.de)
- # [01:55] * Quits: KillerX (~anant@nat/mozilla/x-kymvjebehwpuzmuj) (Quit: KillerX)
- # [01:55] * Joins: zzing (~zzing@d24-57-81-201.home.cgocable.net)
- # [01:56] * Joins: beverloo (~beverloo@75.16.26.133)
- # [01:59] * Quits: dave_levin (dave_levin@nat/google/x-lipsbzersktgqmzq) (Quit: dave_levin)
- # [01:59] * Quits: timmywil (~timmywil@host-68-169-175-226.WISOLT2.epbfi.com) (Quit: Computer has gone to sleep.)
- # [02:00] * Quits: ap (~ap@2620:149:4:1b01:99f6:c535:3002:e349) (Quit: ap)
- # [02:00] * Quits: nesta_ (~nesta_@218.Red-88-19-61.staticIP.rima-tde.net) (Quit: nesta_)
- # [02:01] * Joins: tantek (~tantek@me02036d0.tmodns.net)
- # [02:03] * Quits: rniwa (~rniwa@75.16.26.133) (Quit: rniwa)
- # [02:06] * Quits: tantek (~tantek@me02036d0.tmodns.net) (Read error: Connection reset by peer)
- # [02:06] * Joins: tantek (~tantek@70.102.138.244)
- # [02:07] * Quits: eric_carlson (~ericc@70-35-56-82.static.wiline.com) (Quit: eric_carlson)
- # [02:08] * Quits: beverloo (~beverloo@75.16.26.133) (Quit: beverloo)
- # [02:09] * Joins: eric_carlson (~ericc@70-35-56-82.static.wiline.com)
- # [02:09] * Quits: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl) (Ping timeout: 260 seconds)
- # [02:11] * Quits: zzing (~zzing@d24-57-81-201.home.cgocable.net) (Quit: Computer has gone to sleep.)
- # [02:14] * Quits: mven_ (~mven__@169.241.49.57) (Ping timeout: 246 seconds)
- # [02:15] * Joins: Von_Davidicus (~IceChat7@173.210.203.196)
- # [02:15] <Von_Davidicus> If a browser supports SVG, is there a 100% chance (or at least close) that it will support XHTML + SVG?
- # [02:16] * Joins: timmywil (~timmywil@host-184-174-177-127.WISOLT3.epbfi.com)
- # [02:16] <TabAtkins> No.
- # [02:16] * Quits: necolas (~necolas@5e012742.bb.sky.com) (Remote host closed the connection)
- # [02:18] * Joins: hij1nx (~hij1nx@207.239.107.3)
- # [02:20] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [02:20] <Von_Davidicus> What is the likelihood, then?
- # [02:21] * jonlee is now known as jonlee|afk
- # [02:21] <TabAtkins> It's high, but that's not a useful number. You need to know the specific versions of browsers that didn't support inline SVG.
- # [02:22] * Joins: othermaciej (~mjs@17.245.111.38)
- # [02:23] * Quits: hij1nx (~hij1nx@207.239.107.3) (Quit: hij1nx)
- # [02:30] <Von_Davidicus> Okay. *Is working on a way to let people know if their browser will support SVG+XHTML+CSS3*
- # [02:33] * jonlee|afk is now known as jonlee
- # [02:34] * Quits: eric_carlson (~ericc@70-35-56-82.static.wiline.com) (Quit: eric_carlson)
- # [02:38] * Quits: tantek (~tantek@70.102.138.244) (Quit: tantek)
- # [02:42] * Joins: jacobolus (~jacobolus@adsl-99-35-219-36.dsl.pltn13.sbcglobal.net)
- # [02:46] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [02:46] * Quits: espadrine (~thaddee_t@AMontsouris-157-1-87-211.w90-46.abo.wanadoo.fr) (Ping timeout: 260 seconds)
- # [02:53] * Quits: Druide__ (~Druid@p5B137D85.dip.t-dialin.net) (Ping timeout: 265 seconds)
- # [02:54] * Joins: Druide__ (~Druid@p5B137D26.dip.t-dialin.net)
- # [02:58] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [03:01] * Joins: rodd (truncate@187-27-200-67.3g.claro.net.br)
- # [03:06] * Quits: lumely (~lumely@dhcp2-235.slis.tsukuba.ac.jp) (Ping timeout: 244 seconds)
- # [03:06] * Quits: timmywil (~timmywil@host-184-174-177-127.WISOLT3.epbfi.com) (Quit: Computer has gone to sleep.)
- # [03:09] * Joins: lumely (~lumely@dhcp2-235.slis.tsukuba.ac.jp)
- # [03:10] * Quits: danbri_ (~danbri@cable-146-255-148-108.dynamic.telemach.ba) (Read error: Connection reset by peer)
- # [03:10] * Joins: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba)
- # [03:10] * Joins: tantek (~tantek@209.63.8.129)
- # [03:12] * jonlee is now known as jonlee|afk
- # [03:24] * jonlee|afk is now known as jonlee
- # [03:25] * Quits: tantek (~tantek@209.63.8.129) (Quit: tantek)
- # [03:36] <MikeSmith> jzaefferer: you around?
- # [03:37] * Joins: FACEFOX (~facefox@pool-74-111-197-200.lsanca.fios.verizon.net)
- # [03:42] <MikeSmith> TabAtkins: Syntax component added
- # [03:45] <MikeSmith> annevk: http://dvcs.w3.org/hg/encoding/rev/94f075e5eabb seems to be working fine now
- # [03:45] <MikeSmith> I don't know what the problem was
- # [03:55] * Quits: othermaciej (~mjs@17.245.111.38) (Quit: othermaciej)
- # [03:57] * Quits: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba) (Read error: Connection reset by peer)
- # [03:58] * Joins: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba)
- # [04:03] * Joins: tantek (~tantek@md42036d0.tmodns.net)
- # [04:10] * Quits: tantek (~tantek@md42036d0.tmodns.net) (Quit: tantek)
- # [04:17] * Parts: Von_Davidicus (~IceChat7@173.210.203.196)
- # [04:24] * Quits: rodd (truncate@187-27-200-67.3g.claro.net.br) (Ping timeout: 265 seconds)
- # [04:26] * Joins: tantek (~tantek@md42036d0.tmodns.net)
- # [04:28] * Quits: tantek (~tantek@md42036d0.tmodns.net) (Client Quit)
- # [04:41] * jonlee is now known as jonlee|afk
- # [04:55] * Joins: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com)
- # [04:58] * Quits: jacobolus (~jacobolus@adsl-99-35-219-36.dsl.pltn13.sbcglobal.net) (Remote host closed the connection)
- # [05:23] * Joins: twisted` (~twisted@p5DDBBC38.dip.t-dialin.net)
- # [05:42] * Quits: twisted` (~twisted@p5DDBBC38.dip.t-dialin.net) (Quit: Computer has gone to sleep.)
- # [05:46] * Joins: Von_Davidicus (~IceChat7@173.210.203.196)
- # [05:47] <Von_Davidicus> Managed to scare a computer tech today. I've been saying over the past couple of weeks that I needed a computer that was over 15 years old repaired. And today, I brought it in.
- # [05:58] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [06:03] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [06:25] * Quits: jwalden (~waldo@nat/mozilla/x-lfjazdpshnvbifum) (Quit: ChatZilla 0.9.87-4.1450hg.fc15 [XULRunner 11.0/20120313114635])
- # [06:49] * Quits: miketaylr (~miketaylr@cpe-70-112-101-224.austin.res.rr.com) (Quit: dflk;adfslkj;alsiekfj;laiskdf)
- # [07:01] * Joins: beverloo (~beverloo@c-67-188-232-126.hsd1.ca.comcast.net)
- # [07:50] * Quits: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp) (Quit: MikeSmith)
- # [07:54] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Read error: No route to host)
- # [07:55] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [07:58] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [08:04] * Joins: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp)
- # [08:04] * Joins: LBP (~Mirc@pD9EB0FD6.dip0.t-ipconnect.de)
- # [08:12] * Joins: MikeSmith (~MikeSmith@u-211130161095.u11.hotspot.ne.jp)
- # [08:14] * Joins: GlitchMr (~glitchmr@178-36-133-138.adsl.inetia.pl)
- # [08:22] * Joins: zcorpan (~zcorpan@c-919ae355.410-6-64736c14.cust.bredbandsbolaget.se)
- # [08:22] <zcorpan> Hixie: text-wrap is supported in browsers (at least 'normal' and 'word-wrap')
- # [08:24] <zcorpan> though i think making white-space a shorthand for text-wrap might not be web-compatible (it'd make text-wrap reset if you do text-wrap:word-wrap; white-space:normal;)
- # [08:26] <MikeSmith> zcorpan: https://bitbucket.org/validator/validator/changeset/7dac5fb16df7
- # [08:27] <MikeSmith> hmm, isn't http://www.whatwg.org/specs/web-apps/current-work/multipage/#text-type-text-state-and-search-state-type-search supposed to redirect?
- # [08:27] <MikeSmith> dev.w3.org/html5/spec/#text-type-text-state-and-search-state-type-search does
- # [08:28] <MikeSmith> oh
- # [08:28] <MikeSmith> I guess that's because I added code on the w3c side to make it work
- # [08:34] <zcorpan> MikeSmith: LGTM
- # [08:34] <MikeSmith> thanks
- # [08:36] * Quits: zcorpan (~zcorpan@c-919ae355.410-6-64736c14.cust.bredbandsbolaget.se) (Quit: zcorpan)
- # [08:55] * Joins: TomPenzer (~TPenzer@c-50-131-245-107.hsd1.ca.comcast.net)
- # [08:57] * Parts: TomPenzer (~TPenzer@c-50-131-245-107.hsd1.ca.comcast.net)
- # [08:57] * Joins: TomPenzer (~TPenzer@c-50-131-245-107.hsd1.ca.comcast.net)
- # [09:02] <TomPenzer> I was thinking about the problem of support for double-res images for devices like Apple's Retina display, and I was wondering what ppl think of adding support for a <meta img-x2-res="_x2" /> tag, which would alert the browser of the likely presence of 'filename_x2.ext' when it sees img tags, and it would fall back with a second request for 'filename.ext' in case it's not found. This seems
- # [09:02] <TomPenzer> relatively easy to implement (especially for web developers), and degrades gracefully on older browsers.
- # [09:05] <Von_Davidicus> what does "img-x2-res" stand for?
- # [09:05] <TomPenzer> img times 2 resolution
- # [09:05] <TomPenzer> or double-resolution
- # [09:07] <Von_Davidicus> Hm.
- # [09:09] <TomPenzer> as a web developer, i would be eternally grateful! : P
- # [09:10] <TomPenzer> i mean, besides everything these people have already done to make that even possible
- # [09:13] <annevk> Hixie: yes, I do want to define encoding sniffing
- # [09:14] <annevk> Hixie: presumably by defining what Gecko has, unless someone has a better idea
- # [09:21] <TomPenzer> a more fleshed out version of the idea is to have the meta tag include a property for 'assume-present', as such: <meta img-x2-res="_x2" assume-present="false" />, and then for any img tags for which double-res assets are available, you could add a property to the img tag as such: <img x2-res="true" />. Or, you could leave the 'assume-present' property off, as 'true' is default, and put <img
- # [09:21] <TomPenzer> x2-res="false" /> on any images for which double-res assets are unavailable. This would avoid a second request when the first fails.
- # [09:22] <rniwa> annevk: hi
- # [09:22] <Von_Davidicus> How about x2-res work like sort of like a boolean attribute? If it's not there, it's *assumed* to be false?
- # [09:23] * Von_Davidicus rereads your post.
- # [09:23] <TomPenzer> yeah, if the meta tag isn't present, it's assumed to be false. The ="_x2" is to allow different developers to choose a double resolution filename key that works for their naming conventions
- # [09:23] * Quits: LBP (~Mirc@pD9EB0FD6.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
- # [09:23] <Von_Davidicus> Oh, okay.
- # [09:23] <rniwa> annevk: we might need to re-visit the decision to make NodeList inherit from Array
- # [09:23] <Von_Davidicus> I have a question of my own: Is it acceptable to include a test in a webpage that will determine whether or not a browser will properly display something? What I have after a hyperlink is an <object> element that displays an XHTML + SVG page that shows a checkmark, coloured green via HSL notation. If the viewer sees that the checkmark is black, or doesn't show up at all, then the viewer knows that the browser won't properly support the page on t
- # [09:23] * Joins: LBP (~Mirc@pD9EB02F3.dip0.t-ipconnect.de)
- # [09:24] <rniwa> annevk: https://bugs.webkit.org/show_bug.cgi?id=81573#c36 indicates that making this change isn't compatible with the Web :(
- # [09:27] <annevk> sad
- # [09:28] <annevk> just file a bug I guess if it doesn't work out and we'll revert the spec change
- # [09:28] <rniwa> annevk: yeah... not a happy ending :(
- # [09:28] <annevk> Von_Davidicus: acceptable measured how?
- # [09:28] <rniwa> annevk: i'll double check with arv before filing a bug
- # [09:29] <annevk> rniwa: not entirely unexpected I guess that changing such a core API breaks the web
- # [09:29] * Joins: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net)
- # [09:29] <rniwa> annevk: right.
- # [09:29] <annevk> I'm curious what removing Attr nodes will do
- # [09:30] <Von_Davidicus> As in "considered a good idea by the webdeveloping community at large"
- # [09:31] <annevk> given that you can get on the final page directly, worrying about it is probably not worth it
- # [09:31] <Von_Davidicus> Hm?
- # [09:33] * Joins: Ms2ger (~Ms2ger@91.181.73.47)
- # [09:34] * Quits: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl) (Remote host closed the connection)
- # [09:34] * Joins: annevk (~annevk@a82-161-179-17.adsl.xs4all.nl)
- # [09:36] <rniwa> annevk: yeah, that'll be an interesting adventure.
- # [09:52] <annevk> oh cool
- # [09:52] <annevk> WebKit has a shared encoding sniffing library
- # [09:52] <annevk> http://trac.webkit.org/browser/trunk/Source/WebCore/loader/TextResourceDecoder.cpp
- # [09:53] <annevk> is that really all WebKit has?
- # [09:53] <TomPenzer> worst idea ever: -webkit-image-set( url(image.png) 1x, url(image@2x.png) 2x )
- # [09:54] <annevk> TomPenzer: why?
- # [09:54] <annevk> zcorpan: https://bugs.webkit.org/show_bug.cgi?id=18270 says that "x-user-defined" must mean windows-1252
- # [09:55] <TomPenzer> because all the 2x images on my site are going to have the same "_2x" or "@2x" filename key, and i shouldn't have to do all this busy work
- # [09:57] <annevk> zcorpan: also https://bugs.webkit.org/show_bug.cgi?id=15555 ugh
- # [10:02] * Quits: MikeSmith (~MikeSmith@u-211130161095.u11.hotspot.ne.jp) (Quit: MikeSmith)
- # [10:03] * Quits: beverloo (~beverloo@c-67-188-232-126.hsd1.ca.comcast.net) (Quit: beverloo)
- # [10:11] * Joins: cbright6062 (~austinm4m@c-76-116-83-148.hsd1.nj.comcast.net)
- # [10:18] * Joins: MikeSmith (~MikeSmith@p15181-obmd01.tokyo.ocn.ne.jp)
- # [10:21] <annevk> http://mxr.mozilla.org/mozilla-central/source/extensions/universalchardet/src/base/JISFreq.tab#338 so why include it?
- # [10:21] <annevk> I wonder how much of the universalchardet code is still relevant
- # [10:21] <annevk> e.g. there's code for iso-2022-cn in there, which IE does not even support
- # [10:24] <annevk> and Thai was not detected before 2009? https://bugzilla.mozilla.org/show_bug.cgi?id=488426
- # [10:25] <annevk> I guess I should start keeping notes somewhere
- # [10:27] * Joins: sedovsek (~robert.se@93-103-104-107.dynamic.t-2.net)
- # [10:32] <Von_Davidicus> If you wish to keep notes, I can suggest a few good music programs.
- # [10:35] <annevk> not sure if serious... or joking
- # [10:35] <Von_Davidicus> I was being ridiculous. :)
- # [10:36] <Von_Davidicus> I like to have a little pun with English now and then.
- # [10:41] * Joins: tomasf (~tom@c-b7dbe555.024-204-6c6b7012.cust.bredbandsbolaget.se)
- # [10:42] <annevk> hsivonen: why did you limit utf-16 sniffing to HTML?
- # [10:48] * Joins: Maurice (copyman@5ED573FA.cm-7-6b.dynamic.ziggo.nl)
- # [10:48] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [10:48] <annevk> notes are tracked here http://wiki.whatwg.org/wiki/Encoding#Sniffing
- # [11:12] * Joins: nonge_ (~nonge@p5B326231.dip.t-dialin.net)
- # [11:16] * Quits: nonge (~nonge@p5B3265BF.dip.t-dialin.net) (Ping timeout: 260 seconds)
- # [11:17] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [11:29] * Joins: skylamer` (cgskylamer@78.90.213.55)
- # [11:39] * Joins: zzing (~zzing@d24-57-81-201.home.cgocable.net)
- # [11:47] * Joins: necolas (~necolas@5e012742.bb.sky.com)
- # [11:52] * Joins: espadrine (~thaddee_t@AMontsouris-157-1-87-211.w90-46.abo.wanadoo.fr)
- # [12:07] * Joins: sarro (~sarro@i5E865A3F.versanet.de)
- # [12:10] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [12:11] * Parts: Von_Davidicus (~IceChat7@173.210.203.196)
- # [12:22] * Quits: astearns (~astearns@192.150.22.5) (Read error: Connection reset by peer)
- # [12:22] * Joins: astearns (~astearns@192.150.22.5)
- # [12:23] * Quits: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp) (Remote host closed the connection)
- # [12:23] * Joins: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp)
- # [12:25] * Quits: [[zz]] (~q@101.108.114.199) (Ping timeout: 260 seconds)
- # [12:25] * Quits: jondong (~jondong@123.126.22.58) (Ping timeout: 260 seconds)
- # [12:26] * Joins: jondong (~jondong@123.126.22.58)
- # [12:27] * Joins: [[zz]] (~q@101.108.114.199)
- # [12:27] * Quits: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp) (Ping timeout: 246 seconds)
- # [12:29] * Quits: cbright6062 (~austinm4m@c-76-116-83-148.hsd1.nj.comcast.net) (Read error: Connection reset by peer)
- # [12:29] * Joins: cbright6062 (~austinm4m@c-76-116-83-148.hsd1.nj.comcast.net)
- # [12:35] * Joins: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl)
- # [12:40] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [12:42] <annevk> what would also be interesting is Mozilla Telemetry data on universalchardet
- # [12:43] <annevk> but probably only if it's included in a non-beta release...
- # [12:47] * Quits: jdong_bot_ (~jdong_bot@106.3.63.29) (Remote host closed the connection)
- # [12:48] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Read error: Operation timed out)
- # [12:49] * Joins: jdong_bot_ (~jdong_bot@117.79.233.248)
- # [12:51] * Joins: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net)
- # [12:54] * Joins: smaug____ (~chatzilla@GYDCCXLVI.gprs.sl-laajakaista.fi)
- # [12:58] * Quits: manu1 (~chatzilla@pool-74-107-168-75.ronkva.east.verizon.net) (Ping timeout: 246 seconds)
- # [13:15] * Quits: esc_ (~esc_ape@178.115.251.204.wireless.dyn.drei.com) (Ping timeout: 265 seconds)
- # [13:18] * Quits: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl) (Read error: Operation timed out)
- # [13:21] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [13:27] <annevk> oh sweet
- # [13:28] * Joins: drublic (~drublic@frbg-4d0285e9.pool.mediaWays.net)
- # [13:28] <annevk> Fullscreen advocacy is already underway and only caters to WebKit/Gecko proprietary extensions
- # [13:28] * Ms2ger sighs
- # [13:29] <annevk> thank your colleague http://www.slideshare.net/robnyman/javascript-apis-the-web-is-the-platform-mdn-hack-day-buenos-aires :p
- # [13:29] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (*.net *.split)
- # [13:29] * Quits: astearns (~astearns@192.150.22.5) (*.net *.split)
- # [13:29] * Quits: nonge_ (~nonge@p5B326231.dip.t-dialin.net) (*.net *.split)
- # [13:29] * Quits: danielfilho (~daniel@187.31.77.7) (*.net *.split)
- # [13:29] * Quits: shepazu (~shepazu@108-70-132-46.lightspeed.rlghnc.sbcglobal.net) (*.net *.split)
- # [13:29] * Quits: FireFly (~firefly@firefly.xen.prgmr.com) (*.net *.split)
- # [13:29] * Quits: Hixie (~ianh@trivini.no) (*.net *.split)
- # [13:29] * Quits: Raynos (u3611@gateway/web/irccloud.com/x-lilxzkeocdfiumre) (*.net *.split)
- # [13:29] * Quits: broquaint (~dbrook@78.47.79.137) (*.net *.split)
- # [13:29] * Joins: svl (~me@ip565744a7.direct-adsl.nl)
- # [13:34] <Ms2ger> Boo
- # [13:35] * Joins: maikmerten (~maikmerte@port-92-201-50-145.dynamic.qsc.de)
- # [13:35] * Joins: astearns (~astearns@192.150.22.5)
- # [13:35] * Joins: nonge_ (~nonge@p5B326231.dip.t-dialin.net)
- # [13:35] * Joins: danielfilho (~daniel@187.31.77.7)
- # [13:35] * Joins: shepazu (~shepazu@108-70-132-46.lightspeed.rlghnc.sbcglobal.net)
- # [13:35] * Joins: FireFly (~firefly@firefly.xen.prgmr.com)
- # [13:35] * Joins: Hixie (~ianh@trivini.no)
- # [13:35] * Joins: Raynos (u3611@gateway/web/irccloud.com/x-lilxzkeocdfiumre)
- # [13:35] * Joins: broquaint (~dbrook@78.47.79.137)
- # [13:36] <annevk> https://bugzilla.mozilla.org/show_bug.cgi?id=746437 "I can't think of a good reason to not implement it as-is."
- # [13:36] <annevk> that's good at least
- # [13:40] * Quits: sarro (~sarro@i5E865A3F.versanet.de) (Ping timeout: 244 seconds)
- # [13:42] * Joins: sarro (~sarro@i5E865A3F.versanet.de)
- # [13:53] * Quits: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no) (Remote host closed the connection)
- # [13:56] * Quits: espadrine (~thaddee_t@AMontsouris-157-1-87-211.w90-46.abo.wanadoo.fr) (Remote host closed the connection)
- # [13:57] * Joins: espadrine (~thaddee_t@AMontsouris-157-1-87-211.w90-46.abo.wanadoo.fr)
- # [14:01] * Quits: sedovsek (~robert.se@93-103-104-107.dynamic.t-2.net) (Read error: Connection reset by peer)
- # [14:05] * Quits: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba) (Read error: Connection reset by peer)
- # [14:05] * Joins: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba)
- # [14:09] * Joins: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl)
- # [14:50] * Joins: [[zzz]] (~q@101.109.233.85)
- # [14:50] * Joins: plutoniiix (~plutoniix@101.109.233.85)
- # [14:50] * Quits: temp02 (~temp01@unaffiliated/temp01) (Ping timeout: 265 seconds)
- # [14:52] * Joins: temp01 (~temp01@unaffiliated/temp01)
- # [14:53] * Joins: Lachy (~Lachy@cm-84.215.193.30.getinternet.no)
- # [14:53] * Quits: [[zz]] (~q@101.108.114.199) (Ping timeout: 256 seconds)
- # [14:54] * Quits: plutoniix (~plutoniix@101.108.114.199) (Ping timeout: 260 seconds)
- # [14:57] * Joins: boogyman (~boogy@pdpc/supporter/professional/boogyman)
- # [14:58] * Joins: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp)
- # [14:59] * Joins: kenneth_ (kenneth@nat/nokia/x-hescsnfsnuuqdrtm)
- # [15:02] * Quits: kenneth__ (kenneth@nat/nokia/x-wggjzjyiqqvyswxm) (Ping timeout: 260 seconds)
- # [15:10] * Joins: sedovsek (~robert.se@93-103-104-107.dynamic.t-2.net)
- # [15:21] * Quits: boogyman (~boogy@pdpc/supporter/professional/boogyman) (Read error: Connection reset by peer)
- # [15:34] * Joins: nesta_ (~nesta_@121.251.219.87.dynamic.jazztel.es)
- # [15:36] * Quits: temp01 (~temp01@unaffiliated/temp01) (Ping timeout: 246 seconds)
- # [15:36] * Joins: temp02 (~temp01@unaffiliated/temp01)
- # [15:42] * Joins: nesta__ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [15:45] * Quits: nesta_ (~nesta_@121.251.219.87.dynamic.jazztel.es) (Ping timeout: 265 seconds)
- # [15:45] * nesta__ is now known as nesta_
- # [15:49] * Joins: ruby_on_tails (~awakened@117.194.224.202)
- # [15:49] <ruby_on_tails> can anyone tell me why this is not working http://jsfiddle.net/uBXr2/1/ ?
- # [15:52] <smaug____> ruby_on_tails: onLoad
- # [15:52] <smaug____> it is onload
- # [15:52] <ruby_on_tails> oh
- # [15:52] <ruby_on_tails> it works now
- # [15:52] <ruby_on_tails> thanks
- # [15:52] * Joins: maikmerten_ (~maikmerte@port-92-201-92-33.dynamic.qsc.de)
- # [15:55] * Quits: maikmerten (~maikmerte@port-92-201-50-145.dynamic.qsc.de) (Ping timeout: 245 seconds)
- # [15:55] * Joins: scor (~scor@bas1-richmondhill34-1176125794.dsl.bell.ca)
- # [15:56] * Quits: scor (~scor@bas1-richmondhill34-1176125794.dsl.bell.ca) (Changing host)
- # [15:56] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [16:01] * Quits: Lachy (~Lachy@cm-84.215.193.30.getinternet.no) (Quit: Computer has gone to sleep.)
- # [16:01] <hsivonen> annevk: I wasn't needed for anything else and it was late in the release cycle
- # [16:01] <hsivonen> annevk: the whole thing might have been an overreaction from a single data point
- # [16:06] * Quits: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es) (Quit: nesta_)
- # [16:08] * plutoniiix is now known as plutoniix
- # [16:10] * [[zzz]] is now known as [[zz]]
- # [16:15] * Quits: skylamer` (cgskylamer@78.90.213.55)
- # [16:18] <annevk> hsivonen: Opera has something similar, but only checks the first four bytes
- # [16:20] <ruby_on_tails> smaug____: any idea why this doesnt grayscale the image ? http://jsfiddle.net/32f6h/
- # [16:22] <ruby_on_tails> weird, tried 3 codes from 3 different tutorial, none of them works, not sure whats wrong
- # [16:25] <Philip`> ruby_on_tails: You're not waiting for the image to finish loading, before you do the getImageData/putImageData code
- # [16:25] <ruby_on_tails> but there is the onload thing right ?
- # [16:25] <Philip`> so you're greyscaling the empty canvas and then (once the image has loaded, later) drawing the image
- # [16:26] <ruby_on_tails> i am trying http://spyrestudios.com/html5-canvas-image-effects-black-white/ and http://beej.us/blog/data/html5s-canvas-2-pixel/
- # [16:26] <Philip`> But it still won't work the other way around because if you drawImage an image from a different domain, then you're not allowed to call getImageData
- # [16:26] <ruby_on_tails> oh
- # [16:26] <ruby_on_tails> hmm
- # [16:26] <Philip`> to prevent people stealing image data from non-public sites
- # [16:26] <ruby_on_tails> let me try a local image then
- # [16:27] <ruby_on_tails> doesnt work on even a local image
- # [16:27] <Philip`> If you move the getImageData...putImageData code into the onload function, just after the drawImage, it should be closer to working
- # [16:30] <ruby_on_tails> bleh its my first day, i am not kind of getting it
- # [16:33] <Philip`> jsFiddle seems to already wrap your stuff in an onload thing, and runs it in some not-immediately-obvious domain
- # [16:33] <Philip`> http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1485 is a less confusing environment, and seems to work
- # [16:37] <ruby_on_tails> oh man
- # [16:37] <ruby_on_tails> i had to put the greyscaling code inside that onload
- # [16:38] <ruby_on_tails> it works now
- # [16:38] <ruby_on_tails> thanks Philip`
- # [16:57] * Quits: espadrine (~thaddee_t@AMontsouris-157-1-87-211.w90-46.abo.wanadoo.fr) (Quit: espadrine)
- # [16:58] * Quits: ruby_on_tails (~awakened@117.194.224.202) (Quit: Leaving.)
- # [17:05] * Joins: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com)
- # [17:06] * Joins: twisted` (~twisted@p5DDB8DBA.dip.t-dialin.net)
- # [17:06] * Joins: izhak (~izhak@188.168.75.80)
- # [17:15] * Quits: twisted` (~twisted@p5DDB8DBA.dip.t-dialin.net) (Quit: Computer has gone to sleep.)
- # [17:27] * Joins: twisted` (~twisted@p5DDB8DBA.dip.t-dialin.net)
- # [17:35] * Quits: smaug____ (~chatzilla@GYDCCXLVI.gprs.sl-laajakaista.fi) (Ping timeout: 244 seconds)
- # [17:35] * Quits: sedovsek (~robert.se@93-103-104-107.dynamic.t-2.net) (Ping timeout: 264 seconds)
- # [17:37] * Joins: smaug____ (~chatzilla@GYDCCXLVI.gprs.sl-laajakaista.fi)
- # [17:43] * Quits: twisted` (~twisted@p5DDB8DBA.dip.t-dialin.net) (Quit: Computer has gone to sleep.)
- # [17:46] * Quits: zzing (~zzing@d24-57-81-201.home.cgocable.net) (Ping timeout: 250 seconds)
- # [17:53] * Quits: smaug____ (~chatzilla@GYDCCXLVI.gprs.sl-laajakaista.fi) (Ping timeout: 240 seconds)
- # [17:55] * Quits: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com) (Ping timeout: 244 seconds)
- # [17:59] * Joins: timmywil (~timmywil@host-68-169-154-67.WISOLT2.epbfi.com)
- # [18:00] * Joins: snowfox (~benschaaf@c-98-243-88-119.hsd1.mi.comcast.net)
- # [18:02] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [18:03] * Joins: nesta_ (~nesta_@84.122.96.113.dyn.user.ono.com)
- # [18:06] * Quits: jdong_bot_ (~jdong_bot@117.79.233.248) (Remote host closed the connection)
- # [18:06] * Joins: beverloo (~beverloo@c-67-188-232-126.hsd1.ca.comcast.net)
- # [18:11] * Quits: teleject (~christoph@70.116.86.65) (Ping timeout: 276 seconds)
- # [18:11] * Joins: scor (~scor@bas1-richmondhill34-1176125794.dsl.bell.ca)
- # [18:11] * Quits: scor (~scor@bas1-richmondhill34-1176125794.dsl.bell.ca) (Changing host)
- # [18:11] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [18:17] * Quits: wookiehangover (~wookiehan@c-67-161-138-118.hsd1.co.comcast.net) (Quit: i'm out)
- # [18:18] * Joins: wookiehangover (~wookiehan@c-67-161-138-118.hsd1.co.comcast.net)
- # [18:23] * Quits: necolas (~necolas@5e012742.bb.sky.com) (Remote host closed the connection)
- # [18:25] * Joins: hij1nx (~hij1nx@cpe-98-14-168-178.nyc.res.rr.com)
- # [18:47] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [18:54] * Joins: manu1 (~chatzilla@pool-71-171-23-14.nwrknj.east.verizon.net)
- # [18:56] * manu1 is now known as manu
- # [18:56] * manu is now known as manu1
- # [18:56] * manu1 is now known as manu-sporny
- # [18:57] * manu-sporny is now known as manu1
- # [19:00] * Quits: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl) (Ping timeout: 264 seconds)
- # [19:00] * manu1 is now known as manusporny
- # [19:00] * manusporny is now known as manu1
- # [19:01] * Joins: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl)
- # [19:05] * Joins: teleject (~christoph@72-48-145-180.static.grandenetworks.net)
- # [19:05] * Quits: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
- # [19:18] * Quits: beverloo (~beverloo@c-67-188-232-126.hsd1.ca.comcast.net) (Quit: beverloo)
- # [19:25] * Joins: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl)
- # [19:31] * Quits: sarro (~sarro@i5E865A3F.versanet.de) (Ping timeout: 246 seconds)
- # [19:31] * Joins: sarro (~sarro@i5387B62D.versanet.de)
- # [19:32] * nonge_ is now known as nonge
- # [19:32] * Quits: cbright6062 (~austinm4m@c-76-116-83-148.hsd1.nj.comcast.net)
- # [19:32] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [19:38] * Joins: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi)
- # [19:42] * Parts: chrischris (~chris@li117-103.members.linode.com)
- # [19:47] * Quits: manu1 (~chatzilla@pool-71-171-23-14.nwrknj.east.verizon.net) (Ping timeout: 246 seconds)
- # [19:53] * Joins: twisted` (~twisted@p5DDB8DBA.dip.t-dialin.net)
- # [20:00] * Joins: manu1 (~chatzilla@pool-71-171-19-90.nwrknj.east.verizon.net)
- # [20:10] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [20:13] * Quits: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp) (Remote host closed the connection)
- # [20:13] * Joins: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp)
- # [20:17] * Quits: myakura (~myakura@FL1-221-171-5-98.tky.mesh.ad.jp) (Ping timeout: 244 seconds)
- # [20:19] * Quits: nesta_ (~nesta_@84.122.96.113.dyn.user.ono.com) (Quit: nesta_)
- # [20:24] * Joins: necolas (~necolas@5e012742.bb.sky.com)
- # [20:29] * Quits: AryehGregor (~Simetrica@mediawiki/simetrical) (Ping timeout: 252 seconds)
- # [20:40] * Quits: necolas (~necolas@5e012742.bb.sky.com) (Remote host closed the connection)
- # [20:43] * Joins: Lachy (~Lachy@cm-84.215.193.30.getinternet.no)
- # [20:44] * Joins: AryehGregor (~Simetrica@109.65.192.72)
- # [20:44] * Quits: AryehGregor (~Simetrica@109.65.192.72) (Changing host)
- # [20:44] * Joins: AryehGregor (~Simetrica@mediawiki/simetrical)
- # [20:44] * Quits: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no) (Remote host closed the connection)
- # [20:46] * Quits: pyrsmk (~pyrsmk@mau49-1-82-245-46-173.fbx.proxad.net) (Remote host closed the connection)
- # [20:52] * Quits: Lachy (~Lachy@cm-84.215.193.30.getinternet.no) (Quit: Computer has gone to sleep.)
- # [20:53] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Remote host closed the connection)
- # [20:55] * Quits: snowfox (~benschaaf@c-98-243-88-119.hsd1.mi.comcast.net) (Quit: snowfox)
- # [21:02] * Quits: FireFly (~firefly@firefly.xen.prgmr.com) (Ping timeout: 240 seconds)
- # [21:10] * Quits: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi) (Remote host closed the connection)
- # [21:10] * Joins: KillerX (~anant@70-36-146-62.dsl.dynamic.sonic.net)
- # [21:11] * Joins: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net)
- # [21:11] * Joins: FireFly (~firefly@firefly.xen.prgmr.com)
- # [21:11] * Quits: jacobolus (~jacobolus@50-0-133-210.dsl.static.sonic.net) (Client Quit)
- # [21:16] * Quits: stalled (~stalled@unaffiliated/stalled) (Ping timeout: 244 seconds)
- # [21:19] * Joins: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi)
- # [21:22] * Quits: maikmerten_ (~maikmerte@port-92-201-92-33.dynamic.qsc.de) (Quit: Leaving)
- # [21:22] * Quits: karlcow (~karl@nerval.la-grange.net) (Quit: :tiuQ tiuq sah woclrak)
- # [21:23] * Joins: karlcow (~karl@nerval.la-grange.net)
- # [21:27] * Quits: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi) (Remote host closed the connection)
- # [21:27] * Joins: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi)
- # [21:28] * Joins: hasather_ (~hasather_@cm-84.208.108.107.getinternet.no)
- # [21:32] * Joins: tantek (~tantek@m962036d0.tmodns.net)
- # [21:33] * Joins: Lachy (~Lachy@cm-84.215.193.30.getinternet.no)
- # [21:34] * Quits: Lachy (~Lachy@cm-84.215.193.30.getinternet.no) (Client Quit)
- # [21:35] <shepazu> once I've used pushState() to shove parameters up into the URI, what event can I use instead of 'load' to get older param states as the user walks back through the history?
- # [21:36] * Joins: zzing (~zzing@d24-57-81-201.home.cgocable.net)
- # [21:38] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [21:39] * Quits: tantek (~tantek@m962036d0.tmodns.net) (Quit: tantek)
- # [21:46] <zewt> popstate?
- # [21:47] * Quits: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi) (Remote host closed the connection)
- # [21:47] * Joins: smaug____ (~chatzilla@GZMYCMXVI.gprs.sl-laajakaista.fi)
- # [21:48] <shepazu> zewt: thanks, tried it, didn't work, nor did hashchange… wonder if I'm using it wrong, or if maybe it doesn't work in SVG for some reason?
- # [21:50] * Joins: othermaciej (~mjs@c-24-6-209-189.hsd1.ca.comcast.net)
- # [21:54] * Joins: KillerX_ (~anant@70-36-146-62.dsl.dynamic.sonic.net)
- # [21:54] <shepazu> ah, I think I was using it wrong
- # [21:54] <shepazu> :)
- # [21:55] * Quits: KillerX (~anant@70-36-146-62.dsl.dynamic.sonic.net) (Ping timeout: 252 seconds)
- # [21:55] * KillerX_ is now known as KillerX
- # [21:59] <shepazu> oh, popstate fires before the URI is changed… odd
- # [21:59] <shepazu> inconvenient if you're using the URI to store state in parameters
- # [22:00] * Quits: svl (~me@ip565744a7.direct-adsl.nl) (Quit: And back he spurred like a madman, shrieking a curse to the sky.)
- # [22:01] <zewt> uri where?
- # [22:01] <zewt> History.state is changed before popstate
- # [22:02] <zewt> (window.history.state)
- # [22:02] * Joins: manu1_ (~chatzilla@pool-96-240-175-117.ronkva.east.verizon.net)
- # [22:03] * Quits: manu1 (~chatzilla@pool-71-171-19-90.nwrknj.east.verizon.net) (Ping timeout: 245 seconds)
- # [22:04] * manu1_ is now known as manu1
- # [22:04] <shepazu> zewt: thanks… I was using location.href
- # [22:05] <zewt> (also popstate's event.state)
- # [22:05] * Joins: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [22:06] <zewt> i'd expect that to be set before the events, too (don't know off-hand though)
- # [22:06] <zewt> http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#history-traversal not sure which step that is, but i'd guess 5
- # [22:06] <shepazu> zewt: I'd have expected that too… SVG in FF doesn't seem to happen, though
- # [22:06] <zewt> (no clue about svg)
- # [22:08] * Quits: KevinMarks (~KevinMark@c-71-204-145-244.hsd1.ca.comcast.net) (Quit: The computer fell asleep)
- # [22:08] * Quits: GlitchMr (~glitchmr@178-36-133-138.adsl.inetia.pl) (Read error: Connection reset by peer)
- # [22:09] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [22:11] * Joins: necolas (~necolas@5e012742.bb.sky.com)
- # [22:22] * Quits: KillerX (~anant@70-36-146-62.dsl.dynamic.sonic.net) (Quit: KillerX)
- # [22:23] * Quits: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba) (Read error: No route to host)
- # [22:23] * Quits: fishd (darin@nat/google/x-lzxkycbiyimzkouf) (Quit: Leaving)
- # [22:23] * Quits: Ms2ger (~Ms2ger@91.181.73.47) (Quit: nn)
- # [22:29] * Quits: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es) (Quit: nesta_)
- # [22:31] * Joins: tantek (~tantek@67.139.65.163)
- # [22:32] * Joins: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba)
- # [22:40] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Quit: jamesr)
- # [22:40] * Joins: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net)
- # [22:40] * Quits: jamesr (~jamesr@173-164-251-190-SFBA.hfc.comcastbusiness.net) (Client Quit)
- # [22:43] * Joins: snowfox (~benschaaf@c-98-243-88-119.hsd1.mi.comcast.net)
- # [22:43] * Quits: snowfox (~benschaaf@c-98-243-88-119.hsd1.mi.comcast.net) (Client Quit)
- # [22:45] * Joins: dydx (~dydz@76-220-18-65.lightspeed.sntcca.sbcglobal.net)
- # [22:47] * Joins: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [22:56] * Quits: tantek (~tantek@67.139.65.163) (Quit: tantek)
- # [22:58] * Joins: Von_Davidicus (~IceChat7@173.210.203.196)
- # [23:07] * Quits: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba) (Read error: Connection reset by peer)
- # [23:07] * Joins: danbri (~danbri@cable-146-255-148-108.dynamic.telemach.ba)
- # [23:20] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [23:20] * Quits: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl) (Ping timeout: 248 seconds)
- # [23:24] * Quits: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es) (Quit: nesta_)
- # [23:28] * Joins: fukov (~fukov@524AA705.cm-4-3c.dynamic.ziggo.nl)
- # [23:29] * Joins: scor (~scor@drupal.org/user/52142/view)
- # [23:33] * Joins: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [23:39] * Quits: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es) (Ping timeout: 246 seconds)
- # [23:42] * Joins: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [23:43] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Quit: rniwa)
- # [23:44] * Joins: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net)
- # [23:45] * Joins: necolas_ (~necolas@5e012742.bb.sky.com)
- # [23:48] * Quits: necolas (~necolas@5e012742.bb.sky.com) (Ping timeout: 260 seconds)
- # [23:49] * Joins: rniwa_ (~rniwa@216.239.45.130)
- # [23:53] * Quits: rniwa (~rniwa@70-89-66-218-ca.sfba.hfc.comcastbusiness.net) (Ping timeout: 272 seconds)
- # [23:53] * rniwa_ is now known as rniwa
- # [23:53] * Quits: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es) (Read error: Connection reset by peer)
- # [23:53] * Joins: nesta_ (~nesta_@110.67.78.188.dynamic.jazztel.es)
- # [23:54] * Quits: scor (~scor@drupal.org/user/52142/view) (Quit: scor)
- # [23:56] <GPHemsley> annevk: Is the goal of the encoding standard to intercept any non-UTF-8 encoding and output it as UTF-8? If not, would that be a good idea? (I'm not great with encodings.)
- # [23:56] <gsnedders> GPHemsley: given a definition of a decoder and a UTF-8 encoder you can do that
- # [23:57] <GPHemsley> gsnedders: Would that be a good thing to do? I'm just wondering
- # [23:57] <gsnedders> GPHemsley: The more important thing to define is how to get a sequence of Unicode codepoints from an encoding and how to get them to the encoding
- # [23:57] <gsnedders> GPHemsley: If you want to change the encoding of something, that's what you do. And the spec defines enough to do that. (As it defines all the decoders, and UTF-8 encoding is well-defined.)
- # [23:58] <GPHemsley> well presumably the user doesn't particularly care what the encoding is, as long as it looks like it's supposed to, right?
- # [23:58] <GPHemsley> and the encoding would only become relevant for copy and paste and the like
- # [23:58] <GPHemsley> (if we're talking only about browsers here)
- # [23:59] <gsnedders> Basically, all browsers have an internal Unicode representaiton, which is irrelevant what it is. (I believe everyone uses UTF-16.)
- # [23:59] <gsnedders> The important thing is how to decode the byte-stream, and how to encode to a byte-stream.
- # Session Close: Sun Apr 22 00:00:00 2012
The end :)