00:30
<GPHemsley>
"When a <code>dialog</code> element is created, it must be placed
00:30
<GPHemsley>
+ in the <span>mundanely aligned</span> mode, the user agent must <span>set up the default static
00:30
<GPHemsley>
+ position</span> for that element, without an anchor."
00:30
<GPHemsley>
Hixie: Is there a word missing?
00:31
<GPHemsley>
"then", perhaps?
00:32
<GPHemsley>
or even better: "and then"
00:32
<GPHemsley>
hmm, maybe not better
00:32
<GPHemsley>
two sentences would probably be better
00:32
<GPHemsley>
betterer
00:32
<Hixie>
yeah, "and"
00:32
<Hixie>
oops
00:33
<GPHemsley>
"<Span>"
00:35
<Hixie>
fixed
00:35
<Hixie>
thanks
02:14
<GPHemsley>
Now in hyperlinked SVG goodness: http://whatwg.gphemsley.org/web.svg
02:16
<GPHemsley>
oh, wait, anolis generates references on the fly
02:16
<GPHemsley>
I couldn't have automated this directly
02:16
<GPHemsley>
\o/
02:16
<shepazu>
GPHemsley, is that graphviz?
02:17
<GPHemsley>
yup
02:17
<GPHemsley>
source is here: http://whatwg.gphemsley.org/web.gv
02:18
<shepazu>
cool
06:26
<Ms2ger>
krijn down?
06:29
<Ms2ger>
GPHemsley, it might be cleaner if you only used the normative references
10:26
<krijn>
Ms2ger: am I?
10:28
<krijn>
On it!
10:37
<Ms2ger>
It seemed like that, at least
10:37
<Ms2ger>
It seemed like that, at least
10:48
<krijnh>
Back
10:48
<krijnh>
Back
10:49
<krijnh>
I'll ask TabAtkins what happened, he knows everything :)
11:07
<Ms2ger>
Thanks :)
14:41
<SteveF>
anybody know the syntax for writing multiple git commands on the same line?
14:42
<SteveF>
as in if i want to do git cherry-pick and git rm at same time rather than doing one then the other or is that not possible?
14:50
<SteveF>
worked it out ;
15:20
<GPHemsley>
Ms2ger: What does --dump-backrefs do?
15:21
<Ms2ger>
Something for clicking a definition and getting the references to it?
15:23
<GPHemsley>
oh
15:23
<GPHemsley>
ok, that's not what I want
15:24
<GPHemsley>
I want to add the ability to dump dependencies along with xrefs
15:26
<GPHemsley>
Ms2ger: Are you alright with that?
15:27
<Ms2ger>
Sure
15:30
<GPHemsley>
Ms2ger: Where's the best place to put it? xref.py?
15:31
<Ms2ger>
refs.py
15:33
<GPHemsley>
Well, I was gonna include it in the xrefs JSON file...
15:38
<Ms2ger>
Mm, do you need that?
15:38
<Ms2ger>
It seems pretty orthogonal
15:39
<GPHemsley>
the alternative is what, having all references in a single file?
15:39
<GPHemsley>
(the terminology here is confusing to me)
15:39
<GPHemsley>
what's a reference and what's a cross-reference?
15:40
<GPHemsley>
or should I have a dependencies.json?
15:49
<GPHemsley>
Ms2ger: What is specs.json used for?
15:49
<GPHemsley>
Ms2ger: What is specs.json used for?
15:50
<GPHemsley>
oh, right, data-anolis-spec
15:50
<Ms2ger>
Right
15:50
<GPHemsley>
shouldn't data-anolis-ref and data-anolis-spec be reconciled?
15:50
<Ms2ger>
So a reference is something for the References section, and a cross-reference is an inline link to a definition
15:51
<GPHemsley>
they use different IDs, with different case
15:51
<Ms2ger>
They do completely different thing :)
15:51
<Ms2ger>
s
15:53
<GPHemsley>
that doesn't mean they can't use the same ID, does it — it's one .json file per spec, right?
15:53
<GPHemsley>
(is CORS deprecated in favor of Fetch? what's the story there?)
15:53
<Ms2ger>
Well, no, they're different files :)
15:53
<Ms2ger>
The idea is the Fetch includes everything that CORS did, and more
15:54
<GPHemsley>
sorry, I shouldn't be asking two different questions at once..
15:54
<GPHemsley>
specs.json lists the .json files that have the xrefs for various specs
15:55
<GPHemsley>
is there a reason we can't identify them by the ID used in references.json?
15:56
<Ms2ger>
I dunno, the references one is typically upper case, which we probably don't want for xrefs
15:56
<Ms2ger>
But matching them up case-insensitively seems fine
15:56
<Ms2ger>
Though I'm not sure I'd want to require that in Anolis
15:56
<GPHemsley>
why don't we want uppercase for xrefs?
15:57
<Ms2ger>
Because I don't want to write <span data-anolis-spec=DOMPARSINGANDSERIALIZATION>foo</span>
15:57
<GPHemsley>
oh, right, that's the other point I was making: they're not always the same, even case-insensitively
15:58
<GPHemsley>
but I guess we could add a "spec" field to references.json
15:58
<GPHemsley>
but that's probably orthogonal to the other thing I'm trying to do
15:59
<GPHemsley>
so, should I create a dependencies.json?
16:00
<GPHemsley>
it'd be a single file that'd be updated with each compilation of a src file
16:01
<GPHemsley>
oh, wait... references.json isn't even auto-generated, is it?
16:01
<GPHemsley>
hmm
16:01
GPHemsley
ponders whether that's relevant
17:34
<GPHemsley>
ah, darn it, I'll need some way to specify what the current spec is
18:04
GPHemsley
slaps Ms2ger with consistent indentation
18:05
<Ms2ger>
Yeah, I was young
18:18
<Ms2ger>
Heads up for javascripters: Array.values() is not web-compatible
18:21
<GPHemsley>
Do we have a policy on messing with other people's specs?
18:21
<GPHemsley>
Ms2ger: Also, did I see right that I have write permissions to anolis now?
18:22
Ms2ger
looks
18:22
<Ms2ger>
Looks like you do, yes
18:23
<GPHemsley>
so is it alright if I commit directly?
18:23
<Ms2ger>
I'd appreciate it if you tell me about first, but sure :)
18:40
<GPHemsley>
Ms2ger: Alright, changes coming (with a test!)
18:41
<GPHemsley>
oh, heh
18:41
<GPHemsley>
testing the wrong thing
18:44
<GPHemsley>
Ms2ger: What's the proper way to include a boolean argument in .options?
18:45
<GPHemsley>
and arguments with dashes, for that matter
18:46
<Ms2ger>
I think dashes -> underscores
18:47
<Ms2ger>
and just "foo": true for boolean arguments?
18:47
<Ms2ger>
and just "foo": true for boolean arguments?
18:47
<GPHemsley>
actually, nevermind
18:47
<GPHemsley>
it's not a boolean argument >_>
18:49
<GPHemsley>
hmm...
18:50
<GPHemsley>
Ms2ger: How do I test/compare a file that's not compiled directly? Or can I?
18:50
<Ms2ger>
You mean, compare the json or whatever?
18:50
<GPHemsley>
yeah
18:51
<Ms2ger>
I don't think the test runner does that at the moment :/
18:51
<GPHemsley>
alright
18:51
<GPHemsley>
I suppose we can rely on hg for that for now
18:51
<Ms2ger>
wfm
18:51
<Ms2ger>
Want to file an issue so I can think about this once I have seas of free time?
18:51
<Ms2ger>
(When I retire, I guess)
18:52
<GPHemsley>
heh
18:52
<GPHemsley>
alright, I've added the actually --dump-refs test
18:52
<GPHemsley>
(my original test only tested refs, which was fine, because that also didn't have a test)
18:53
<GPHemsley>
this one kinda tests both now
18:54
<Ms2ger>
I've not exactly been disciplined about adding tests :)
18:54
<GPHemsley>
yeah, that's alright
18:54
<GPHemsley>
https://bitbucket.org/ms2ger/anolis/issue/15/add-support-for-testing-comparing-json
18:54
<Ms2ger>
Thanks
18:55
<GPHemsley>
see also my 3 commits
18:57
<Ms2ger>
Nice
19:02
<GPHemsley>
I'm working on getting xref updated to handle it
19:26
<GPHemsley>
Spec authors: If you could update your Makefile to add an entry like this: https://github.com/whatwg/mimesniff/commit/a42a0e361be3ea4038a17ddaa71f27a8f0ca8381
19:26
<GPHemsley>
you'd populate the new files in xref/refs/
19:29
<GPHemsley>
annevk, Hixie, Ms2ger, etc.: ^
19:29
<Hixie>
i don't use anolis directly, i just invoke jgraham's service
19:30
<GPHemsley>
I'm not familiar
19:31
<GPHemsley>
oh, side note: you'll have to update your installation of anolis before that would work
19:50
<GPHemsley>
Ms2ger: Oh, BTW, I still get that test failure with the question mark (and why wouldn't I, since nothing changed :P)
19:51
<Ms2ger>
I still don't get it
19:51
<GPHemsley>
On another note, are we aware of this? https://en.wikipedia.org/wiki/Anolis_grahami
19:51
<GPHemsley>
Ms2ger: Which part?
19:51
<GPHemsley>
I thought we decided it was html5lib
19:54
<GPHemsley>
oh, the version is hardcoded as 0.95
19:54
<GPHemsley>
hmm
19:55
<GPHemsley>
actually, it's not clear to me which html5lib is being used
19:56
<GPHemsley>
the install script searches specifically for html5lib==0.95
19:56
<GPHemsley>
but the instructions for anolis say to have your own copy of html5lib
19:56
<GPHemsley>
and mine is still the old hg/Google Code one
19:58
Ms2ger
sees html5lib>=0.95
19:58
Ms2ger
wanders off
20:00
<GPHemsley>
oh, now I really broke things
20:01
<gavinc>
Nooo! comeback w3c dvcs :( HTTP Error 500: Internal Server Error
20:02
<GPHemsley>
html5lib apparently now has a dependency on 'six'
20:02
<gavinc>
https://dvcs.w3.org/hg it's all gone!
20:02
<GPHemsley>
and using the latest html5lib breaks a whole bunch of anolis tests
20:02
<gavinc>
:(
20:02
<GPHemsley>
yikes
20:03
<GPHemsley>
hmm... html5lib seems to have changed the order of attributes
20:03
<GPHemsley>
jgraham: I don't suppose you're around?
20:03
<GPHemsley>
jgraham: I don't suppose you're around?
20:06
<GPHemsley>
gsnedders: Or you?
20:10
<GPHemsley>
Oh, hmm... apparently html5lib now maintains the existing attribute order?
20:11
<GPHemsley>
nope, that's not right
20:12
<GPHemsley>
I have no clue what's going on
22:35
<dekiss>
can I make contenteditable to not make new divs for each enter key I press?
22:40
<dekiss>
what is best way to make wysiwyg editor?
23:07
<dekiss>
can I put in html unicode code of some character and in browser to show the cahracter not t he code
23:07
<dekiss>
can I put in html unicode code of some character and in browser to show the cahracter not t he code
23:17
<slowhands>
hmm
23:18
<slowhands>
there is this component called CKEditor, it may be open source
23:18
<slowhands>
you might want to take a look at that
23:57
<dekiss>
slowhands, thanks for information
23:57
<slowhands>
np also check out redactor
23:57
<slowhands>
np also check out redactor
23:57
<dekiss>
yeah I know it I am concerned about security so I think ilkl make my own editor
23:57
<dekiss>
however
23:57
<dekiss>
<dekiss> enter is newline character in html?
23:57
<dekiss>
<dekiss> https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
23:57
<dekiss>
<dekiss> which is newline character?
23:57
<dekiss>
<dekiss> https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
23:57
<dekiss>
<dekiss> which is newline character?
23:57
<slowhands>
new line in html?
23:57
<slowhands>
you might want a <br>
23:58
<slowhands>
or <br/> depending on your html target
23:58
<Hixie>
you're unlikely to need a <br>
23:58
<Hixie>
unless you're doing a postal address or poem or some such
23:59
<slowhands>
the white-space property is extremely helpful
23:59
<slowhands>
especially when you don't want line breaks