/irc-logs / freenode / #whatwg / 2009-09-30 / end

Options:

  1. # Session Start: Wed Sep 30 00:00:00 2009
  2. # Session Ident: #whatwg
  3. # [00:03] * Joins: cying_ (n=cying@70.90.171.153)
  4. # [00:07] * Quits: fishd__ (n=darin@nat/google/x-gzmdcbnnixczffhj) (Operation timed out)
  5. # [00:08] * Joins: fishd__ (n=darin@nat/google/x-olscvzxqorggeloa)
  6. # [00:08] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
  7. # [00:09] * Quits: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com) ("Nettalk6 - www.ntalk.de")
  8. # [00:11] * Quits: cying (n=cying@70.90.171.153) (Read error: 145 (Connection timed out))
  9. # [00:11] * cying_ is now known as cying
  10. # [00:11] * Joins: othermaciej (n=mjs@nat/apple/x-qramhkpflupthlxb)
  11. # [00:20] * Joins: a-ja (n=chatzill@70.230.185.73)
  12. # [00:20] * Joins: dimich__ (n=dimich@72.14.224.1)
  13. # [00:21] * Joins: heycam (n=cam@nat/mozilla/x-yaxvuenkidmgfqtn)
  14. # [00:27] * Joins: othermaciej_ (n=mjs@17.246.19.100)
  15. # [00:31] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 104 (Connection reset by peer))
  16. # [00:35] <Dashiva> Reading public-html brings back memories of my own back-and-forth with Roy about apache content types.
  17. # [00:36] * Quits: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
  18. # [00:38] * Joins: boblet (n=boblet@221.184.228.254)
  19. # [00:38] * Quits: roc (n=roc@hoppyl.lnk.telstra.net)
  20. # [00:39] * Quits: ttepass- (n=ttepas--@p5B01655D.dip.t-dialin.net) ("?Q")
  21. # [00:42] <hober> I think it's very much worth reclaiming "URL," so I'm all for that part of the argument, but I could care less about "resource v. representation"
  22. # [00:42] <TabAtkins> Agreed exactly.
  23. # [00:44] * Quits: othermaciej (n=mjs@nat/apple/x-qramhkpflupthlxb) (Read error: 110 (Connection timed out))
  24. # [00:44] * othermaciej_ is now known as othermaciej
  25. # [00:44] <TabAtkins> (which is why I got into it over URLs, but have ignored the main resource discussion)
  26. # [00:55] * Quits: dbaron (n=dbaron@nat/mozilla/x-bqoqsrdhkyjlzjxx) ("8403864 bytes have been tenured, next gc will be global.")
  27. # [00:55] * Quits: mpilgrim (n=mark@rrcs-96-10-240-189.midsouth.biz.rr.com) (Read error: 113 (No route to host))
  28. # [01:01] * Quits: cying (n=cying@70.90.171.153)
  29. # [01:01] * Joins: Lachy (n=Lachlan@85.196.122.246)
  30. # [01:02] <Hixie> i am definitely not getting all my e-mails
  31. # [01:02] <Hixie> i keep finding e-mails that get lost between gmail's forwarding it to me and my receiving it at dreamhost
  32. # [01:03] <a-ja> ixie: minor typo in chg 4041....says publicate instead of publication
  33. # [01:04] <a-ja> Hixie: minor typo in chg 4041....says publicate instead of publication
  34. # [01:04] * Joins: cying (n=cying@70.90.171.153)
  35. # [01:04] <Hixie> already fixed
  36. # [01:04] <a-ja> cool
  37. # [01:06] <a-ja> are details/figure dt/dd stuff headed for w3c validator soonish?
  38. # [01:06] <Hixie> dunno, you'd have to ask the w3c
  39. # [01:06] <Hixie> validator.nu will probably have them sooner, if not already
  40. # [01:07] * Quits: annodomini (n=lambda@wikipedia/lambda)
  41. # [01:08] <a-ja> speaking of w3c validator....think its handling of script documentation comments is fubar
  42. # [01:16] * Joins: zcorpan_ (n=zcorpan@123.218.251.212.customer.cdi.no)
  43. # [01:21] * Quits: gunderwonder (n=gunderwo@172.80-202-84.nextgentel.com)
  44. # [01:22] * Quits: cying (n=cying@70.90.171.153)
  45. # [01:27] * Joins: erlehmann (n=erlehman@tmo-108-162.customers.d1-online.com)
  46. # [01:29] * Quits: jacobolus (n=jacobolu@dhcp-0059871802-99-6d.client.student.harvard.edu) (Remote closed the connection)
  47. # [01:30] * Joins: dbaron (n=dbaron@nat/mozilla/x-hlcctfdbblcnraly)
  48. # [01:31] * Quits: dglazkov (n=dglazkov@nat/google/x-mhfambreoxfvnqds)
  49. # [01:35] <Hixie> well, i've found where my e-mail is going
  50. # [01:35] <Hixie> some sort of spam filter is moving them into a spam folder
  51. # [01:35] <Hixie> but none of my spam filters are configured to move spam there
  52. # [01:35] <Hixie> so... wtf
  53. # [01:35] <Philip`> A spam filter moving spam to a spam folder? That's crazy
  54. # [01:39] * Quits: fishd__ (n=darin@nat/google/x-olscvzxqorggeloa) (Read error: 60 (Operation timed out))
  55. # [01:40] <Dashiva> Philip`: The crazy part is that some of the mail makes it through
  56. # [01:41] <othermaciej> yeah I don't care that much about what you call a "resource" - in WebKit internals we don't really draw any distinction between the resource and the resource representation (for example you use a ResourceHandle to talk to a resource, and cache the result as a CachedResource)
  57. # [01:41] <TabAtkins> Yeah, they'll have to fix that.
  58. # [01:41] <TabAtkins> Hixie shouldn't be receiving any email.
  59. # [01:41] <othermaciej> I only got involved because it makes me worry that we'll be buried in word choice bikesheds
  60. # [01:41] <TabAtkins> You worry?
  61. # [01:41] <Hixie> it tells you how much e-mail i receive that about 1500 e-mails got filtered to a spam folder over a period of about a month, 6 weeks, and it took me that long to notice
  62. # [01:41] * TabAtkins thought we were already there.
  63. # [01:42] <othermaciej> well, ones that are tied to an ISSUE and therefore require the WG and particularly the chairs to expend some effort to resolve
  64. # [01:42] <TabAtkins> Ah, makes sense. Yes, those are worrying.
  65. # [01:45] * Quits: abarth (n=abarth@216.239.45.19)
  66. # [01:46] * Joins: abarth (n=abarth@216.239.45.19)
  67. # [01:46] * Quits: abarth (n=abarth@216.239.45.19) (Client Quit)
  68. # [01:48] * Joins: yutak_home (n=kee@61.117.6.79)
  69. # [01:50] * Quits: dimich__ (n=dimich@72.14.224.1)
  70. # [01:52] * Quits: weinig (n=weinig@17.246.19.32)
  71. # [01:57] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
  72. # [01:58] * Joins: miketaylr (n=miketayl@24.215.150.28)
  73. # [01:59] <TabAtkins> Hixie, can I talk privately for a sec?
  74. # [01:59] * Joins: erlehmann_ (n=erlehman@tmo-108-162.customers.d1-online.com)
  75. # [01:59] * Quits: erlehmann_ (n=erlehman@tmo-108-162.customers.d1-online.com) (Read error: 54 (Connection reset by peer))
  76. # [02:10] * Quits: zcorpan_ (n=zcorpan@123.218.251.212.customer.cdi.no)
  77. # [02:18] * Joins: GarethAdams|Home (n=GarethAd@90.193.125.207)
  78. # [02:18] * Joins: cying (n=cying@70.90.171.153)
  79. # [02:19] * Quits: GarethAdams|Home (n=GarethAd@90.193.125.207) (Client Quit)
  80. # [02:20] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
  81. # [02:21] * Joins: cying (n=cying@70.90.171.153)
  82. # [02:28] * Joins: GarethAdams|Home (n=GarethAd@90.193.125.207)
  83. # [02:36] * Joins: wakaba_0 (n=wakaba_@122.221.184.68)
  84. # [02:36] * Quits: benward (n=benward@nat/yahoo/x-sxnogkgcwcjjmamk) ("Sleep")
  85. # [02:37] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  86. # [02:39] * Parts: a-ja (n=chatzill@70.230.185.73)
  87. # [02:43] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  88. # [02:55] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  89. # [03:13] * Quits: yutak_home (n=kee@61.117.6.79) ("Ex-Chat")
  90. # [03:15] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  91. # [03:21] * Quits: cying (n=cying@70.90.171.153)
  92. # [03:26] * Joins: abarth (n=abarth@ip-66-80-2-174.dsl.sca.megapath.net)
  93. # [03:35] * Joins: borismus (n=borismus@c-98-219-161-78.hsd1.pa.comcast.net)
  94. # [03:39] * Quits: dbaron (n=dbaron@nat/mozilla/x-hlcctfdbblcnraly) ("8403864 bytes have been tenured, next gc will be global.")
  95. # [03:45] * Joins: doublec (n=doublec@203.97.204.82)
  96. # [03:49] * Joins: jacobolus (n=jacobolu@dhcp-0002058584-70-16.client.student.harvard.edu)
  97. # [03:50] * Quits: erlehmann (n=erlehman@tmo-108-162.customers.d1-online.com) (Read error: 110 (Connection timed out))
  98. # [03:51] * Quits: sicking (n=chatzill@nat/mozilla/x-miwblpnpscxgvjed) (Read error: 60 (Operation timed out))
  99. # [03:54] * Joins: sicking (n=chatzill@32.152.83.77)
  100. # [03:59] * Joins: yutak_home (n=kee@61.117.6.79)
  101. # [04:02] * Quits: abarth (n=abarth@ip-66-80-2-174.dsl.sca.megapath.net)
  102. # [04:03] * Quits: ap (n=ap@17.246.19.174)
  103. # [04:04] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  104. # [04:04] * Joins: dglazkov (n=dglazkov@67.188.0.62)
  105. # [04:06] * Quits: sicking (n=chatzill@32.152.83.77) (Read error: 131 (Connection reset by peer))
  106. # [04:10] <boblet> I want to display a code sample to copy & paste in something like a form textarea. Given it’s not going to be submitted, is using textarea wrong?
  107. # [04:13] * Joins: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
  108. # [04:16] <Hixie> whether it's submitted or not doesn't really matter
  109. # [04:19] <othermaciej> <textarea> will have the helpful effect that Select All will select only its contents
  110. # [04:19] <othermaciej> dunno if other ways of making a scrollable area do that
  111. # [04:19] <othermaciej> (I guess an iframe does but that requires either an external resource or script to fill)
  112. # [04:21] * Joins: sicking (n=chatzill@75-101-124-18.static.dsltransport.net)
  113. # [04:22] * Joins: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net)
  114. # [04:26] * Quits: dglazkov (n=dglazkov@67.188.0.62)
  115. # [04:31] * Quits: yutak_home (n=kee@61.117.6.79) ("Ex-Chat")
  116. # [04:32] * Quits: slightlyoff (n=slightly@nat/google/x-cjxrwmkvtwthmelk)
  117. # [04:32] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  118. # [04:34] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  119. # [04:35] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  120. # [04:39] * Joins: dimich__ (n=dimich@72.14.224.1)
  121. # [04:46] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
  122. # [04:49] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
  123. # [04:54] * Quits: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
  124. # [04:54] * Joins: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
  125. # [04:55] * Quits: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net) (Read error: 110 (Connection timed out))
  126. # [05:06] * Quits: cohitre (n=cohitre@64-40-56-46-dsl.itltd.net)
  127. # [05:06] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
  128. # [05:07] * Joins: fishd__ (n=darin@c-67-180-164-209.hsd1.ca.comcast.net)
  129. # [05:08] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) (Client Quit)
  130. # [05:10] * fishd__ is now known as fishd
  131. # [05:11] * Quits: dpranke (n=Adium@nat/google/x-belzhagzilmgzrno) ("Leaving.")
  132. # [05:13] * Joins: dpranke (n=Adium@nat/google/x-qcffxhlyfkmsmlye)
  133. # [05:13] * Quits: dpranke (n=Adium@nat/google/x-qcffxhlyfkmsmlye) (Client Quit)
  134. # [05:22] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
  135. # [05:31] <boblet> Hixie, othermaciej: thanks!
  136. # [05:34] * Joins: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net)
  137. # [05:35] * Quits: cohitre (n=cohitre@c-24-18-158-106.hsd1.wa.comcast.net) (Client Quit)
  138. # [05:36] * Joins: fishd_ (n=darin@72.14.224.1)
  139. # [05:36] * Quits: doublec (n=doublec@203.97.204.82) (Read error: 145 (Connection timed out))
  140. # [05:38] * Quits: paul_irish (n=paul_iri@12.33.239.250)
  141. # [05:39] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  142. # [05:39] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  143. # [05:40] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  144. # [05:50] * Joins: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz)
  145. # [05:54] * Quits: ray (i=ray@drong.notacat.org) (Operation timed out)
  146. # [05:54] * Quits: fishd (n=darin@c-67-180-164-209.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  147. # [05:58] * Joins: ray (i=ray@drong.notacat.org)
  148. # [05:58] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 54 (Connection reset by peer))
  149. # [05:58] * Joins: weinig_ (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  150. # [05:58] * weinig_ is now known as weinig
  151. # [06:01] * Quits: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net) (Read error: 110 (Connection timed out))
  152. # [06:02] * miketaylr is now known as miketaylr|zombie
  153. # [06:02] * miketaylr|zombie is now known as miketaylr
  154. # [06:05] * fishd_ is now known as fishd
  155. # [06:07] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  156. # [06:07] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net) (Remote closed the connection)
  157. # [06:08] * Joins: abarth (n=abarth@173-45-226-33.slicehost.net)
  158. # [06:08] * Joins: abarth_ (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  159. # [06:23] * Quits: miketaylr (n=miketayl@24.215.150.28)
  160. # [06:28] * Quits: abarth (n=abarth@173-45-226-33.slicehost.net) (Read error: 110 (Connection timed out))
  161. # [06:28] * abarth_ is now known as abarth
  162. # [06:30] * Joins: nab (i=48b95522@gateway/web/freenode/x-xaldyzzlklfamlbz)
  163. # [06:30] * Parts: nab (i=48b95522@gateway/web/freenode/x-xaldyzzlklfamlbz)
  164. # [06:46] * Joins: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net)
  165. # [06:52] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) (Read error: 104 (Connection reset by peer))
  166. # [06:54] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  167. # [06:54] * Joins: weinig_ (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  168. # [06:55] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  169. # [06:55] * weinig_ is now known as weinig
  170. # [06:56] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
  171. # [06:56] * Joins: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp)
  172. # [07:22] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 60 (Operation timed out))
  173. # [07:24] * Quits: borismus (n=borismus@c-98-219-161-78.hsd1.pa.comcast.net)
  174. # [07:24] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  175. # [07:24] * Quits: othermaciej (n=mjs@17.246.19.100)
  176. # [07:28] * Quits: doublec (n=doublec@203-97-204-82.dsl.clear.net.nz) ("Leaving")
  177. # [07:30] * Joins: zalan (n=zalan@catv-89-135-110-21.catv.broadband.hu)
  178. # [07:36] * Quits: sicking (n=chatzill@75-101-124-18.static.dsltransport.net) (Read error: 110 (Connection timed out))
  179. # [07:37] * Quits: heycam (n=cam@nat/mozilla/x-yaxvuenkidmgfqtn) ("bye")
  180. # [07:40] * Quits: dave_levin (n=dave_lev@c-98-203-247-78.hsd1.wa.comcast.net)
  181. # [07:41] * Joins: SuperDot_iPod (n=superdot@adsl-76-202-78-110.dsl.pltn13.sbcglobal.net)
  182. # [07:42] * Quits: shepazu (n=schepers@nat/mozilla/x-whmmkgiccytmzkjd)
  183. # [07:46] * Quits: dimich__ (n=dimich@72.14.224.1)
  184. # [07:51] * Quits: annodomini (n=lambda@wikipedia/lambda)
  185. # [07:52] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net) (Remote closed the connection)
  186. # [07:53] * Joins: abarth (n=abarth@98.210.108.185)
  187. # [07:55] * Joins: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de)
  188. # [07:56] * Joins: nattokirai_ (n=nattokir@wave.mozilla.or.jp)
  189. # [07:58] * Quits: SuperDot_iPod (n=superdot@adsl-76-202-78-110.dsl.pltn13.sbcglobal.net) ("Get Colloquy for iPhone! http://mobile.colloquy.info")
  190. # [07:59] * Quits: nattokirai (n=nattokir@gw0.mozilla.or.jp) (Read error: 60 (Operation timed out))
  191. # [07:59] * nattokirai_ is now known as nattokirai
  192. # [07:59] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  193. # [08:02] * Joins: heycam (n=cam@66.134.141.179)
  194. # [08:05] * Quits: abarth (n=abarth@98.210.108.185) (Remote closed the connection)
  195. # [08:05] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  196. # [08:06] * Joins: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net)
  197. # [08:08] * Joins: annevk42 (n=annevk@cm-84.215.133.38.getinternet.no)
  198. # [08:16] * Joins: shepazu (n=schepers@66.134.141.179)
  199. # [08:17] * lmorchard is now known as lmorchard|away
  200. # [08:25] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  201. # [08:36] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  202. # [08:53] * Quits: nattokirai (n=nattokir@wave.mozilla.or.jp)
  203. # [08:54] * Joins: nattokirai (n=nattokir@gw0.mozilla.or.jp)
  204. # [08:55] * Joins: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl)
  205. # [08:57] * Joins: benward (n=benward@98.210.154.133)
  206. # [09:01] * Joins: pesla (n=retep@80.101.187.43)
  207. # [09:07] * Joins: gunderwonder (n=gunderwo@80.202.84.172)
  208. # [09:19] * Quits: gunderwonder (n=gunderwo@80.202.84.172)
  209. # [09:20] <annevk42> Hixie, you should read my specs more, a bunch of that "other stuff" on the wiki is covered by CSSOM View
  210. # [09:20] <Hixie> cool
  211. # [09:20] <Hixie> i just pasted it in without really looking to be honest
  212. # [09:20] <Hixie> it comes from the XXX markers at the bottom of html5
  213. # [09:21] <Hixie> most were written in the WF2 days
  214. # [09:25] <annevk42> ah yeah, I remember reading that
  215. # [09:34] <Hixie> http://pimpmyspec.net/ seems to be down
  216. # [09:34] <Hixie> that's gonna put a crimp in my style
  217. # [09:35] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
  218. # [09:40] <annevk42> whoa, bug count went up to twenty from minus one?
  219. # [09:40] <annevk42> pretty sure I didn't file twenty bugs
  220. # [09:43] <Hixie> -1?
  221. # [09:44] <annevk42> your issue tracker page displayed that
  222. # [09:44] <annevk42> I think because the bug column was empty
  223. # [09:45] * Quits: jgraham (n=jgraham@web22.webfaction.com) (Read error: 60 (Operation timed out))
  224. # [09:46] <Hixie> oh right, it'll show that when bugzilla is down, which it was
  225. # [09:49] * Joins: jgraham (n=jgraham@web22.webfaction.com)
  226. # [09:50] <Hixie> jgraham!
  227. # [09:50] <Hixie> http://pimpmyspec.net/ is down
  228. # [09:51] <Hixie> oh it works now
  229. # [09:51] <Hixie> never mind!
  230. # [10:00] * Joins: gunderwonder (n=gunderwo@garage.upstruct.com)
  231. # [10:01] <annevk42> Hixie, where you talk about the default action of the event you should not use "must" at all
  232. # [10:01] <annevk42> Hixie, the algorithm is already required to be followed
  233. # [10:02] <hsivonen> we have quite a few WONTFIX bugs in the W3C bugzilla. those are all potential escalation material :-(
  234. # [10:02] <hsivonen> I hope the chairs won't make the WG debate 96 escalated ISSUEs
  235. # [10:02] * Joins: mpt (n=mpt@canonical/mpt)
  236. # [10:03] <annevk42> hsivonen, looking forward to TPAC already
  237. # [10:23] * Quits: annevk42 (n=annevk@cm-84.215.133.38.getinternet.no)
  238. # [10:23] <jgraham> Hixie: Yeah it seems that the server died or something
  239. # [10:23] <Hixie> annevk2: it is?
  240. # [10:25] * Joins: zcorpan_ (n=zcorpan@213.236.208.22)
  241. # [10:36] <annevk2> Hixie, yeah, from other parts in the spec
  242. # [10:43] * Joins: Phae (n=phaeness@gateb.thls.bbc.co.uk)
  243. # [10:46] * Joins: mat_t (n=mattomas@91.189.88.12)
  244. # [10:49] <zcorpan_> hmm... window.window=1;alert(window.window) // [object Window] in opera, webkit and firefox
  245. # [10:49] <zcorpan_> window.self=1;alert(window.self) // 1 in webkit and firefox, [object Window] in opera
  246. # [10:49] * Quits: GarethAdams|Home (n=GarethAd@90.193.125.207)
  247. # [10:49] <zcorpan_> html5 just says readonly attribute
  248. # [10:50] <zcorpan_> so i guess according to html5, both should throw on setting?
  249. # [10:50] <zcorpan_> what happens in ie?
  250. # [10:52] <zcorpan_> and what should happen in a WorkerGlobalScope when setting self.self ?
  251. # [10:53] * Quits: nessy (n=nessy@124-170-205-120.dyn.iinet.net.au) ("This computer has gone to sleep")
  252. # [10:53] * Joins: ROBOd (n=robod@89.122.216.38)
  253. # [10:54] * Philip` thought readonly was just ignored on setting
  254. # [10:54] <Philip`> (rather than throwing)
  255. # [10:54] <zcorpan_> "It is language binding specific whether assignment is simply disallowed by the language, ignored or an exception is thrown."
  256. # [10:55] * Quits: fishd (n=darin@72.14.224.1) (Read error: 60 (Operation timed out))
  257. # [10:55] <Philip`> Where is the language binding specified?
  258. # [10:57] <zcorpan_> "If the attribute is declared readonly, the property has attributes { DontDelete, ReadOnly }. Otherwise, the property has attributes { DontDelete }."
  259. # [10:58] <zcorpan_> ReadOnly in javascript means nothing happens on setting, right?
  260. # [10:58] <zcorpan_> i guess firefox and webkit have [Replacable] for window.self
  261. # [10:59] * Philip` tries to look at ES5, but can't work out what it's saying
  262. # [11:00] <Philip`> *That* is a spec designed solely for implementors, not users
  263. # [11:00] <zcorpan_> "when the ReadOnly attribute for a property is set to true, any attempt by executed
  264. # [11:00] <zcorpan_> ECMAScript code tochange the value of thepropertyhas noeffect." says ecma262
  265. # [11:00] <zcorpan_> though that might be non-normative...
  266. # [11:01] <Philip`> ES5 says "any attempt by executed ECMAScript code to change the value of the property fails", which is less helpful because I don't know what "fails" means
  267. # [11:01] * Joins: nessy (n=nessy@124-170-159-219.dyn.iinet.net.au)
  268. # [11:01] <Philip`> (Also it probably varies in strict mode, whatever that is)
  269. # [11:02] <hsivonen> what's the purpose of the ES5 "strict mode"?
  270. # [11:02] <Philip`> Helping programmers write code with fewer bugs?
  271. # [11:02] <Philip`> like a lint tool but at runtime
  272. # [11:02] <hsivonen> is the non-strict mode of ES5 compatible with existing ES3 scripts?
  273. # [11:02] <zcorpan_> "The property is a read-only property. Attempts by ECMAScript code to write to
  274. # [11:02] <zcorpan_> the property will be ignored." ... "An i mpl ement at i on of ECMAScr i pt must behave as i f i t pr oduced and
  275. # [11:02] <zcorpan_> oper at ed upon i nt er nal pr oper t i es i n t he manner descr i bed her e." ...is probably the normative part
  276. # [11:03] <jgraham> In ES5 [[Put]] can either throw or not throw
  277. # [11:03] <Philip`> Yay PDF copy-and-paste
  278. # [11:03] <zcorpan_> Philip`: yeah
  279. # [11:03] <jgraham> IIRC it is called with throw=false for the normal case of property setting
  280. # [11:03] <hsivonen> Philip`: If I have an ES3 browser and I say "use strict" and write non-strict code, will my code run on the ES3 browser but fail in an ES5 browser?
  281. # [11:03] <hsivonen> or will the ES5 browser just warn to console or something?
  282. # [11:04] <zcorpan_> hsivonen: it will fail
  283. # [11:04] <zcorpan_> hsivonen: some things throw in strict mode
  284. # [11:04] <zcorpan_> hsivonen: like arguments.caller
  285. # [11:04] <hsivonen> zcorpan_: but won't fail in ES3?
  286. # [11:04] <zcorpan_> right
  287. # [11:05] * Philip` uses JSOPTION_STRICT when embedding SpiderMonkey in non-web things, because it helps detect some bugs
  288. # [11:05] <hsivonen> seems like a disaster if people start using "use strict" as a shiny thing before upgrading to an ES5 browser
  289. # [11:05] <Philip`> (but I think that option only results in warnings, never changes to behaviour)
  290. # [11:05] <zcorpan_> hsivonen: indeed
  291. # [11:05] <jgraham> It seems to very with strict mode
  292. # [11:06] <jgraham> See the PutValue algorithm for the normative description
  293. # [11:06] <zcorpan_> hsivonen: although apparently "use strict" allows for some optimizations
  294. # [11:06] <hsivonen> zcorpan_: ok. that makes more sense
  295. # [11:07] <jgraham> hsivonen: ES5 is not absolutely backwards compatible with ES3
  296. # [11:07] <jgraham> even in non-strict mode
  297. # [11:07] <hsivonen> jgraham: are browsers expected to ship only an ES5 engine or to sniff between ES3 and ES5 behavior somehow?
  298. # [11:08] <Hixie> zcorpan_: if i need to add [Replaceable] to 'self' let me know
  299. # [11:08] <jgraham> Ship only an ES5 engine
  300. # [11:08] <hsivonen> jgraham: I see
  301. # [11:08] <jgraham> (the differences are things like regexp literals evaluating to different objects rather than always the same object)
  302. # [11:09] <jgraham> (which would can observe through the lastIndex property)
  303. # [11:09] <zcorpan_> http://www.google.com/codesearch?q=self+lang%3Ajs&hl=en&btnG=Search+Code
  304. # [11:09] <zcorpan_> hmm, first hit has var self = arguments.callee :(
  305. # [11:09] <jgraham> s/would/you/
  306. # [11:11] <zcorpan_> hmm but that works in opera
  307. # [11:11] <jgraham> AFAICT the main motivators for strict mode are 1) a desire to make more substantial language cleanups then you can make without breaking backward compatibility b) a desire to have a language better suited to Caja and other such security subsets 3) Maybe some potential for optimization
  308. # [11:11] <jgraham> s/b/2
  309. # [11:12] <Philip`> Does ES5 not have any of the new keywords that JS1.n (n >= 6) added?
  310. # [11:12] <jgraham> iirc it hasn't added any new keywords yet
  311. # [11:12] <jgraham> They keep talking about it for ES6 though
  312. # [11:13] <zcorpan_> what's the plan to not break compat in ES6?
  313. # [11:14] <jgraham> Well theoretically most of the new keywords are future reserved words. But I don't know if they are in the intersection of the future reserved words that are actually reserved by all browsers
  314. # [11:14] <jgraham> Or even in the union
  315. # [11:14] <zcorpan_> yield isn't a reserved word in browsers, right?
  316. # [11:15] <Philip`> 'let' and 'yield' aren't listed as future reserved words in ES5
  317. # [11:15] <Philip`> (at least the draft I'm looking at)
  318. # [11:15] <Philip`> but it says "The identifiers ‗let‘, and ‗yield‘ may be used in a future version of this standard.
  319. # [11:15] <Philip`> "
  320. # [11:15] <jgraham> Oh. Well that shows how useful that list was
  321. # [11:16] <hsivonen> Philip`: are those used in anything but Firefox chrome?
  322. # [11:16] <jgraham> (I only remember enough about the list of future reserved words to remember that it is basically fiction)
  323. # [11:17] <jgraham> Oh, let and yield are future reserved words in strict mode only
  324. # [11:17] <jgraham> ]and they seem to have cut down the list in non-strict mode since I last checked
  325. # [11:17] <Philip`> hsivonen: http://canvex.lazyilluminati.com/3dmodel/example0.html uses 'yield'
  326. # [11:18] <Philip`> Doubt it's used much in real content, though
  327. # [11:18] <hsivonen> Philip`: are they supported by engines other than SpiderMonkey?
  328. # [11:19] <Philip`> hsivonen: No, as far as I'm aware
  329. # [11:22] <zcorpan_> are TC39 aware of the Web EcmaScript wiki page?
  330. # [11:22] <Philip`> http://www.kpmg.de/Themen/7771.htm is the only page I see with version=1.[6789] in <script type>
  331. # [11:22] <jgraham> zcorpan_: Not as far as I'm aware
  332. # [11:23] <zcorpan_> maybe someone should bring their attention to it, or at least to the issues it tries to cover
  333. # [11:25] * jgraham cannot imagine anything good soming of it
  334. # [11:25] <jgraham> *coming
  335. # [11:25] <hsivonen> Philip`: and it seems to use it only for the purpose of recording the version recognized by the browser for tracking purposes
  336. # [11:26] <zcorpan_> Philip`: that page just checks that version is not 1.0 or 1.1
  337. # [11:29] <Philip`> Indeed
  338. # [11:32] <annevk2> Hixie, I also filed another bug about fallback and online whitelist namespace being matched by something more complicated than just a prefix match
  339. # [11:32] <hsivonen> are ES5 browsers supposed to modify behavior on version=1.1 or version=1.2, etc.?
  340. # [11:33] <hsivonen> what about e4x=1?
  341. # [11:33] <zcorpan_> hsivonen: i would guess that opera will modify behavior of version=1.1 and not support e4x
  342. # [11:35] <hsivonen> zcorpan_: I see. Does ES5 specify what the delta is when version=1.1 is specified?
  343. # [11:36] <zcorpan_> don't know
  344. # [11:36] * Quits: Lachy (n=Lachlan@85.196.122.246) ("Leaving")
  345. # [11:36] <zcorpan_> but i doubt it :)
  346. # [11:36] <zcorpan_> it probably says what the delta is compared to ecma262
  347. # [11:36] <jgraham> ES5 says nothing about any of this
  348. # [11:37] <hsivonen> jgraham: is there a spec that specifies this part of the interoperable platform?
  349. # [11:38] <jgraham> hsivonen: Not unless HTML5 says something about it
  350. # [11:39] <hsivonen> hmmkay
  351. # [11:39] <jgraham> In general ES5 is silent about how scripts are loaded
  352. # [11:39] <hsivonen> is version=1.1 truly version 1.1 or the latest plus a specific delta?
  353. # [11:39] <Philip`> I didn't think any current browsers (except Firefox for versions >= 1.6) changed behaviour on version at all
  354. # [11:40] <zcorpan_> in opera version=1.1 is the same as version=1.5, i think
  355. # [11:40] * Quits: benward (n=benward@98.210.154.133) ("Sleep")
  356. # [11:41] <Philip`> See https://bugzilla.mozilla.org/attachment.cgi?id=167555 and/or http://philip.html5.org/demos/js/jstype.html
  357. # [11:41] <Philip`> Oh, don't bother with the latter one, it doesn't show old version numbers
  358. # [11:43] * Philip` tweaks
  359. # [11:43] <Philip`> Now it does
  360. # [11:51] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (niven.freenode.net irc.freenode.net)
  361. # [11:51] * Quits: da3d (n=opera@h11n1fls34o986.telia.com) (niven.freenode.net irc.freenode.net)
  362. # [11:51] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  363. # [11:56] * Quits: nessy (n=nessy@124-170-159-219.dyn.iinet.net.au) ("This computer has gone to sleep")
  364. # [11:57] * Joins: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
  365. # [11:57] <Hixie> annevk2: what does http://www.w3.org/Bugs/Public/show_bug.cgi?id=7760 mean?
  366. # [11:59] <annevk2> Hixie, the summary table suggests error is the last event you get while after that noupdate is dispatched
  367. # [11:59] <annevk2> though I later realized that maybe noupdate was not dispatched to the same place as where error was dispatched, but did not check
  368. # [12:00] <annevk2> I also think it would be helpful to have separate event summaries for different scenarios
  369. # [12:00] <zcorpan_> which is right? regexp matches string, or string matches regexp?
  370. # [12:00] <Hixie> right, it either sends noupdate or error
  371. # [12:01] <Hixie> trying to describe summaries for different scenarios is reallllly hard
  372. # [12:01] <Hixie> because there's a bazillion different scenarios
  373. # [12:01] <Philip`> zcorpan_: Depends what your favourite programming language does
  374. # [12:01] <Hixie> i had that problem with drag and drop too
  375. # [12:01] <annevk2> the multi-window scenario is most interesting I suppose; where the other window is doing the update but you're receiving events too, but less
  376. # [12:02] <Philip`> $str =~ /regexp/ vs regexp.match(str) etc
  377. # [12:02] <Philip`> zcorpan_: (I don't think it matters much in practice since it's unambiguous either way)
  378. # [12:03] <annevk2> because if you split those it is more clear why noupdate can come directly after checking without downloading
  379. # [12:03] <Hixie> annevk2: sounds like something lachy should document in his doc
  380. # [12:04] <annevk2> devil's advocate, but shouldn't the authoring details be just as clear as the impl details?
  381. # [12:04] * Joins: Lachy (n=Lachlan@pat-tdc.opera.com)
  382. # [12:04] <zcorpan_> Philip`: yeah. i guess different people have different mental models
  383. # [12:06] * Joins: da3d (n=opera@h11n1fls34o986.telia.com)
  384. # [12:06] * Joins: da3dl (n=opera@h11n1fls34o986.telia.com)
  385. # [12:06] <annevk2> in general it seems that event details are not very author friendly
  386. # [12:07] <annevk2> e.g. dispatching of online and offline events is impl-protected
  387. # [12:07] <zcorpan_> i think all elements and objects should have an author box saying which events are fired and when
  388. # [12:08] <zcorpan_> video has it
  389. # [12:08] <zcorpan_> but other things don't
  390. # [12:09] <Hixie> annevk2: every time i've written detailed information for the author side that is just informative, i've regretted it. So I'd really rather not include any tutorial-like stuff in the spec until at least mid-CR.
  391. # [12:10] <annevk2> if you want to do it eventually then it works for me
  392. # [12:10] <annevk2> i agree that such authoring fluff is annoying; I haven't done it for XHR either
  393. # [12:11] <annevk2> though I have to say that appcache is a bitch to review
  394. # [12:12] <annevk2> Hixie, is it too late to change names of appcache events?
  395. # [12:12] * Quits: da3d (n=opera@h11n1fls34o986.telia.com) (Connection timed out)
  396. # [12:14] <Hixie> why would we change the names?
  397. # [12:15] <Hixie> for http://www.w3.org/Bugs/Public/show_bug.cgi?id=7769 btw do you mean align on deletion, or on making the content attribute text be updated when the IDL attribute is updated?
  398. # [12:15] <annevk2> make the content attribute updated; because otherwise deletion wouldn't work
  399. # [12:16] <Hixie> what should it be set to if the event handler is set to a java method?
  400. # [12:16] * Joins: myakura (n=myakura@p1012-ipbf3905marunouchi.tokyo.ocn.ne.jp)
  401. # [12:16] <annevk2> so with cached it's clear it ends a phase; but obsolete doesn't match that; it would have to be obsoleted, notupdated, etc.
  402. # [12:17] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
  403. # [12:17] * da3dl is now known as da3d
  404. # [12:17] <annevk2> Hixie, I'm fine with restricting this to ECMAScript
  405. # [12:17] <annevk2> in fact, I'd be fine with not exposing on* in any other scripting language
  406. # [12:17] <Hixie> annevk2: file a bug, i guess. i dunno who has implemented the events.
  407. # [12:18] <Hixie> annevk2: so what should onfoo="" be set to if onfoo is set to function () { } ?
  408. # [12:18] <annevk2> every function has a toString() no?
  409. # [12:19] * jgraham notes that function.toString() can be overridden
  410. # [12:20] <Hixie> annevk2: so what if toString() throws an exception?
  411. # [12:20] <zcorpan_> annevk2: lunch
  412. # [12:21] <annevk2> Hixie, not sure :/
  413. # [12:21] <annevk2> Hixie, if you want me to figure it out more I can have a look
  414. # [12:21] <Hixie> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/249 suggests your description of firefox is wrong
  415. # [12:22] <annevk2> zcorpan_, you got it
  416. # [12:22] <annevk2> Hixie, yeah, I couldn't reproduce what hallvord told me either; I'll look into it some more and update the bug report
  417. # [12:22] <annevk2> back in a bit
  418. # [12:25] * Quits: MikeSmith (n=MikeSmit@tea12.w3.mag.keio.ac.jp) ("Tomorrow to fresh woods, and pastures new.")
  419. # [12:30] * Quits: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  420. # [12:35] <othermaciej> does anyone here know PHP?
  421. # [12:35] <othermaciej> (and would forgive me for asking a dumb question?)
  422. # [12:35] * hsivonen used to know PHP but has avoided it for the last 5 or so years
  423. # [12:36] <othermaciej> how do you get the HTTP request body?
  424. # [12:36] <othermaciej> the script I am trying to modify gets the request method thus: $_SERVER['REQUEST_METHOD']
  425. # [12:37] <hsivonen> I don't know/recall. I always used facilities that didn't require me to access the request body directly and parsed it for me.
  426. # [12:39] <Hixie> the request body in CGI scripts is text on stdin
  427. # [12:39] <Hixie> dunno how that helps in php
  428. # [12:40] <othermaciej> I could get it if I could read stdin I guess
  429. # [12:41] <Philip`> I don't think PHP typically runs as CGI
  430. # [12:42] <Philip`> since it uses mod_php instead
  431. # [12:42] <jgraham> $request_body = @file_get_contents('php://input'); according to google
  432. # [12:43] <jgraham> or maybe http_get_request_body() if you have the right extension module installed
  433. # [12:43] <Philip`> http://www.daniweb.com/code/snippet216846.html does that
  434. # [12:44] * hsivonen is amused by the IANA-incompliant URI used to address an HTTP *request* body
  435. # [12:44] <Philip`> I guess it's conceptually equivalent to reading STDIN
  436. # [12:44] <Philip`> rather than being intended for HTTP request bodies in particular
  437. # [12:45] <hsivonen> Philip`: sure but still
  438. # [12:45] * hsivonen is easily amused
  439. # [12:45] <Philip`> Oh, I guess wrong
  440. # [12:45] <Philip`> php://stdin is for stdin
  441. # [12:46] <Philip`> 'php://input allows you to read raw POST data. It is a less memory intensive alternative to $HTTP_RAW_POST_DATA and does not need any special php.ini directives. php://input is not available with enctype="multipart/form-data".'
  442. # [12:46] <Philip`> I guess you could use $HTTP_RAW_POST_DATA, then
  443. # [12:46] <Philip`> Oh, except for the php.ini stuff
  444. # [12:46] <othermaciej> I want the raw post data and I don't care about memory, this is for a regression test
  445. # [12:47] <Philip`> readfile("php://filter/read=string.toupper|string.rot13/resource=http://www.example.com");
  446. # [12:47] <Philip`> That looks fun
  447. # [12:48] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  448. # [12:49] * Joins: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  449. # [12:49] <Dashiva> I never understood why PHP was so restrictive about raw post data on regular form submits
  450. # [12:49] <Philip`> Maybe because PHP itself automatically reads all the data and outputs it to files, and then the raw post data is no longer available because it's all been read
  451. # [12:50] * Quits: gunderwonder (n=gunderwo@garage.upstruct.com) (Read error: 104 (Connection reset by peer))
  452. # [12:50] <Philip`> (and they don't want to buffer all the megabytes of file uploads just in case somebody might want to access the post data again later)
  453. # [12:50] <othermaciej> none one php://input, php:/stdin or $HTTP_RAW_POST_DATA seems to work
  454. # [12:51] <othermaciej> (reading stdin hangs, other two seem to get nothing)
  455. # [12:51] <othermaciej> tcpdump confirms I an indeed sending an http body
  456. # [12:51] <Philip`> What content-type are you sending?
  457. # [12:52] * Joins: nessy (n=nessy@124-170-159-219.dyn.iinet.net.au)
  458. # [12:52] <othermaciej> ah, I seem to be dropping the request Content-Type
  459. # [12:53] <othermaciej> that's probably my bug
  460. # [12:55] * Quits: nessy (n=nessy@124-170-159-219.dyn.iinet.net.au) (Client Quit)
  461. # [13:10] <othermaciej> OK, I'm now sending Content-Type: application/x-www-form-urlencoded
  462. # [13:10] <othermaciej> a non-PHP test case works but this PHP one still does not
  463. # [13:10] <othermaciej> I am doing <?php @file_get_contents('php://input') ?>
  464. # [13:11] <Hixie> well i was hoping to do microdata tonight
  465. # [13:11] <hsivonen> does PHP always intercept application/x-www-form-urlencode ?
  466. # [13:11] <Hixie> but i'm getting too tired to work on it
  467. # [13:11] <Dashiva> othermaciej: Isn't that supposed to work only when you _don't_ use x-www-form-urlencoded?
  468. # [13:11] <Hixie> so i'll go to bed instead
  469. # [13:11] <Hixie> nn
  470. # [13:12] <hsivonen> nn
  471. # [13:12] <othermaciej> Dashiva: I think what it does not like is "multipart/form-data"
  472. # [13:13] <Dashiva> Hum
  473. # [13:14] <Philip`> othermaciej: Don't you need to use 'print' or 'echo' or something?
  474. # [13:15] <othermaciej> Philip`: ah
  475. # [13:15] <Philip`> Also, what does the '@' do?
  476. # [13:16] <Dashiva> No error reporting
  477. # [13:16] <Philip`> Oh
  478. # [13:16] <Philip`> I guess you don't want that
  479. # [13:17] <zcorpan_> doesn't php require a semicolon?
  480. # [13:18] <othermaciej> Philip`: thanks for all your help
  481. # [13:19] <Philip`> Of course what you should do is replace all the PHP with Perl
  482. # [13:19] <Philip`> print "Content-type: text/plain\n\n", <>; or whatever
  483. # [13:20] <othermaciej> I should, but that's beyond the scope of this bug fix
  484. # [13:20] <othermaciej> now that I did this I can get back to implementing HTML5 elements (tomorrow)
  485. # [13:27] * Quits: danbri (n=danbri@unaffiliated/danbri) (Remote closed the connection)
  486. # [13:28] * Joins: danbri (n=danbri@unaffiliated/danbri)
  487. # [13:33] <Lachy> Wondering if I should just give in to the requests to change :reference back to :scope as many people are requesting and live with the less than ideal name?
  488. # [13:34] <zcorpan_> :reference is a bit long
  489. # [13:34] <Dashiva> Is there a third name that would serve as a compromise that annoys everyone equally?
  490. # [13:35] <zcorpan_> :ref is shorter
  491. # [13:35] <zcorpan_> but i'd be happy with :scope too
  492. # [13:35] <Lachy> I once called it :context, but people didn't like htat
  493. # [13:35] <Lachy> *that
  494. # [13:36] <jgraham> Dashiva: :lachyForKing would annoy almost everyone equally
  495. # [13:36] <zcorpan_> what's wrong with :scope?
  496. # [13:36] <Lachy> I considered :ref, but all other pseudo-classes in use full, non-abbreviated words, so I decided against it for consistency
  497. # [13:37] <Lachy> zcorpan_, it's only a semi-accurate name for a limited set of the use cases.
  498. # [13:38] <Lachy> since the elements it matches don't necessarily define any sort of scope.
  499. # [13:38] <Lachy> although it does in scoped stylesheets and queryScopedSelector, it doesn't with matchesSelector or with querySelectorAll("...", refNodes);
  500. # [13:39] <zcorpan_> there's a queryScopedSelector?
  501. # [13:39] <Lachy> there is now
  502. # [13:39] <Lachy> http://dev.w3.org/2006/webapi/selectors-api2/
  503. # [13:43] <zcorpan_> Lachy: doesn't web idl use in optional foo bar instead of [, foo bar] ?
  504. # [13:43] <zcorpan_> Lachy: also, shouldn't "Any" be lowercase?
  505. # [13:45] <zcorpan_> are :this or :self bad names?
  506. # [13:45] <Dashiva> I'd say so
  507. # [13:46] <zcorpan_> why
  508. # [13:46] <Lachy> because there's more than one and it doesn't necessarily match the context node
  509. # [13:46] <Dashiva> Scoped stylesheets
  510. # [13:47] <Philip`> Have two different names which have exactly the same effect, then people can choose whichever one fits best
  511. # [13:47] <Lachy> all the names previously considered, that I can remember are: :scope, :this, :self, :context, :reference, :context-node
  512. # [13:48] <Dashiva> :center-of-attention
  513. # [13:49] * Quits: mpt (n=mpt@canonical/mpt) (Read error: 113 (No route to host))
  514. # [13:49] <Lachy> Dashiva, it's a little short, don't you think?
  515. # [13:49] <Dashiva> Wait, I got it
  516. # [13:49] <Dashiva> :important
  517. # [13:52] <Philip`> :!
  518. # [13:52] <zcorpan_> ::
  519. # [13:53] <Philip`> :D
  520. # [13:53] <zcorpan_> :lol:
  521. # [13:53] <Lachy> hah
  522. # [13:53] <Lachy> that would be cool having an emoticon as a pseudo-class.
  523. # [13:53] <Dashiva> :S for scope
  524. # [13:54] <Philip`> Selectors are too dull and unemotional
  525. # [13:54] <Philip`> If all the symbols were replaced with emoticons, you'd have an exciting rollercoaster ride of feeling as you read the selector
  526. # [13:54] <Lachy> :p would be best, if we could think of something for it to stand for
  527. # [13:55] <Philip`> It should match paragraphs
  528. # [13:55] <Philip`> (in the HTML5-defined sense, not just <p>s)
  529. # [13:57] * Joins: til (n=IRC@80.12.80.112)
  530. # [13:57] <Lachy> :-^)>
  531. # [13:58] <Lachy> :-^)>-<
  532. # [13:58] * Parts: til (n=IRC@80.12.80.112)
  533. # [14:04] * Joins: pmuellr (n=pmuellr@129.33.49.251)
  534. # [14:04] * Joins: nessy (n=nessy@124-170-205-120.dyn.iinet.net.au)
  535. # [14:08] <Lachy> http://dev.w3.org/2006/webapi/WebIDL/#idl-any
  536. # [14:08] <Lachy> It says 'Its type name is “Any”. ' But then in the grammar http://dev.w3.org/2006/webapi/WebIDL/#dfn-type-name it uses "any"
  537. # [14:08] <Lachy> I'm confused.
  538. # [14:09] <Lachy> heycam, ^
  539. # [14:20] * Joins: hallvors (n=hallvord@213.236.208.22)
  540. # [14:22] * Quits: gavin_ (n=gavin@firefox/developer/gavin) (Read error: 110 (Connection timed out))
  541. # [14:24] * Joins: gavin_ (n=gavin@firefox/developer/gavin)
  542. # [14:24] <hsivonen> http://blog.piraattipuolue.fi/2009/09/sananvapaustuomio-tekijanoikeuden-varjolla/
  543. # [14:24] <hsivonen> oops. wrong window
  544. # [14:25] <hsivonen> (summary: parody that made a politically relevant point got a sentence of copyright infringement to its creator)
  545. # [14:30] * Joins: yutak_home (n=kee@61.117.6.79)
  546. # [14:37] * Joins: remysharp (n=remyshar@80.229.253.218)
  547. # [14:38] <remysharp> I assume someone knows that the multipage spec url doesn't work atm: http://www.whatwg.org/specs/web-apps/current-work/multipage/
  548. # [14:38] <hsivonen> maybe related to the PMS problem earlier today?
  549. # [14:40] <remysharp> Erm, not sure if that's a joke or serious, but the multi page was a useful resource :)
  550. # [14:40] * remysharp hopes it comes back to life
  551. # [14:41] <hsivonen> remysharp: PMS is pimpmyspec.net that Hixie uses to generate the spec from the source file
  552. # [14:41] <remysharp> nice!
  553. # [14:42] * Quits: wakaba_0 (n=wakaba_@122.221.184.68) ("Leaving...")
  554. # [14:42] <remysharp> my old company, we managed to produce a system called: Multi Infrastructure List Framework
  555. # [14:43] <remysharp> it took 6 months before the CTO flagged up the documentation - by which point it was way too late to change all the references to MILF
  556. # [14:47] * Joins: mpt (n=mpt@canonical/mpt)
  557. # [14:55] * Joins: GarethAdams|Home (n=GarethAd@94.193.106.231)
  558. # [14:57] * da3d is now known as daedb
  559. # [15:00] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
  560. # [15:03] * Joins: miketaylr (n=miketayl@38.117.156.163)
  561. # [15:04] <zcorpan_> opera has a framework called WTF
  562. # [15:04] <zcorpan_> (widget testing framework)
  563. # [15:05] <remysharp> there needs to be a wiki for those sneaky things that get in.
  564. # [15:05] <remysharp> WTF is superb.
  565. # [15:05] <Rik|work> zcorpan_: webkit has WTF too
  566. # [15:05] <Rik|work> Web Template Framework IIRC
  567. # [15:06] * Quits: nessy (n=nessy@124-170-205-120.dyn.iinet.net.au) (Remote closed the connection)
  568. # [15:11] * Joins: zdobersek (n=zan@cpe-92-37-66-253.dynamic.amis.net)
  569. # [15:19] <Philip`> http://www.whatwg.org/specs/web-apps/current-work/multipage/stderr.txt
  570. # [15:19] <Philip`> I hope that's not my bug
  571. # [15:20] <Philip`> but my machine that runs the splitter seems to be currently offline so I can't do much about it now :-(
  572. # [15:20] <Philip`> (I don't see how it'd get that error unless some id was in the TOC but not in the spec, which should be impossible unless the spec was truncated)
  573. # [15:21] * Joins: solepixel (n=solepixe@66.182.175.130)
  574. # [15:21] * solepixel is now known as solepixel_
  575. # [15:24] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  576. # [15:30] <annevk2> hmm, the bug list is back to zeor
  577. # [15:30] <annevk2> time to file new bugs
  578. # [15:32] * hsivonen wishes the www.cnn.com came with minimized test cases that hit all the same bugs only once
  579. # [15:32] <hsivonen> s/wishes the/wishes/
  580. # [15:32] <jgraham> hsivonen: Debugging real world websites is fun, no?
  581. # [15:33] <hsivonen> "fun"
  582. # [15:33] <jgraham> Yeah, scare quotes implied
  583. # [15:34] * jgraham wonders if anyone has written a tool for nicely formatting javascript
  584. # [15:35] <jgraham> Particularly to use on stuff that has been minimized
  585. # [15:35] <Philip`> Firefox has
  586. # [15:35] <Philip`> uneval()
  587. # [15:35] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
  588. # [15:35] <Philip`> (Wrap the code in a function and then uneval the function, in particular)
  589. # [15:35] * jgraham also wonders how much js-minimization actually helps given gzip and caching
  590. # [15:36] <jgraham> Philip`: Ah, should have thought of that
  591. # [15:36] <hallvors> jgraham: there are a number of tools for formatting JS
  592. # [15:36] * Joins: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  593. # [15:37] <hallvors> http://hallvord.com/opera/scriptformatter.php
  594. # [15:37] <hallvors> http://jsbeautifier.org/
  595. # [15:37] <Philip`> jgraham: Seems like a very easy thing to test
  596. # [15:37] <hallvors> http://elfz.laacz.lv/beautify/
  597. # [15:37] <hallvors> I mostly use the first one :-p
  598. # [15:37] <jgraham> Philip`: The caching part is harder to test
  599. # [15:38] <hsivonen> so... I'm getting a document.write() that implies document.open() and it's not even a defer script
  600. # [15:38] <hsivonen> hmm.
  601. # [15:38] <gsnedders> The latter two both run in JS, and are rather slow on, e.g., Gmail :P
  602. # [15:38] * lmorchard|away is now known as lmorchard
  603. # [15:38] <Philip`> jgraham: On an ancient version of jQuery, minimisation saves ~50% on the gzipped size
  604. # [15:39] <jgraham> hallvors: Nice. I will remember those when the unenviable day comes that I have to grapple with a large minimized script
  605. # [15:39] <hallvors> (yeah, given all the string manipulation you need to do I'm not surprised that all of them probably are slow)
  606. # [15:39] * Joins: aroben (n=aroben@unaffiliated/aroben)
  607. # [15:39] <gsnedders> hallvors: It'd be nice to use a C++ tokenizer and work from that… but for me to write that I'd have to learn C++ :P
  608. # [15:39] <jgraham> Philip`: What about if you strip comments only from the unminimized version
  609. # [15:39] <hallvors> in Opera, viewing source of the script, taking it through the formatter, and re-loading from cache gives you an entirely new debugging experience
  610. # [15:39] * Philip` hopes the "string manipulation" consists of something like a parser, not just a load of regexps
  611. # [15:40] * jgraham is always somewhat nbervous of that
  612. # [15:40] <hallvors> Philip`: mine does. Can't speak for the others, though I think the elfz.laacz.lv one is quite similar to mine
  613. # [15:40] <hallvors> jsbeautifier.org has bugs.. It tends to break complex scripts.
  614. # [15:41] <gsnedders> hallvors: Until you hit an inline script in a page that cannot be cached, which means you can't edit it and use Dragonfly.
  615. # [15:41] <hsivonen> hallvors: thanks. Those could have been useful when figuring out the MySpace XMLSerializer silliness
  616. # [15:41] <hallvors> gsnedders: in that case, use the user JS equivalent :)
  617. # [15:41] <Philip`> jgraham: Original .js is about 26KB (gzipped), packed is 14KB, non-packed but removing comments (in particular just running it through 'cpp') is 17KB
  618. # [15:41] <hallvors> http://hallvord.com/opera/scriptformatter.js
  619. # [15:41] <gsnedders> hallvors: That's a pain :)
  620. # [15:42] <hallvors> why? :)
  621. # [15:42] <hsivonen> http://jsbeautifier.org/ doesn't work with an HTML5 parser, so that one is problematic for me
  622. # [15:42] <gsnedders> hallvors: Means editing another file :)
  623. # [15:42] <hallvors> put scriptformatter.js in your user js folder and Dragonfly will see all source code nicely formatted
  624. # [15:42] <gsnedders> ooo…
  625. # [15:42] <jgraham> Philip`: I would have thought that 3Kb would be pretty unnoticable on most sites
  626. # [15:43] * gsnedders hopes he remembers that until he gets back to work on Monday
  627. # [15:43] <hallvors> ..or use Fiddler's autoresponse feature on the formatted source (which is what you have to do to debug formatted code in other browsers anyway)
  628. # [15:43] <Philip`> jgraham: Probably true, but if you're already going through all the effort of stripping comments and having separate development vs deployment versions of your scripts, why not save a few extra KB at the same time?
  629. # [15:44] <Philip`> Also it makes it harder for people to steal your code
  630. # [15:44] <gsnedders> hallvors: Who says I use Windows? :)
  631. # [15:44] <jgraham> Philip`: Because browser makes will hate you?
  632. # [15:44] <jgraham> *makers
  633. # [15:44] <hallvors> hsivonen: you're welcome. Hope you find it useful and do complain about any bugs that break scripts after formatting
  634. # [15:44] <Philip`> jgraham: That's just payback
  635. # [15:44] <gsnedders> jgraham: Browser vendors will hate them for having horrible JS to start with anyway.
  636. # [15:44] <Philip`> They'll be so fed up with stupid browser bugs that they'll be happy to make your lives as miserable as possible
  637. # [15:44] <jgraham> gsnedders: Not all sites have horrible js
  638. # [15:45] <gsnedders> jgraham: Most do.
  639. # [15:45] <hallvors> gsnedders: well, find a windows box to use Fiddler on then, and proxy your traffic through it :-p
  640. # [15:45] * gsnedders hopes jgraham doesn't find out what book he's reading at the moment, as then he'll really hate him
  641. # [15:45] <jgraham> What, Twilight?
  642. # [15:46] * gsnedders nods
  643. # [15:46] <jgraham> You suck
  644. # [15:46] <gsnedders> Actually, the second one.
  645. # [15:46] <Philip`> You're reading Noddy?
  646. # [15:46] <gsnedders> It's so badly written, but I've fallen in love wit it nevertheless.
  647. # [15:47] <gsnedders> Philip`: No, "New Moon"
  648. # [15:47] <Philip`> Oh, right, you were agreeing with jgraham, not giving a hint
  649. # [15:47] * Quits: mpt (n=mpt@canonical/mpt) ("Ex-Chat")
  650. # [15:47] * Joins: mpt (n=mpt@canonical/mpt)
  651. # [15:48] * gsnedders finds a photo so over-exposed the face in it is white even turning exposure all the way down on the RAW photo…
  652. # [15:49] <jgraham> gsnedders: YOu only have 12bits of luminance information. If it clips it's gone
  653. # [15:49] <gsnedders> Right, I know.
  654. # [15:50] <gsnedders> I don't think I've ever had it clip on the subject of the photo before, though I have on the sky.
  655. # [15:50] <jgraham> You don't own a flash?
  656. # [15:51] <gsnedders> No
  657. # [15:51] * Parts: zcorpan_ (n=zcorpan@213.236.208.22)
  658. # [15:51] <gsnedders> (The background light for the photo where the face is over-exposed was done in perfectly fine lighting outdoors, a flash wouldn't have helped)
  659. # [15:51] <gsnedders> (I guess the sun came out from behind the clouds at the instant I took it)
  660. # [15:52] <gsnedders> (Everything else I have from those few minutes is fine)
  661. # [15:54] <gsnedders> (Well, apart from some chromatic aberrations in a couple)
  662. # [15:55] <jgraham> No I meant if you had a flash you would be used to overexposed foregrounds
  663. # [15:55] <gsnedders> Ah.
  664. # [15:55] <jgraham> And my point earlier was more that it is usually obvious when things have clipped without adjusting anything in the RAW (indeed the software can tell you)
  665. # [15:56] * gsnedders doesn't mention anything else that has happened this month that jgraham will disagree with
  666. # [15:56] <hsivonen> nice. it seems the problem I had was related to running a fragment parser in the context of a document that has an active network stream parse going on
  667. # [15:57] <hsivonen> and the document confused innerHTML with document.write code and ran some document.write finalization code
  668. # [15:57] <jgraham> gsnedders: Now I want to know
  669. # [15:57] * Joins: krijn (i=8d5d17ee@gateway/web/freenode/x-hbyavvpnezkeluao)
  670. # [15:58] <gsnedders> jgraham: You don't think I was teasing you or anything?
  671. # [15:59] <jgraham> No. You would never do that
  672. # [16:00] <gsnedders> jgraham: Because someone downstairs (there) said I was, "a very nice, a bit humble and easy going person"?
  673. # [16:02] <jgraham> I thought that was just to get you an apartment contract :p
  674. # [16:02] <gsnedders> Well, yeah :P
  675. # [16:03] * Joins: borismus (n=borismus@98.219.161.78)
  676. # [16:04] * Joins: ttepasse (n=ttepas--@p5B013429.dip.t-dialin.net)
  677. # [16:04] * Joins: lazni (n=lazni@118.71.18.216)
  678. # [16:06] <TabAtkins> Philip`, you break XML-for-real blogs for fun, right? I've got a friend who wants some examples, as he's interested in the theory.
  679. # [16:06] <krijn> Why is http://krijnhoetmer.nl/zooi/html/document-write-js.html not allowed by HTML5?
  680. # [16:06] * Quits: remysharp (n=remyshar@80.229.253.218) ("Gotta shoot - "peeyaow"")
  681. # [16:07] <krijn> While http://krijnhoetmer.nl/zooi/html/test2.html is
  682. # [16:09] * Joins: annodomini (n=lambda@c-75-69-96-104.hsd1.nh.comcast.net)
  683. # [16:12] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
  684. # [16:14] * Quits: annodomini (n=lambda@wikipedia/lambda)
  685. # [16:16] * Joins: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  686. # [16:17] <Philip`> TabAtkins: Yes
  687. # [16:17] <Philip`> "fun"
  688. # [16:17] * Joins: zcorpan_ (n=zcorpan@213.236.208.22)
  689. # [16:17] <TabAtkins> Hehe.
  690. # [16:19] <Philip`> TabAtkins: http://diveintomark.org/archives/2008/03/09/no-fury-like-dracon-scorned#comment-11442 had some links
  691. # [16:19] <Philip`> to examples
  692. # [16:19] * Quits: borismus (n=borismus@98.219.161.78)
  693. # [16:19] <Philip`> Otherwise, read the IRC log to find more examples :-)
  694. # [16:20] <TabAtkins> Philip`, hah.
  695. # [16:21] * krijn should scrape the logs for links
  696. # [16:23] <Philip`> TabAtkins: I'm not sure what "the theory" is
  697. # [16:24] * Quits: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley) ("This computer has gone to sleep")
  698. # [16:24] <TabAtkins> Dunno, he was a bit vague.
  699. # [16:24] <jgraham> I guess "the theory" is the bits of XML 1.0 + XML NS 1.0 that are most commonly incorrect
  700. # [16:25] <jgraham> (ly implemented)
  701. # [16:25] <Philip`> It basically just involves putting U+0000 and U+FFFF into query strings until something breaks
  702. # [16:25] <TabAtkins> Makes sense.
  703. # [16:25] <TabAtkins> His exact phrasing was "I'd love some examples/references. Breaking websites is fun, and useful now that I'm writing some of my own."
  704. # [16:26] <Philip`> or into comments, if you want to break the page for everybody who looks at it
  705. # [16:27] <zcorpan_> or in trackbacks
  706. # [16:28] <Philip`> Bonus points if you prevent people using the admin interface to clean up your mess
  707. # [16:28] <zcorpan_> /404%00
  708. # [16:29] <TabAtkins> Yeah, I regaled him with tales (I think I cribbed it from diveintomark) of the draconian-error advocate who got a bad trackback and was unable to fix it because it killed his backend.
  709. # [16:31] * Philip` wonders how vulnerable Google Wave will be to XML well-formedness issues
  710. # [16:31] <Philip`> (Someone should give me an invite :-p )
  711. # [16:34] * Quits: maikmerten (n=merten@ls5dhcp196.cs.uni-dortmund.de) (Remote closed the connection)
  712. # [16:37] * Joins: paul_irish (n=paul_iri@12.33.239.250)
  713. # [16:38] * Joins: fishd (n=darin@c-67-180-164-209.hsd1.ca.comcast.net)
  714. # [16:39] <heycam> Lachy, use "any" in the idl
  715. # [16:39] <Lachy> heycam, why is the spec confusing?
  716. # [16:39] <heycam> the "type name" is a string used for other purposes
  717. # [16:39] <heycam> maybe i should rename that definition
  718. # [16:40] <Lachy> also, do I need to make the module dom explicit? Can I leave that out of the IDL?
  719. # [16:41] <heycam> no as currently written i believe you can leave out the module dom
  720. # [16:42] <Lachy> ok. I will remove it later
  721. # [16:42] * Joins: borismus (n=borismus@c-98-219-161-78.hsd1.pa.comcast.net)
  722. # [16:43] * Quits: zdobersek (n=zan@cpe-92-37-66-253.dynamic.amis.net) (Read error: 110 (Connection timed out))
  723. # [16:43] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  724. # [16:47] <zcorpan_> why is ErrorEvent's .filename not called .source for consistency with <body onerror>?
  725. # [16:49] * Joins: hobertoAtWork (n=hobertoa@gw1.mcgraw-hill.com)
  726. # [16:51] * Joins: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net)
  727. # [16:55] <aroben> http://www.whatwg.org/specs/web-apps/current-work/multipage/ seems broken
  728. # [16:56] <Philip`> Known issue
  729. # [16:56] <Philip`> I blame Hixie and/or jgraham
  730. # [16:56] <Philip`> and/or my ISP
  731. # [16:56] <Philip`> so it can't be fixed yet
  732. # [16:57] <aroben> ok, thanks
  733. # [17:05] * Quits: Maurice (n=ano@a80-101-46-164.adsl.xs4all.nl) ("Disconnected...")
  734. # [17:07] * Joins: dglazkov_ (n=dglazkov@72.14.224.1)
  735. # [17:07] * Joins: WebG (n=gk@host86-177-107-136.range86-177.btcentralplus.com)
  736. # [17:08] * Quits: pesla (n=retep@80.101.187.43) ("( www.nnscript.com :: NoNameScript 4.21 :: www.esnation.com )")
  737. # [17:08] * Parts: WebG (n=gk@host86-177-107-136.range86-177.btcentralplus.com)
  738. # [17:10] * Joins: GPHemsley (n=GPHemsle@pdpc/supporter/student/GPHemsley)
  739. # [17:12] * Quits: fishd (n=darin@c-67-180-164-209.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  740. # [17:16] * Quits: heycam (n=cam@66.134.141.179) ("bye")
  741. # [17:18] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  742. # [17:20] * Joins: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net)
  743. # [17:21] * Quits: abarth (n=abarth@c-98-210-108-185.hsd1.ca.comcast.net) (Remote closed the connection)
  744. # [17:21] * Joins: kristallpirat (n=kristall@c-base/crew/kristall)
  745. # [17:22] * Joins: fishd (n=darin@67.180.164.209)
  746. # [17:24] * Quits: lazni (n=lazni@118.71.18.216) ("Leaving.")
  747. # [17:26] * Quits: dglazkov (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  748. # [17:26] * dglazkov_ is now known as dglazkov
  749. # [17:27] <miketaylr> just noticed that opera defines a validity object for input elements
  750. # [17:27] <miketaylr> is this documented anywhere, does anyone know?
  751. # [17:28] <annevk2> yes, HTML5
  752. # [17:28] <miketaylr> :S
  753. # [17:28] * Joins: dglazkov_ (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net)
  754. # [17:28] * miketaylr fails
  755. # [17:28] <miketaylr> thx annevk2
  756. # [17:28] <Dashiva> I'd link it, but Philip` broke the spec
  757. # [17:29] * Quits: dglazkov_ (n=dglazkov@c-67-188-0-62.hsd1.ca.comcast.net) (Client Quit)
  758. # [17:30] * Parts: Mrmil (n=ut_ollie@host-77-236-204-8.blue4.cz)
  759. # [17:31] * Quits: shepazu (n=schepers@66.134.141.179)
  760. # [17:31] <Philip`> :'-(
  761. # [17:32] <Philip`> You could link to the single-page version
  762. # [17:32] <Philip`> or the W3C version
  763. # [17:32] <Dashiva> I wouldn't link my enemies to the single-page version, much less an innocent stranger ;)
  764. # [17:33] <miketaylr> heh. no need for a link, i've been there plenty. ;)
  765. # [17:33] * Joins: zdobersek (n=zan@cpe-92-37-66-253.dynamic.amis.net)
  766. # [17:34] <miketaylr> ok found it in 4.10.16.3 The constraint validation API, thanks again annevk2
  767. # [17:35] * Quits: fishd (n=darin@67.180.164.209) (Read error: 145 (Connection timed out))
  768. # [17:37] <annevk2> anytime
  769. # [17:39] * Quits: hallvors (n=hallvord@213.236.208.22)
  770. # [17:43] * Joins: lazni (n=lazni@118.71.18.216)
  771. # [17:46] * Quits: dglazkov (n=dglazkov@72.14.224.1) (Read error: 110 (Connection timed out))
  772. # [17:47] * Joins: remysharp (n=remyshar@80.229.253.218)
  773. # [17:49] * Quits: boblet (n=boblet@221.184.228.254)
  774. # [17:49] * Joins: dglazkov (n=dglazkov@nat/google/x-tfkifcvpsilfyopw)
  775. # [17:54] * Quits: borismus (n=borismus@c-98-219-161-78.hsd1.pa.comcast.net)
  776. # [18:03] <zcorpan_> let's see if that's controversial...
  777. # [18:04] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
  778. # [18:04] <jgraham> zcorpan_: +1
  779. # [18:07] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  780. # [18:12] * Quits: lazni (n=lazni@118.71.18.216) ("Leaving.")
  781. # [18:14] * Joins: sbublava (n=stephan@77.119.68.240)
  782. # [18:14] * Joins: shepazu (n=schepers@63.245.220.224)
  783. # [18:15] * Quits: webben (n=benh@dip5-fw.corp.ukl.yahoo.com) (Read error: 104 (Connection reset by peer))
  784. # [18:21] * Quits: mpt (n=mpt@canonical/mpt) (Remote closed the connection)
  785. # [18:23] * Joins: heycam (n=cam@63.245.220.224)
  786. # [18:23] * Quits: zcorpan_ (n=zcorpan@213.236.208.22)
  787. # [18:25] * Quits: Lachy (n=Lachlan@pat-tdc.opera.com) ("This computer has gone to sleep")
  788. # [18:25] * Quits: remysharp (n=remyshar@80.229.253.218) ("Gotta shoot - "peeyaow"")
  789. # [18:27] * Quits: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no) (Read error: 104 (Connection reset by peer))
  790. # [18:27] * Quits: Phae (n=phaeness@gateb.thls.bbc.co.uk)
  791. # [18:33] * Joins: sicking_ (n=chatzill@32.155.97.146)
  792. # [18:35] <ROBOd> i am another user of the spec who is missing http://www.whatwg.org/specs/web-apps/current-work/multipage/
  793. # [18:35] <ROBOd> could someone fix that?
  794. # [18:35] <annevk2> come back tomorrow
  795. # [18:35] <Philip`> I would fix it if my computer that generated the multipage spec wasn't suffering from a lack of internets
  796. # [18:40] * Quits: sicking (n=chatzill@c-69-181-197-163.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
  797. # [18:42] * Quits: sbublava (n=stephan@77.119.68.240)
  798. # [18:45] * Joins: maikmerten (n=maikmert@U027f.u.pppool.de)
  799. # [18:47] * Quits: heycam (n=cam@63.245.220.224) (Read error: 145 (Connection timed out))
  800. # [18:50] * Parts: adactio (n=adactio@host86-138-101-27.range86-138.btcentralplus.com)
  801. # [18:55] * Quits: daedb (n=opera@h11n1fls34o986.telia.com)
  802. # [18:57] * Joins: heycam (n=cam@nat/mozilla/x-jekxoiydiczkanyv)
  803. # [18:57] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) (Read error: 104 (Connection reset by peer))
  804. # [19:02] * Joins: SamerZ (n=SamerZ@204.225.63.69)
  805. # [19:03] * Quits: myakura (n=myakura@p1012-ipbf3905marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
  806. # [19:05] * Joins: fishd (n=darin@nat/google/x-ntexhqowuvjnnbyo)
  807. # [19:06] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
  808. # [19:09] * Joins: benward (n=benward@nat/yahoo/x-hgpzpmovmrarkido)
  809. # [19:10] * Joins: cying (n=cying@70.90.171.153)
  810. # [19:12] * Joins: borismus (n=borismus@CMU-356930.WV.CC.CMU.EDU)
  811. # [19:12] * Joins: daedb (n=opera@h11n1fls34o986.telia.com)
  812. # [19:17] * Joins: omii (i=programz@verizon-gni.com)
  813. # [19:17] * Quits: sicking_ (n=chatzill@32.155.97.146) (Read error: 145 (Connection timed out))
  814. # [19:18] * Joins: zdobersek1 (n=zan@cpe-92-37-73-95.dynamic.amis.net)
  815. # [19:21] * Joins: sbublava (n=stephan@77.117.227.56.wireless.dyn.drei.com)
  816. # [19:22] * Quits: zdobersek (n=zan@cpe-92-37-66-253.dynamic.amis.net) (Read error: 60 (Operation timed out))
  817. # [19:22] * Quits: krijn (i=8d5d17ee@gateway/web/freenode/x-hbyavvpnezkeluao) ("Page closed")
  818. # [19:22] * Joins: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net)
  819. # [19:23] * Quits: GarethAdams|Home (n=GarethAd@94.193.106.231)
  820. # [19:28] * Joins: mat_t_ (n=mattomas@91.189.88.12)
  821. # [19:29] * Quits: weinig (n=weinig@c-67-180-35-124.hsd1.ca.comcast.net)
  822. # [19:30] * Quits: mat_t_ (n=mattomas@91.189.88.12) (Read error: 60 (Operation timed out))
  823. # [19:31] * Joins: sicking (n=chatzill@63.245.220.240)
  824. # [19:35] * Quits: mat_t (n=mattomas@91.189.88.12) (Read error: 113 (No route to host))
  825. # [19:37] * Joins: erikvvold (n=erikvvol@S01060024012860e9.gv.shawcable.net)
  826. # [19:39] * aroben is now known as aroben|meeting
  827. # [19:39] * Quits: borismus (n=borismus@CMU-356930.WV.CC.CMU.EDU) (Read error: 110 (Connection timed out))
  828. # [19:41] * Quits: dimich_ (n=dimich@c-98-203-252-208.hsd1.wa.comcast.net)
  829. # [19:50] * Joins: GarethAdams|Home (n=GarethAd@90.193.125.207)
  830. # [19:54] * Joins: webben (n=benh@217.12.15.52)
  831. # [20:02] * Joins: MichalW (n=chatzill@geb146.internetdsl.tpnet.pl)
  832. # [20:05] * MichalW is now known as MichailW
  833. # [20:07] * Parts: MichailW (n=chatzill@geb146.internetdsl.tpnet.pl)
  834. # [20:09] * Joins: Rik` (n=Rik`@pha75-2-81-57-187-57.fbx.proxad.net)
  835. # [20:09] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
  836. # [20:10] * Quits: jianli (n=jianli@74.125.59.73)
  837. # [20:12] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
  838. # [20:20] * Joins: weinig (n=weinig@17.246.19.32)
  839. # [20:23] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl) (niven.freenode.net irc.freenode.net)
  840. # [20:23] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (niven.freenode.net irc.freenode.net)
  841. # [20:23] * Quits: danbri (n=danbri@unaffiliated/danbri) (niven.freenode.net irc.freenode.net)
  842. # [20:23] * Quits: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net) (niven.freenode.net irc.freenode.net)
  843. # [20:23] * Quits: jacobolus (n=jacobolu@dhcp-0002058584-70-16.client.student.harvard.edu) (niven.freenode.net irc.freenode.net)
  844. # [20:23] * Quits: gsnedders (n=gsnedder@host217-44-35-222.range217-44.btcentralplus.com) (niven.freenode.net irc.freenode.net)
  845. # [20:23] * Quits: yusukes (n=yusukes@220.109.219.244) (niven.freenode.net irc.freenode.net)
  846. # [20:23] * Quits: riven (n=colin@pdpc/supporter/professional/riven) (niven.freenode.net irc.freenode.net)
  847. # [20:23] * Quits: eighty4 (n=eighty4@eighty4.se) (niven.freenode.net irc.freenode.net)
  848. # [20:23] * Quits: bobs (n=oeskola@kekkonen.cs.hut.fi) (niven.freenode.net irc.freenode.net)
  849. # [20:23] * Quits: pererik (n=pe@unaffiliated/pererik) (niven.freenode.net irc.freenode.net)
  850. # [20:23] * Quits: jmb (n=jmb@login.ecs.soton.ac.uk) (niven.freenode.net irc.freenode.net)
  851. # [20:29] * Joins: dpranke (n=Adium@nat/google/x-dyeefevrpqjskgnt)
  852. # [20:30] * Quits: dpranke (n=Adium@nat/google/x-dyeefevrpqjskgnt) (Client Quit)
  853. # [20:34] * Joins: cying_ (n=cying@70.90.171.153)
  854. # [20:42] * Quits: cying (n=cying@70.90.171.153) (Read error: 145 (Connection timed out))
  855. # [20:42] * cying_ is now known as cying
  856. # [20:42] * Joins: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  857. # [20:42] * Joins: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi)
  858. # [20:42] * Joins: TabAtkins (n=chatzill@70-139-15-246.lightspeed.rsbgtx.sbcglobal.net)
  859. # [20:42] * Joins: jacobolus (n=jacobolu@dhcp-0002058584-70-16.client.student.harvard.edu)
  860. # [20:42] * Joins: gsnedders (n=gsnedder@host217-44-35-222.range217-44.btcentralplus.com)
  861. # [20:42] * Joins: yusukes (n=yusukes@220.109.219.244)
  862. # [20:42] * Joins: riven (n=colin@pdpc/supporter/professional/riven)
  863. # [20:42] * Joins: eighty4 (n=eighty4@eighty4.se)
  864. # [20:42] * Joins: bobs (n=oeskola@kekkonen.cs.hut.fi)
  865. # [20:42] * Joins: pererik (n=pe@unaffiliated/pererik)
  866. # [20:42] * Joins: jmb (n=jmb@login.ecs.soton.ac.uk)
  867. # [20:43] * Joins: zcorpan_ (n=zcorpan@123.218.251.212.customer.cdi.no)
  868. # [20:44] * Quits: sbublava (n=stephan@77.117.227.56.wireless.dyn.drei.com) (Read error: 54 (Connection reset by peer))
  869. # [20:46] * Joins: dpranke (n=Adium@nat/google/x-hpctrymjcfjytahi)
  870. # [20:53] * Quits: weinig (n=weinig@17.246.19.32)
  871. # [20:54] * Joins: weinig (n=weinig@17.246.19.32)
  872. # [20:57] <zcorpan_> hmm, http://jsbeautifier.org/ has <script>...<!--...</script>
  873. # [20:57] <zcorpan_> and doesn't use quirks mode
  874. # [21:01] <zcorpan_> it would break with my idea of handling it, because one </script> gets eaten, causing the script to not compile and the next script to be ignored, too
  875. # [21:02] * Joins: ap (n=ap@69-239-249-254.ded.pacbell.net)
  876. # [21:02] <zcorpan_> it would work with hsivonen's idea though, because the <!-- is not only preceded by whitespace
  877. # [21:06] * Joins: gratz|home (n=gratz@cpc3-brig15-2-0-cust237.3-3.cable.virginmedia.com)
  878. # [21:07] * Quits: cying (n=cying@70.90.171.153) (Remote closed the connection)
  879. # [21:07] * Joins: cying (n=cying@70.90.171.153)
  880. # [21:07] * Quits: gratz|home (n=gratz@cpc3-brig15-2-0-cust237.3-3.cable.virginmedia.com) (Client Quit)
  881. # [21:09] <zcorpan_> oh actually
  882. # [21:09] <zcorpan_> it doesn't fail
  883. # [21:09] <zcorpan_> yay
  884. # [21:10] * aroben|meeting is now known as aroben|lunch
  885. # [21:10] <zcorpan_> because it doesn't have "<script" after the <!--
  886. # [21:14] * zcorpan_ writes down a slightly different idea in http://wiki.whatwg.org/wiki/CDATA_Escapes#Proposal_.232
  887. # [21:15] <Philip`> Proposal 232? Must be a pretty hard problem
  888. # [21:16] <zcorpan_> proposal .232
  889. # [21:16] * Joins: borismus (n=borismus@CMU-356930.WV.CC.CMU.EDU)
  890. # [21:17] <zcorpan_> Philip`: any idea on how to test the different ideas againt content?
  891. # [21:18] <zcorpan_> i guess one thing that's simple to test is whether there are pages with the end tag in an escaped text span for (r)cdata elements other than script
  892. # [21:19] <zcorpan_> whether they need the escapedness or would be better off without it
  893. # [21:19] <Philip`> Get someone to implement them all, run them all against lots of pages, find which pages produce different DOMs with the different methods, and then manually check what seems to be the best behaviour in each case?
  894. # [21:19] <Philip`> (assuming there is a finite list of proposals)
  895. # [21:30] <jgraham> You should really test against reparsing since that is the current behaviour
  896. # [21:34] <jgraham> (so proposals that fail to match reparsing in a significant number of cases are a no-go)
  897. # [21:36] <zcorpan_> so who feels like implementing reparsing and proposal #2 and #3 in html5lib or v.nu?
  898. # [21:36] <zcorpan_> maybe there's a simpler way to find out if they are workable
  899. # [21:37] <Philip`> If someone implements it in html5lib, don't expect me to try running it on half a million pages :-p
  900. # [21:38] <zcorpan_> because html5lib is too slow?
  901. # [21:38] <Philip`> Yes
  902. # [21:38] <zcorpan_> ok
  903. # [21:38] <Philip`> and I don't fancy running it for days
  904. # [21:40] <zcorpan_> don't we have some data about <!-- in (r)cdata elements somewhere already?
  905. # [21:41] <zcorpan_> i mean list of pages
  906. # [21:43] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) ("Leaving...")
  907. # [21:43] * aroben|lunch is now known as aroben
  908. # [21:45] <zcorpan_> http://philip.html5.org/data/pages-with-unclosed-comments.txt
  909. # [21:46] <Philip`> http://philip.html5.org/data/pages-with-unclosed-scripts-and-comment-stuff.txt
  910. # [21:46] <Philip`> Please don't ask me what that regexp does
  911. # [21:47] <zcorpan_> quite a few would break with proposal #2
  912. # [21:47] <zcorpan_> because they use <!-- as normal but have no --> at all
  913. # [21:48] <zcorpan_> but my idea seems to work
  914. # [21:49] <Dashiva> Philip`: It doesn't look that bad
  915. # [21:50] <TabAtkins> I find it odd that sites creating today still use the <!-- hack on their <script>s at all.
  916. # [21:50] <TabAtkins> We're *long* past the point where that was necessary.
  917. # [21:50] * Joins: virtuelv (n=virtuelv@125.175.251.212.customer.cdi.no)
  918. # [21:51] * Joins: dbaron (n=dbaron@nat/mozilla/x-hacmvtetkxcksjoo)
  919. # [21:52] <gsnedders> Philip`: What does that regexp do?
  920. # [21:52] <Philip`> /ignore gsnedders
  921. # [21:52] <Philip`> Ask Dashiva what it does
  922. # [21:52] <gsnedders> Oh, I can see myself.
  923. # [21:52] <Dashiva> It finds <script followed by <!-- followed by </script> before any occurence of -->, and the ensures there's no later --> </script>
  924. # [21:53] <gsnedders> I just asked you because you said not to do so.
  925. # [21:53] <gsnedders> And I'm a bitch.
  926. # [21:54] <zcorpan_> ok so that leaves proposal #3
  927. # [21:54] <zcorpan_> go find a page that breaks with proposal #3
  928. # [21:57] * Joins: Midler (n=midler@95.209.75.219.bredband.tre.se)
  929. # [21:57] <gsnedders> … Simon says, ordering his minions around :P
  930. # [21:57] <Philip`> Dashiva: I don't think that's right
  931. # [21:58] <Philip`> It ensures there *is* a later -->, but no later </script>
  932. # [21:58] * Joins: remysharp (n=remyshar@80.229.253.218)
  933. # [21:59] <Dashiva> That's what I meant, yes
  934. # [21:59] <Philip`> so the comment has to be closed, but the <script> will not be closed because the only </script> was inside the comment
  935. # [22:00] <zcorpan_> that's still not right
  936. # [22:00] <zcorpan_> if there is a later -->, it ensures that there's no later </script>
  937. # [22:01] <zcorpan_> but there can be a later </script> without --> before
  938. # [22:01] <zcorpan_> or no --> at all
  939. # [22:02] * Quits: maikmerten (n=maikmert@U027f.u.pppool.de) (Read error: 113 (No route to host))
  940. # [22:05] <Philip`> It's like <script> <!-- {anything except -->} </script> {anything except </script>} --> {anything except </script>} {end of file}
  941. # [22:05] <Philip`> I think
  942. # [22:06] <Dashiva> The --> can be repeated
  943. # [22:06] <Philip`> Only because --> is anything except </script>
  944. # [22:06] <Dashiva> Maybe should've been ? instead of * at the end for clarity
  945. # [22:07] <Philip`> The * is just implementing the {anything except </script>}
  946. # [22:07] <Philip`> because it's zero-or-more characters that are not '<', or are '<' but not followed by '/script'
  947. # [22:07] <Dashiva> Oh, right
  948. # [22:07] <Dashiva> I misread the nesting
  949. # [22:07] * Quits: borismus (n=borismus@CMU-356930.WV.CC.CMU.EDU) (Read error: 110 (Connection timed out))
  950. # [22:09] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
  951. # [22:13] * Joins: jorlow (n=jorlow@nat/google/x-slajmmjanyslyztr)
  952. # [22:13] <zcorpan_> it works for the mozilla bugs hsivonen referenced
  953. # [22:13] <zcorpan_> and it works for the pages in Philip`'s list
  954. # [22:14] <zcorpan_> and it works for <script><!-- document.write('<script></script>'); document.write('<script></script>'); </script>
  955. # [22:14] <zcorpan_> it does not work for <script><!-- document.write('<sc'+'ript></script>'); </script>
  956. # [22:15] * gsnedders wonders where to eat on Sunday evening
  957. # [22:15] <zcorpan_> doesn't work for <script><!-- document.write('<sc'+'ript></script>'); --></script> either
  958. # [22:16] <zcorpan_> i wonder if people split the start tag but not the end tag in their d.write
  959. # [22:16] <jgraham> gsnedders: Which country will you be in?
  960. # [22:16] <gsnedders> jgraham: Sweden
  961. # [22:17] * Quits: remysharp (n=remyshar@80.229.253.218) ("Gotta shoot - "peeyaow"")
  962. # [22:17] <jgraham> gsnedders: Why are you wondering?
  963. # [22:17] <gsnedders> jgraham: I can't get any of my stuff from the office until Monday, so I don't have a plate or anything useful…
  964. # [22:17] <jgraham> gsnedders: We can provide you with food, probaby
  965. # [22:18] <gsnedders> The second time in a month I've scrounged food off you in two months :)
  966. # [22:18] <gsnedders> s/two months/one month/
  967. # [22:18] <gsnedders> Huh…
  968. # [22:18] <gsnedders> That still makes no sense.
  969. # [22:18] <jgraham> indeed. But since the first attemp made my head explode
  970. # [22:18] <gsnedders> s/in one month/on a Sunday evening/
  971. # [22:18] <jgraham> there's no point in correcting it now
  972. # [22:19] <gsnedders> Sorry. I guess I won't get food if you're headless now.
  973. # [22:19] <jgraham> But yeah, let me know when you want to eat or something.
  974. # [22:19] <jgraham> (I guess you arrive on Sunday then?)
  975. # [22:19] <gsnedders> jgraham: I guess 7ish or later would suit me
  976. # [22:19] <Dashiva> Doesn't not splitting the end tag break?
  977. # [22:19] <gsnedders> jgraham: Yeah, I arrive 16:50 from Skavsta
  978. # [22:20] <jgraham> gsnedders: Sounds fine
  979. # [22:20] <gsnedders> jgraham: Should I just come over at 7ish then? I can call if anything happens which means that won't work.
  980. # [22:21] <zcorpan_> Dashiva: it breaks with my proposal but doesn't break today
  981. # [22:22] * gsnedders goes back to the book that shall not be named
  982. # [22:24] * zcorpan_ writes down another potential thing that would break with his proposal
  983. # [22:24] * Quits: zdobersek1 (n=zan@cpe-92-37-73-95.dynamic.amis.net) ("Leaving.")
  984. # [22:24] * Quits: pmuellr (n=pmuellr@129.33.49.251) (Read error: 131 (Connection reset by peer))
  985. # [22:25] * Joins: pmuellr (n=pmuellr@129.33.49.251)
  986. # [22:27] * Quits: Midler (n=midler@95.209.75.219.bredband.tre.se) (Read error: 110 (Connection timed out))
  987. # [22:29] <zcorpan_> hmm
  988. # [22:30] <zcorpan_> <script><!-- document.write('<scr'+'ipt></script>'); //--></script> might not be too uncommon on the face of it
  989. # [22:30] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
  990. # [22:36] * Quits: mlpug (n=mlpug@a88-115-164-40.elisa-laajakaista.fi) (Remote closed the connection)
  991. # [22:37] * drunknbass_work is now known as drunknbass_work|
  992. # [22:38] <zcorpan_> (?is)<script>\s*<\!--(([^-]|-(?!->)|([^<]|<(?!script[\s\/>]))*<\/script[\s\/>]
  993. # [22:38] <zcorpan_> is that correct?
  994. # [22:38] <jgraham> gsnedders: Yes
  995. # [22:39] * Quits: drunknbass_work| (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net) ("Leaving...")
  996. # [22:39] <zcorpan_> Philip`, Dashiva ^
  997. # [22:40] <zcorpan_> basically i want to find pages that have </script inside escaped text span but without <script before it
  998. # [22:46] * Quits: mitnavn (n=mitnavn@unaffiliated/mitnavn) (Read error: 104 (Connection reset by peer))
  999. # [22:49] * Quits: zalan (n=zalan@catv-89-135-110-21.catv.broadband.hu) (Read error: 110 (Connection timed out))
  1000. # [22:51] * Joins: Midler (n=midler@95.209.66.66.bredband.tre.se)
  1001. # [22:52] * Joins: mitnavn (n=mitnavn@unaffiliated/mitnavn)
  1002. # [22:57] <cying> Hixie: looks like the html5 spec is missing: http://www.whatwg.org/specs/web-apps/current-work/multipage/
  1003. # [22:58] <Philip`> cying: Known problem
  1004. # [22:58] <cying> Philip`: ah thanks
  1005. # [22:58] <Philip`> zcorpan_: It's not correct
  1006. # [22:59] <zcorpan_> snap
  1007. # [22:59] * Joins: cying_ (n=cying@70.90.171.153)
  1008. # [22:59] <Philip`> zcorpan_: e.g. you've effectively got [^-]|[^<]|... and every character is going to match that
  1009. # [23:00] * gsnedders thinks we should follow the OED's example and produce a "Compact Edition" in 4pt type
  1010. # [23:01] <Philip`> Oh, good, my computer's back
  1011. # [23:01] * Philip` regenerates the spec
  1012. # [23:01] <Philip`> cying: Should work now
  1013. # [23:02] <zcorpan_> Philip`: oops
  1014. # [23:02] <zcorpan_> Philip`: how about...
  1015. # [23:02] <zcorpan_> (?is)<script>\s*<\!--(([^-]|-(?!->))|([^<]|<(?!script[\s\/>])))*<\/script[\s\/>]
  1016. # [23:05] <Philip`> That seems to be effectively identical to the previous version
  1017. # [23:06] <zcorpan_> really?
  1018. # [23:06] <Philip`> because (x|y|z) and ((x|y)|z) are equivalent
  1019. # [23:06] <Philip`> which is the only change I see
  1020. # [23:07] <zcorpan_> so how do i write any sequence of characters except --> or <script followed by whitespace, slash or greater-than?
  1021. # [23:08] <Philip`> I think you may want something more like ([^<-]|-(?!->)|<(?!script[\s/>]))
  1022. # [23:08] <zcorpan_> ah
  1023. # [23:08] <zcorpan_> ok
  1024. # [23:09] <Philip`> ([^x]|[^y] is not equivalent to [^xy], and you want the latter)
  1025. # [23:09] <zcorpan_> yeah, makes sense
  1026. # [23:09] <Philip`> Also you probably want to allow attributes in the first <script> tag
  1027. # [23:09] <zcorpan_> oops
  1028. # [23:09] <Philip`> Also you don't need to escape !
  1029. # [23:09] * Quits: SamerZ (n=SamerZ@204.225.63.69)
  1030. # [23:10] <Philip`> Also you don't need the (?s) (it just affects the definitions of ^ and $)
  1031. # [23:10] <Philip`> Also you don't need to escape /
  1032. # [23:10] <Philip`> (...unless you're using it in a language with / as the regexp delimiter)
  1033. # [23:11] * Joins: alina (n=alina@130.171.251.212.customer.cdi.no)
  1034. # [23:11] <Philip`> (...but my grep stuff doesn't use delimited regexps, so it doesn't need to be escaped)
  1035. # [23:11] <Philip`> Otherwise it looks fine :-)
  1036. # [23:12] <Philip`> though I could be mistaken
  1037. # [23:13] * Joins: tantek (n=tantek@70-36-139-108.dsl.dynamic.sonic.net)
  1038. # [23:13] <zcorpan_> (?i)<script[\s/]?[^>]*>\s*<!--([^<-]|-(?!->)|<(?!script[\s/>]))*</script[\s/>]
  1039. # [23:14] <Philip`> The [\s/]? is redundant with the [^>]*
  1040. # [23:15] <zcorpan_> yeah
  1041. # [23:15] <zcorpan_> could you try the regexp on a set of pages? :)
  1042. # [23:15] * Quits: cying (n=cying@70.90.171.153) (Connection timed out)
  1043. # [23:15] * cying_ is now known as cying
  1044. # [23:16] * Quits: alina (n=alina@130.171.251.212.customer.cdi.no) (SendQ exceeded)
  1045. # [23:16] * Joins: alina (n=alina@212.251.171.130)
  1046. # [23:16] * Quits: alina (n=alina@212.251.171.130) (SendQ exceeded)
  1047. # [23:16] * Joins: alina (n=alina@212.251.171.130)
  1048. # [23:16] * Quits: alina (n=alina@212.251.171.130) (SendQ exceeded)
  1049. # [23:16] * Joins: and` (n=and@apo29.girton.cam.ac.uk)
  1050. # [23:17] * Quits: Maurice (i=copyman@5ED548D4.cable.ziggo.nl)
  1051. # [23:17] * Joins: alina (n=alina@130.171.251.212.customer.cdi.no)
  1052. # [23:17] * Quits: alina (n=alina@130.171.251.212.customer.cdi.no) (SendQ exceeded)
  1053. # [23:17] <Philip`> (?i)<script[^>]*>\s*<!--([^<-]|-(?!->)|<(?!script[\s/>]))*</script[\s/>]
  1054. # [23:17] * Joins: alina (n=alina@130.171.251.212.customer.cdi.no)
  1055. # [23:17] * Quits: alina (n=alina@130.171.251.212.customer.cdi.no) (Client Quit)
  1056. # [23:17] <Philip`> Do you just want a list of pages, or also the matching substrings?
  1057. # [23:18] <zcorpan_> matching substrings would be nice
  1058. # [23:19] <zcorpan_> but not essential
  1059. # [23:21] <Philip`> zcorpan_: Something like http://philip.html5.org/data/script-close-in-escape-without-script-open.txt ?
  1060. # [23:21] <Philip`> (That's not the whole output, just the first small fraction)
  1061. # [23:22] <Philip`> The formatting is pretty rubbish, but I don't know if that's okay
  1062. # [23:22] * Parts: pmuellr (n=pmuellr@129.33.49.251)
  1063. # [23:22] * Philip` can change it fairly easily
  1064. # [23:23] <zcorpan_> it's ok
  1065. # [23:24] * Quits: miketaylr (n=miketayl@38.117.156.163)
  1066. # [23:25] * Joins: scherkus_ (n=scherkus@74.125.59.65)
  1067. # [23:26] * Quits: weinig (n=weinig@17.246.19.32)
  1068. # [23:26] <zcorpan_> hmm actually, the \s* doesn't have to be whitespace
  1069. # [23:27] * Joins: weinig (n=weinig@17.246.19.32)
  1070. # [23:27] * Quits: weinig (n=weinig@17.246.19.32) (Client Quit)
  1071. # [23:29] <zcorpan_> (?i)<script[^>]*>([^<]|<(?!/script[\s/>])*<!--([^<-]|-(?!->)|<(?!script[\s/>]))*</script[\s/>]
  1072. # [23:29] <zcorpan_> could you rerun it with that instead?
  1073. # [23:29] <Philip`> Hmm, odd, it seems to have finished already
  1074. # [23:29] <zcorpan_> ah
  1075. # [23:29] <Philip`> which is surprisingly quick
  1076. # [23:31] <Philip`> zcorpan_: http://philip.html5.org/data/script-close-in-escape-without-script-open.txt is the old one
  1077. # [23:31] <Philip`> Running again with the new one...
  1078. # [23:31] <Philip`> Oh, syntax error
  1079. # [23:31] * Quits: scherkus (n=scherkus@74.125.59.73) (Connection timed out)
  1080. # [23:31] <Philip`> I think you missed a )
  1081. # [23:32] * Joins: weinig (n=weinig@17.246.19.32)
  1082. # [23:32] <zcorpan_> oops, yeah
  1083. # [23:32] <zcorpan_> (?i)<script[^>]*>([^<]|<(?!/script[\s/>]))*<!--([^<-]|-(?!->)|<(?!script[\s/>]))*</script[\s/>]
  1084. # [23:34] <Philip`> zcorpan_: Remind me to check this in five minutes
  1085. # [23:34] <zcorpan_> sure
  1086. # [23:35] <zcorpan_> the current output shows lots of examples that breaks with proposal #2
  1087. # [23:37] <zcorpan_> did the google analytics boilerplate lack the --> at some point?
  1088. # [23:39] <zcorpan_> www.grandparents.com/gp/content/expert-advice/family-matters/article/thatevildaughterinlaw.html has unescaped end tag in d.write :(
  1089. # [23:39] <zcorpan_> document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"></SCRIPT>
  1090. # [23:40] * Quits: aroben (n=aroben@unaffiliated/aroben) (Read error: 54 (Connection reset by peer))
  1091. # [23:43] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  1092. # [23:46] <zcorpan_> Philip`: reminder
  1093. # [23:47] <Philip`> http://philip.html5.org/data/script-close-in-escape-without-script-open-2.txt
  1094. # [23:48] <zcorpan_> thanks!
  1095. # [23:50] <zcorpan_> <script type="text/javascript">--><!--
  1096. # [23:50] <zcorpan_> amazon_ad_tag = "go2urlcomtheu-20"; ... amazon_ad_include = "marketing";//-->
  1097. # [23:50] <zcorpan_> <!-- </script>
  1098. # [23:50] <zcorpan_> wtf?
  1099. # [23:51] <zcorpan_> ok, that breaks with my proposal, too
  1100. # [23:51] <zcorpan_> maybe it needs to be combined with the variant of proposal #2
  1101. # [23:52] <zcorpan_> so that only <script>\s*<!-- starts escaped text span
  1102. # [23:52] * Philip` supposes some amount of breakage may be inevitable
  1103. # [23:52] <zcorpan_> yeah
  1104. # [23:53] * Quits: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  1105. # [23:53] * Joins: othermaciej (n=mjs@c-69-181-42-237.hsd1.ca.comcast.net)
  1106. # [23:54] <zcorpan_> oh wait, it doesn't break with my proposal
  1107. # [23:56] * Joins: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net)
  1108. # [23:56] * Quits: drunknbass_work (n=aaron@pool-71-107-253-243.lsanca.dsl-w.verizon.net) (Client Quit)
  1109. # [23:57] <zcorpan_> wow having <!--</script> is actually pretty common in this set
  1110. # [23:57] <zcorpan_> (or actually //--><!--</script>)
  1111. # [23:59] * Quits: weinig (n=weinig@17.246.19.32)
  1112. # [23:59] <zcorpan_> www.celebrity-link.com/c106/showcelebrity_categoryid-10687.html breaks
  1113. # Session Close: Thu Oct 01 00:00:00 2009

The end :)