07:45
<cdan>
hello to everybody
08:57
<Ms2ger>
Ah, geocities is restored to the CSSWG
10:29
<odinho>
Ms2ger: Wat? They do geocities-css?
10:30
<Ms2ger>
http://dev.w3.org/csswg/css-values/
10:33
<odinho>
Ah, nice. I have a site like that somewhere on the intarwebs too, but that's in some cobweb-ridden place where the sun never shines.
10:37
<odinho>
lol, NO FEAR
11:15
<Philip`>
Ms2ger: Looks nice, but needs more background MIDIs
12:26
<MikeSmit1>
http://lists.w3.org/Archives/Public/public-lod/2013Apr/0014.html
14:57
<zewt>
wow, the webkit api on android is in the dark ages (at least whatever version the fire has)
14:58
<zewt>
seems like it doesn't even have history.replaceState
15:44
<dglazkov>
good morning, Whatwg!
15:54
<Hixie_>
jgraham: and yet surprisingly few issues, all told :-)
15:57
<Ms2ger>
Hixie_, ... yet :)
16:02
<free_mind>
Can someone give me a pointer regarding a visual (WYSIWYG) editor on linux/BSD for changing a CSS template?
16:02
<TabAtkins>
odinho: Glad you caught the NO FEAR easter egg. ^_^
16:02
<TabAtkins>
<3 generated content
16:04
<SimonSapin>
TabAtkins: I saw it in the commit :)
16:19
<odinho>
TabAtkins: "the" it's quite a few places. Some of it fits, some of it not :-)
16:20
<TabAtkins>
odinho: It's just added on p::nth-child(10n+5)::after, so it'll show up everywhere.
16:58
<odinho>
Yeah, saw that. :]
16:58
<odinho>
But the first time it came up it really made sense :]
16:58
<TabAtkins>
Hahaha
16:58
<odinho>
So I wondered if it was actually part of the spec :P
16:59
<TabAtkins>
Also: oh man, I missed a lot of badass updates to NearlyFreeSpeech over the holiday. ipv6, https, and cron jobs!
17:22
<Hixie_>
anyone around with IE?
17:22
<Hixie_>
i just need to know which OPTION elements in the DOM tree view in http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2190 have #text children
17:22
<Hixie_>
in Chrome it's all of them, in Firefox it's all but the first
17:27
<Philip`>
Hixie_: In IE9, I see #text on the last two
17:27
<Hixie_>
thanks
17:27
<Hixie_>
three browsers, three behaviours
17:27
<Hixie_>
lovely
17:28
<Hixie_>
IE's and Chrome's can be described in terms of default values
17:28
<Hixie_>
Firefox's...
17:29
Ms2ger
wanders in
17:29
<Ms2ger>
What's up?
17:30
<TabAtkins>
Firefox has weird behavior for the Option constructor.
17:30
<TabAtkins>
It distinguishes between no argument and an empty string.
17:30
<Ms2ger>
It just looks at the number of arguments, sure
17:30
Ms2ger
looks at the new code
17:32
<Ms2ger>
Same thing
17:32
<Ms2ger>
Hixie_, I'm pretty sure we're willing to match Chrome here
17:46
<Hixie_>
Ms2ger: always create a text node? i was thinking of going with the IE behaviour of not creating the empty text node
17:47
<Hixie_>
the second argument is a weirder one, looks like we'll always have to check number of arguments for that one
17:47
<Ms2ger>
Always creating would be less code for us
17:47
Ms2ger
asks bz
17:48
<Hixie_>
it's an additional if (val != '')
17:48
<Ms2ger>
Right
17:48
<Hixie_>
so let's put the implementation complexity issue aside and look at what authors want :-P
17:48
<Ms2ger>
That's the "less code" :)
17:49
<TabAtkins>
I suspect (1) most authors don't care at all, but (2) more consistency in produced result is better.
17:51
<Hixie_>
having an extra object around that has no purpose seems pretty weird
17:51
<Hixie_>
you don't get this object if you use createElement()
17:51
<TabAtkins>
It's purpose is to contain the text contents!
17:51
<Hixie_>
or if you use innerHTML = '<option></option>'
17:51
<TabAtkins>
Yeah, and you can't fill anything with text with createElement() either.
17:51
<Hixie_>
the text contents can also go in the .label
17:52
<Hixie_>
e4h-style or quasis wouldn't give you an empty text node either
17:52
<Hixie_>
it would be specific to this constructor
17:52
<Ms2ger>
I guess textContent wouldn't create one either
17:52
<Hixie_>
yup
17:52
<Hixie_>
in fact it would remove it
17:55
<Ms2ger>
Hixie_, alright, you get a "meh" from bz
17:59
<Hixie_>
Ms2ger: heh
18:00
<annevk>
Hixie_: optional boolean selected -> could make that default to false and simply set selectedness to it
18:03
<Hixie_>
annevk: already done, see next checkin
18:03
<Hixie_>
well, the default is false
18:03
<Hixie_>
the text isn't changed
18:04
<annevk>
can you default to a value if the next argument does not default to a value?
18:04
<Hixie_>
i hope so
18:05
<annevk>
hmm, oh well, not going to read up on that today
18:09
<Hixie_>
no optional value is presumably just the same as " = <magic unforgeable value meaning attribute is omitted>"
18:09
<TabAtkins>
annevk: Most languages with positional argument disallow that - once one argument gains a default value, everything following has to have one (because otherwise it's not really a default value at all, since you're forced to fill it in).
18:09
<Hixie_>
s/attributes/argument/
18:09
<TabAtkins>
JS is a bit different, of course, since it fills in missing argument with undefined.
18:10
<TabAtkins>
(Python is also different, because all positional arguments are *also* keyword arguments.)
18:10
<Hixie_>
TabAtkins: why are you forced to fill it in? i'm confused
18:10
<Hixie_>
oh you mean non-optional arguments
18:10
<Hixie_>
with default values
18:10
<Hixie_>
as opposed to optional arguments with default values like here
18:10
<Hixie_>
ok
18:11
<TabAtkins>
Hixie_: In most languages, there's no such thing as "non-optional arg with default values". ^_^
18:11
<Hixie_>
right
18:11
<Hixie_>
well, there is
18:12
<Hixie_>
it's all of them
18:12
<Hixie_>
it's more that there's no such thing as optional arg with default values
18:12
<TabAtkins>
If it's non-optional, that presumably means that you must fill it in. So, when would the default value ever happen?
18:12
<TabAtkins>
lolwut?
18:12
<Hixie_>
there's three states
18:12
<Hixie_>
present, absent but has a default value, and absent without a default value
18:12
<Hixie_>
some languages only have two of these
18:13
<Hixie_>
which i assume is what you mean
18:13
<Hixie_>
right?
18:13
<Hixie_>
whereas here we have all three
18:13
<TabAtkins>
Yes.
18:13
<TabAtkins>
Well, because in most, the third case is an error.
18:13
<Hixie_>
right
18:13
<Hixie_>
or it's equivalent to an overload
18:13
<Hixie_>
or rather, done as an overload
18:14
<Hixie_>
so you can't have arguments after an optional one without a default, since it's not there to be after
18:14
<Hixie_>
anyway
18:14
<TabAtkins>
Yeah.
18:29
<Hixie_>
what is with people filing bugs whose values consist only of copy-and-pasted text from the spec?
18:29
<Hixie_>
i don't get it
18:30
<Hixie_>
i wonder how to catch that
18:30
<TabAtkins>
They forgot to put "^^^ THIS" afterwards.
18:30
<Hixie_>
i'm guessing document.documentElement.textContent.match() isn't a good plan on a 5MB document...
18:30
<Hixie_>
TabAtkins: i mean e.g. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21488
18:31
<TabAtkins>
Yeah, I know. I was being silly. ^_^
18:31
<TabAtkins>
But seriously, that's just dumb.
18:32
<Hixie_>
i don't understand how it happens
18:48
<SimonSapin>
TabAtkins: var() fallbacks can contain commas, right?
18:49
<SimonSapin>
either way, it should be explicit with both normative text and an example, not just implied by "same syntax as custom properties"
18:51
<SimonSapin>
And if it can, is it really useful to have the parser split function arguments on commas? Isn’t it easier if functions arguments are a single list of tokens, and everything (other than var()) can use the "Parse a comma-separated list" algorithm?
19:21
<TabAtkins>
SimonSapin: Maybe?
19:22
<TabAtkins>
Oh, and yes to your first question.
19:23
<SimonSapin>
arguments are a single list of tokens in tinycss
19:32
<TabAtkins>
Yeah, that probably makes more sense.
19:50
<SoWhat>
Hi! Do you know when meta tag I added yesterday will be recognized by html5 validators?
19:55
<MikeSmit1>
SoWhat: what exacctly did you add?
20:01
<SoWhat>
web_author meta tag to the wiki
20:01
<SoWhat>
http://www.metatags.info/meta_name_webauthor
20:03
<MikeSmith>
Hixie_: big thanks for adding the "Tag omission in text/html" stuff
20:04
MikeSmith
looks at SoWhat link
20:05
<MikeSmith>
SoWhat: why not just use name=author ?
20:05
<SoWhat>
author is totally different
20:05
<SoWhat>
http://www.metatags.info/meta_name_author
20:07
<Hixie_>
MikeSmith: np
20:08
<TabAtkins>
SoWhat: The description of "author" and "webauthor" appear to be copy-pasted with only minor edits. I can't see any difference in them.
20:10
<MikeSmith>
SoWhat: what TabAtkins said. This http://www.metatags.info/ site doesn't really look authorative. It sorta looks like on guy's personal wish list or something.
20:10
<tantek>
MikeSmith, when have you ever seen an authorative .info site?
20:11
<tantek>
then again, meta tags themselves aren't very authoritative, so perhaps that makes sense
20:11
<Hixie_>
annevk: any idea if adam is planning on updating WebOrigin to use the new URL spec?
20:12
<SoWhat>
you are probably right.. maybe I should invent developer meta tag instead of using web author?
20:12
<Hixie_>
SoWhat: what problem are you trying to solve?
20:12
<MikeSmith>
tantek: true about .info sites
20:12
<Hixie_>
annevk: i'm in particular interested in how the host portion of origins, as used in document.domain, will handle IPv6 urls
20:13
<SoWhat>
Hixie_: I just want to put my credits in source of websites which I have created
20:13
<annevk>
Hixie_: "[::1]" ?
20:14
<annevk>
Hixie_: I don't know Adam's plans. I've been thinking of putting all origin-related requirements into Fetch
20:14
<tantek>
Some people, when confronted with a problem, think "I know, I'll use a meta tag." Now they have a meta problem. [with apologies to jwz]
20:15
<MikeSmith>
Hixie_: oh wow I see you added the attribute short descriptions too
20:16
<MikeSmith>
thanks thanks thanks
20:16
<MikeSmith>
this is great
20:19
<annevk>
so how is that done? are they added dynamically or via some template?
20:19
<annevk>
they didn't appear in the diff
20:19
<SoWhat>
so what do you think about adding <meta name="developer" .. > ?
20:20
<Hixie_>
MikeSmith: my pleasure :-)
20:20
<Hixie_>
MikeSmith: you using them for something specific? :-)
20:20
<Hixie_>
SoWhat: what's wrong with a <!-- comment --> ?
20:21
<SoWhat>
there is no standart for web crawlers to index <!-- comment -->
20:22
<Hixie_>
you didn't say anything about crawlers indexing anything :-)
20:22
<SoWhat>
I want all my sites to be found in google later
20:22
<Hixie_>
ah, well, there's no way to guarantee that
20:22
<Hixie_>
but maybe look at google authorship markup?
20:23
<Hixie_>
gotta go, hopefully tantek or someone will take over again :-)
20:23
<Hixie_>
bbiab
20:23
<SoWhat>
Hixie_: :) I don't want to see my face next to these sites :D
20:24
<SoWhat>
there is huge difference between person who is writing content for website and person/company who created website
20:25
<tantek>
SoWhat - the fastest way to get your sites found in google is by publishing with open standards, in particular make sure each page has its updates posted in the HTML, with permalinks, and an equivalent feed in Atom, and the updates use PubsubHubbub to ping the Google hub.
20:25
<tantek>
using rel author is nice but not required
20:25
<tantek>
http://microformats.org/wiki/rel-author
20:26
<SimonSapin>
TabAtkins: Separate ident/ident-rest states, isn’t that redundant with checking "starts with an identifier" before switching to the ident state?
20:26
<SoWhat>
ehh
20:26
<SoWhat>
tantek: do you know Wordpress?
20:26
<SimonSapin>
ie. could remove ident, rename ident-rest to ident, keep equivalent behavior
20:27
<SoWhat>
In wordpress you have lots of authors who are writing their posts
20:27
<SimonSapin>
TabAtkins: same with number/number-rest, maybe
20:27
<SoWhat>
and in each post wordpress writes its author in rel=author
20:27
<TabAtkins>
SimonSapin: Probably. I was overly cautious with some of my states in the initial draft.
20:28
<SimonSapin>
well, the "starts with an identifier" arrived much later than ident/ident-rest
20:28
<SimonSapin>
but now that it’s there, I guess the rest can simplify
20:29
<TabAtkins>
Yeah, I haven't fully simplified a lot of the stuff related to the "start with..." stuff.
20:32
<tantek>
SoWhat - yes that makes sense for a multi-author / group blog
20:32
<tantek>
it's best if they use rel=author to link from their posts to their own websites, and then use rel=me to link from their own website to their various social network profiles, Twitter, FB, G+, etc.
20:33
<SoWhat>
tantek: but there is only one person/company who has written code for this blog and I am this person for lots of websites
20:34
<tantek>
shouldn't need any "code" other than the <a href rel=author> markup
20:35
<SoWhat>
I just want to ask google "Show me websites with meta tag developer where content is SoWhat" and see all these websites I have developed
20:35
<SoWhat>
not posts where I am mentioned as author
20:36
<SoWhat>
so forget about author :)
21:09
<pilgrim_google>
well, i'm back
21:09
<pilgrim_google>
i grew a beard and got a tattoo
21:09
<TabAtkins>
Woo!
21:09
<TabAtkins>
Both good moves, from experience.
21:09
<pilgrim_google>
and i'm writing a game for the Apple //
21:09
<nimbu>
pilgrim_google: nice april fools joke :'(
21:26
<pilgrim_google>
currently it boots to the title screen, plays some music, and then crashes
21:27
<pilgrim_google>
it's beta
21:31
<tantek>
good afternoon whatwg
21:31
<tantek>
a few of us in #indiewebcamp (that happened to also be in #microformats) are discussing a few new rel values
21:31
<tantek>
wondered if anyone here has any naming / bikeshedding suggestions
21:32
<tantek>
this is for linking to the "current
21:32
<tantek>
version" of a page, or to the previous (historical) version of a page
21:32
<tantek>
details: http://microformats.org/wiki/version
21:33
<tantek>
or feel free to just make simple a/b suggestions,e.g. rel=version or rel=revision
21:33
<tantek>
rel=current or rel=latest
21:33
<tantek>
?
21:33
<tantek>
oh hey pilgrim_google, you know a few things about rel values ;)
21:37
<Hixie_>
SoWhat: google doesn't have a mechanism to show all pages whose web dev was a particular person
21:38
<Hixie_>
SoWhat: so it doesn't matter what markup you use, if that's what you want
21:38
<SoWhat>
but it has a mechanism to show websites which use meta tag with particular value, right?
21:40
<TabAtkins>
No.
21:51
<SoWhat>
okay, than there are other web crawlers which do that, for example, http://www.statsnext.com/domain/ditfi.lv and their stats are visible in google
21:58
<Hixie_>
SoWhat: looks like for that one it doesn't matter what meta name you use
21:58
<Hixie_>
they seem to expose all of them
21:58
<Hixie_>
or indeed HTTP headers
21:59
<Hixie_>
which is probably a better solution
21:59
<Hixie_>
since it'll survive their edits :-)
22:01
<SoWhat>
headers?
22:01
<SoWhat>
you suggest that I add credits to HTTP headers?
22:02
<Hixie_>
yeah, like, X-SoWhat-Publisher: Made by SoWhat!
22:02
<SoWhat>
that's an interesting idea
22:06
<SoWhat>
X- prefix has been deprecated
22:48
heycam
clicks View > Page Style > No Style. again.
22:49
<TabAtkins>
heycam: Heh.
22:49
<heycam>
:)
22:50
<TabAtkins>
Gonna come up with something different next year.
22:54
<pilgrim_google>
jesus, i come back for two hours and someone is already trying to pull me into a semantic debate
22:55
<pilgrim_google>
never change, internet. never change.
23:06
<crocket>
Are query strings case sensitive?
23:09
<SoWhat>
depends on query language
23:46
<TabAtkins>
crocket: You mean in a url? Casing is preserved, yes. Whether or not case is important is up to the program on the receiving end.