/irc-logs / freenode / #whatwg / 2007-04-21 / end

Options:

  1. # Session Start: Sat Apr 21 00:00:00 2007
  2. # Session Ident: #whatwg
  3. # [00:06] <ajnewbold> it worked
  4. # [00:21] * Quits: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  5. # [00:22] * Quits: bzed (n=bzed@dslb-084-059-103-018.pools.arcor-ip.net) (Remote closed the connection)
  6. # [00:24] * jgraham_ is now known as jgraham
  7. # [00:25] * Joins: bzed (n=bzed@dslb-084-059-103-018.pools.arcor-ip.net)
  8. # [00:29] * Quits: h3h (n=h3h@66-162-32-234.static.twtelecom.net) ("|")
  9. # [00:32] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) ("Leaving")
  10. # [00:36] * Joins: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  11. # [00:47] * Quits: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  12. # [00:48] * Quits: jgraham (n=jgraham@81-178-225-78.dsl.pipex.com) (Read error: 110 (Connection timed out))
  13. # [00:54] * Parts: billmason (n=billmaso@ip156.unival.com)
  14. # [01:10] * Joins: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  15. # [01:22] * Quits: ericcarlson (n=ericcarl@adsl-67-115-144-162.dsl.snfc21.pacbell.net)
  16. # [01:52] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  17. # [02:11] * Quits: hober (n=ted@unaffiliated/hober) ("ERC Version 5.2 (IRC client for Emacs)")
  18. # [02:21] * moeffju[Away] is now known as moeffju
  19. # [02:32] * Joins: othermaciej (i=mjs@nat/apple/x-b94aa5caf5b108e7)
  20. # [02:35] * Joins: tantek_ (n=tantek@dsl092-187-033.sfo1.dsl.speakeasy.net)
  21. # [02:36] * Quits: tantek (n=tantek@dsl092-187-033.sfo1.dsl.speakeasy.net) (Read error: 104 (Connection reset by peer))
  22. # [02:38] * moeffju is now known as moeffju[ZzZz]
  23. # [02:39] * Quits: othermaciej (i=mjs@nat/apple/x-b94aa5caf5b108e7) (Read error: 104 (Connection reset by peer))
  24. # [02:40] * Joins: othermaciej_ (i=mjs@nat/apple/x-c5a76d8292409fa7)
  25. # [02:41] * othermaciej_ is now known as othermaciej
  26. # [02:46] * Quits: kingryan (n=kingryan@dsl092-187-033.sfo1.dsl.speakeasy.net)
  27. # [03:08] * Quits: ajnewbold (n=fax_mach@unaffiliated/chuangtzu)
  28. # [03:40] * Quits: othermaciej (i=mjs@nat/apple/x-c5a76d8292409fa7)
  29. # [03:41] * Quits: tantek_ (n=tantek@dsl092-187-033.sfo1.dsl.speakeasy.net)
  30. # [04:02] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  31. # [04:07] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  32. # [04:08] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  33. # [04:17] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  34. # [04:22] * Joins: aroben (i=adamrobe@nat/apple/x-4988f3106c7c6bde)
  35. # [04:27] * Quits: bzed (n=bzed@dslb-084-059-103-018.pools.arcor-ip.net) ("Leaving")
  36. # [04:31] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  37. # [05:06] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  38. # [05:12] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
  39. # [05:38] * Parts: zcorpan (n=zcorpan@84-216-43-44.sprayadsl.telenor.se)
  40. # [06:17] * Joins: SpookyET (i=user@75.138.70.34)
  41. # [07:47] * Quits: SpookyET (i=user@75.138.70.34) (Read error: 110 (Connection timed out))
  42. # [08:02] * Quits: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  43. # [08:08] * Joins: KevinMarks (n=Snak@h-68-164-93-9.snvacaid.dynamic.covad.net)
  44. # [08:16] * Joins: met_ (n=Hassman@r5bx220.net.upc.cz)
  45. # [09:34] * Joins: peepo (n=Jay@host86-129-174-162.range86-129.btcentralplus.com)
  46. # [10:10] <Hixie> maybe the solution to <switch> is simply to have a "hidden" attribute
  47. # [10:10] <Hixie> and some API to toggle one element off and another one on
  48. # [10:11] <Hixie> or just require people to do loginform.hidden = true; game.hidden = false;
  49. # [10:11] * Quits: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
  50. # [10:11] <Hixie> certainly would be simple
  51. # [10:12] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  52. # [10:13] <krijnh> Hixie: A global hidden attribute?
  53. # [10:13] <Hixie> yeah
  54. # [10:13] <hsivonen> Hixie: would it in terms of CSS toggle display: none; instead of visibility: hidden;?
  55. # [10:13] <Hixie> i'm just trying to work out the semantic part, i haven't really thought about the rendering
  56. # [10:14] <Hixie> i guess from a rendering perspective you'd have [hidden] { display: none; }
  57. # [10:14] <krijnh> <foo hidden="false">
  58. # [10:14] <hsivonen> I wonder if the name confuses authors who know about CSS "hidden"
  59. # [10:15] <krijnh> Prototype JS uses hidden() as well
  60. # [10:15] <krijnh> foo.hidden() => boolean
  61. # [10:15] <aroben> Hixie: might be easier to understand .visible instead of .hidden, since it's positive
  62. # [10:16] <Hixie> we need something that defaults to visible
  63. # [10:16] <krijnh> With .visible I'd think about visibility: hidden|visible
  64. # [10:16] <Hixie> so the attribute, if it's an attribute, has to hide it
  65. # [10:16] <hsivonen> invisible
  66. # [10:16] <krijnh> I still don't get why that should be in HTML..
  67. # [10:16] <Hixie> invisible could work, though i'd like a name that more obviously means the content is irrelevant... maybe irrelevant=""
  68. # [10:17] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
  69. # [10:17] <Hixie> krijnh: imagine you're doing a web based game
  70. # [10:17] <Hixie> krijnh: and you have a login page, then a game page, then a game over page with the high score
  71. # [10:17] <Hixie> krijnh: and these are all just <section>s in a single HTML page
  72. # [10:17] <Hixie> krijnh: the game page is semantically irrelevant until the login page has been used to log in
  73. # [10:18] * Quits: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net) (Client Quit)
  74. # [10:18] <Hixie> krijnh: and then the login page is semantically irrelevant once the game has started
  75. # [10:18] <krijnh> Yeah, I get that part
  76. # [10:18] <Hixie> krijnh: even without CSS, you'd still want those parts of the page to not be shown
  77. # [10:18] <Hixie> krijnh: that is, their presence is not stylistic
  78. # [10:18] <Hixie> krijnh: it's semantic
  79. # [10:19] <krijnh> For backwards compatibility it should be three separate pages anyway,
  80. # [10:19] <Hixie> well for now, sure, but eventually once html5 has a large install base, that won't be a problem
  81. # [10:20] <Hixie> and in the meantime you can use it if you put something in your stylesheet or script
  82. # [10:20] <krijnh> So you could have a website in one big file, and swap hidden sections while you navigate through it
  83. # [10:21] <krijnh> Or is it only for a page where you have to 'start' at one section
  84. # [10:22] * Joins: ROBOd (n=robod@86.34.246.154)
  85. # [10:22] * Joins: othermaciej (n=mjs@dsl081-048-145.sfo1.dsl.speakeasy.net)
  86. # [10:22] <Hixie> krijnh: it's for things where it would make no sense to show everything at once
  87. # [10:23] <Hixie> krijnh: where the other thing would actually be completely irrelevant, unusable, and nonsensical if shown
  88. # [10:23] <Hixie> krijnh: if it would make sense to have the two things opened in two tabs or two windows at once, then this feature wouldn't apply
  89. # [10:24] <Hixie> e.g. it wouldn't be appropriate to use this for tabs, or to split a big page into multiple panels, etc
  90. # [10:24] <krijnh> So what happens when you make multiple sections visible at once?
  91. # [10:25] <krijnh> If it's really a switch thing, only one can be 'visible', right?
  92. # [10:25] <Hixie> how do you mean?
  93. # [10:25] <krijnh> Well, say you have 3 sections, for that game
  94. # [10:25] <krijnh> Only one is relevant
  95. # [10:26] <krijnh> Now you switch to a different section
  96. # [10:26] <krijnh> foo1.hidden = true; foo2.hidden = false
  97. # [10:26] <krijnh> Or something
  98. # [10:26] <krijnh> What if you don't hide foo1
  99. # [10:26] <krijnh> Then it's no switch
  100. # [10:27] <peepo> Is there an accessibility bod contributing to this thread?
  101. # [10:27] <krijnh> So those two statements should be just one, relevantRightNow = foo2
  102. # [10:27] <Hixie> krijnh: well, you could imagine cases where something might become relevant but otherwise might not be, independent of other things, e.g. a notification "window"
  103. # [10:27] <krijnh> Hixie: If you could make all sections visible at once, I don't get why they couldn't be separate pages
  104. # [10:28] <peepo> http://ua-games.gr/game-over
  105. # [10:28] <peepo> We have just released "Game Over!", the world's first universally
  106. # [10:28] <peepo> inaccessible game!
  107. # [10:28] <peepo> Game Over! aims to provide game developers with a first-hand
  108. # [10:29] <peepo> (frustrating) experience of how it feels interacting with a game that
  109. # [10:29] <peepo> is not accessible due to the fact that important accessibility design
  110. # [10:29] <peepo> rules were not considered or applied.
  111. # [10:29] <Hixie> krijnh: imagine your page is a status dashboard for some network service, and there are three servers, and each one can sent a status message at any time
  112. # [10:29] <peepo> have to run..later
  113. # [10:29] * Quits: peepo (n=Jay@host86-129-174-162.range86-129.btcentralplus.com) ("later")
  114. # [10:29] <Hixie> krijnh: the status window for a server is irrelevant/nonsensical/unusable unless the server is sending a message
  115. # [10:30] <Hixie> krijnh: but all three servers might send a message at once, in which case all three windows are relevant/usable
  116. # [10:30] <Hixie> krijnh: but the messages aren't "pages" as far as the user is concerned
  117. # [10:30] <Hixie> (though i guess they might well be "pages" in the REST sense)
  118. # [10:31] <krijnh> Hmm
  119. # [10:41] * othermaciej is now known as om_sleep
  120. # [10:42] <krijnh> Hixie: Sorry, I was thinking about a <switch><case>..</case><case>..</case></switch> kinda thing :)
  121. # [10:42] <Hixie> yeah that was my original thought too
  122. # [10:42] <Hixie> i think an attribute is more flexible
  123. # [10:43] <Hixie> but the problem is people will use it for tabs, and for multi-page pages that really should just be a big page with some styles to show/hide sections
  124. # [10:43] * Joins: virtuelv_ (n=arve@ti132110a341-1121.bb.online.no)
  125. # [10:43] <Hixie> not sure how to design the feature so it's not misused
  126. # [10:43] <krijnh> I think I would..
  127. # [10:44] <krijnh> Tabs you don't want to see aren't relevant, right? :)
  128. # [10:44] * Joins: bzed (n=bzed@dslb-084-059-127-023.pools.arcor-ip.net)
  129. # [10:50] * Quits: aroben (i=adamrobe@nat/apple/x-4988f3106c7c6bde)
  130. # [10:54] <krijnh> Hixie: Would children of irrelevant elements show up in the DOM?
  131. # [10:55] <Hixie> tabs are just a way of re-rendering a group of <fieldset>s so that only one of them is rendered -- the other tabs are just as relevant, they're just not shown
  132. # [10:55] <Hixie> yes, the DOM would be unaffected
  133. # [11:33] * Joins: hendry (n=hendry@91.84.53.136)
  134. # [12:06] * Hixie reads the xhtml2 logs and flags some fun lines
  135. # [12:09] <krijnh> From yesterday?
  136. # [12:09] <Hixie> the latest logs, whatever that is
  137. # [12:15] * Joins: zcorpan (n=zcorpan@84-216-40-107.sprayadsl.telenor.se)
  138. # [12:24] * Quits: met_ (n=Hassman@r5bx220.net.upc.cz) (Read error: 110 (Connection timed out))
  139. # [12:47] <krijnh> zcorpan: I included a current timestamp on the logs
  140. # [12:48] <zcorpan> krijnh: great
  141. # [13:03] <zcorpan> i have serious trouble telling relatives and friends about what i am to work with at opera :(
  142. # [13:04] <zcorpan> they don't know what test cases are, they don't know what html5 is, some don't even know what a browser is
  143. # [13:04] <zcorpan> if i go "i'll write test cases for html5" they usually go @_@
  144. # [13:09] <krijnh> What's wrong with people going @_@ ? :)
  145. # [13:09] <zcorpan> they won't stop bugging me until they understand
  146. # [13:10] <krijnh> I'm sure you're able to explain it :)
  147. # [13:10] * moeffju[ZzZz] is now known as moeffju
  148. # [13:10] <zcorpan> yeah, but it takes effort... it's not like "i work at the post office"
  149. # [13:14] <zcorpan> it goes like "you know when you browse the web, you see web pages?", "oh yep", "the browser receives html code so that it can render the page", "oh yep", "for that to work the browser vendor has to implement html", "what's implement?", "programming the browser in a way so that it can handle the code", "oh yep", "so *i* will create test cases for html so that the programmers get things right", "right", "comprendo?", "no"
  150. # [13:14] * Joins: webben (n=benh@82.153.134.109)
  151. # [13:15] <krijnh> "Okay, in that case, I work at the post office"
  152. # [13:15] <zcorpan> tempting
  153. # [13:16] <krijnh> "Ah, so you're a web designer?"
  154. # [13:16] <krijnh> That's what I get most of the time
  155. # [13:16] <zcorpan> yeah i got that too
  156. # [13:16] <zcorpan> although i am a web designer, it's not what i'll do at opera
  157. # [13:16] <krijnh> "No, I try to make sites for blind people, although I don't know anybody who's blind"
  158. # [13:17] <krijnh> Btw
  159. # [13:17] <krijnh> "The a element must not be empty." <-- does that mean <a name="foo"></a> is non conforming?
  160. # [13:17] <zcorpan> or well, i don't design, just usnig the term
  161. # [13:17] <zcorpan> krijnh: correct
  162. # [13:17] <krijnh> Hmm
  163. # [13:17] <zcorpan> <a name> isn't either
  164. # [13:17] <zcorpan> in the first place
  165. # [13:18] <krijnh> But it's used a lot
  166. # [13:18] <zcorpan> so?
  167. # [13:18] <zcorpan> this has nothing to do with ua conformance
  168. # [13:19] <webben> um... why has <a name="foo"></a> been made non-conforming?\
  169. # [13:19] <webben> that's a perfectly good way of making anchors that work cross-browser
  170. # [13:20] <zcorpan> id="" has worked too for the past 10 years afaict
  171. # [13:20] <zcorpan> only not in nn4
  172. # [13:20] <krijnh> It didn't in Opera a while ago
  173. # [13:20] <zcorpan> what was that, opera4?
  174. # [13:20] <webben> zcorpan: also, not in JAWS earlier than 4.51
  175. # [13:20] <krijnh> zcorpan: No, 7
  176. # [13:21] <zcorpan> krijnh: you're kidding, right?
  177. # [13:21] <krijnh> No, wait
  178. # [13:21] <krijnh> http://krijnhoetmer.nl/stuff/html/jump-inside-div/ didn't work in Opera once, and I'm not using Opera since version 4
  179. # [13:22] <krijnh> But that probably something different :)
  180. # [13:22] <krijnh> *certainly
  181. # [13:22] <zcorpan> webben: right... you can still use html4 if you need to support legacy uas :)
  182. # [13:24] <zcorpan> not that i'm opposed to <a name> though
  183. # [13:24] <zcorpan> if you think it should be allowed then bug the list :)
  184. # [13:24] <krijnh> I don't think it should
  185. # [13:24] <webben> i'm just wondering why it was suddenly disallowed
  186. # [13:24] <krijnh> It's probably written somewhere
  187. # [13:25] <webben> it just declares perfectly good existing content non-conformant AFAICT
  188. # [13:25] <krijnh> That some documents use <a name=foo></a>
  189. # [13:25] <zcorpan> webben: it's disallowed in xhtml1.1 and deprecated in xhtml1.0, probably part of the reason
  190. # [13:25] <krijnh> And what to do with those
  191. # [13:25] <krijnh> webben: So did removing the table summary attribute, for instance
  192. # [13:29] <zcorpan> wow, table summary probably shouldn't have been removed
  193. # [13:30] <krijnh> zcorpan: http://krijnhoetmer.nl/irc-logs/whatwg/20070416#l-118
  194. # [13:31] <hsivonen> zcorpan: is there AT that makes useful use of the table summary? are sites using it?
  195. # [13:31] <krijnh> Are sites using it?
  196. # [13:31] <krijnh> Yes
  197. # [13:31] <zcorpan> hsivonen: at least jaws uses it
  198. # [13:32] <krijnh> What is AT?
  199. # [13:32] <zcorpan> don't have data about how common it is in the wild but i have seen it being used and i've used it myself
  200. # [13:32] <krijnh> Assistive Technology ?
  201. # [13:32] <zcorpan> krijnh: yes
  202. # [13:32] <krijnh> K
  203. # [13:32] <hsivonen> I wonder if Hixie had a good reason for removing it or whether it is something that hasn't been added yet
  204. # [13:32] <krijnh> Could be AnyThing :]
  205. # [13:33] <krijnh> I'm also using it
  206. # [13:34] <zcorpan> getting information from a table in non-visual media is not a simple task, so getting a summary is useful so you can skip the table but still get the essentials
  207. # [13:34] * zcorpan used a summary for http://simon.html5.org/articles/mobile-results
  208. # [13:35] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  209. # [13:36] <zcorpan> though, if summary is included in the spec, it should have guidelines about what it's for... "this table has x columns and y rows" is not a useful summary because that information is implied
  210. # [13:37] <krijnh> Shh
  211. # [13:37] <krijnh> ;)
  212. # [13:37] <zcorpan> "this is a layout table" also isn't useful
  213. # [13:37] <zcorpan> :)
  214. # [13:38] <krijnh> I have 5 customers! I cannot and will not break pages for them by removing the auto generated summary ;]
  215. # [13:38] <krijnh> So, I need versioning.
  216. # [13:38] <zcorpan> lol
  217. # [13:39] <krijnh> Hmm, even WCAG (1.0!) says a summary of the complexity of the table can be handy..
  218. # [13:39] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  219. # [13:40] <zcorpan> krijnh: yeah, also see html4 spec
  220. # [13:40] <krijnh> Yep
  221. # [13:40] <krijnh> Summary of purpose and structure
  222. # [13:40] <krijnh> Indeed x cols and y rows is implied
  223. # [13:40] <krijnh> But that wouldn't count as a complex table
  224. # [13:41] <krijnh> Hmm, is it implied btw?
  225. # [13:41] <krijnh> hsivonen: your table integrity checker, can that tell the number of cols and rows in a table, without walking through the entire table?
  226. # [13:41] <zcorpan> if you have a more complex table, then that's even more reason to give a useful summary so that blind people don't have to walk through the entire table to get an idea about it
  227. # [13:42] <zcorpan> krijnh: jaws can state x rows and y columns for tables
  228. # [13:42] <krijnh> Grmbl
  229. # [13:43] <krijnh> zcorpan: I think the summary for your mobile test results is handy for visual UAs as well btw
  230. # [13:43] <zcorpan> krijnh: fair enough, i'll move it out of the table then :)
  231. # [13:43] <krijnh> And keep it in the summary attribute?
  232. # [13:44] <zcorpan> <p>summary<table> (no summary="")
  233. # [13:44] <krijnh> Okay, so now we know why it's dropped ;p
  234. # [13:44] <krijnh> <p>summary<details><table> ;)
  235. # [13:45] <krijnh> <details><legend>summary</legend><table>.. even
  236. # [13:45] <zcorpan> that's not what details is for
  237. # [13:45] <krijnh> I know :)
  238. # [13:46] <zcorpan> summary="" is information that would be redudant for visual media
  239. # [13:47] <zcorpan> hm. i can't connect to any of my servers via ftp anymore. wonder why
  240. # [13:47] <krijnh> I think that a summary is only redundant if it's a very simple table
  241. # [13:47] <krijnh> If it's complex, a summary could be useful for everybody
  242. # [13:48] <zcorpan> ok
  243. # [13:48] <krijnh> I think
  244. # [13:48] <krijnh> Stuff describing the table could be in a caption
  245. # [13:49] <zcorpan> still, a summary for "simple tables" could be useful for blind people (because even a simple table is non-trivial to walk through with a screen reader)
  246. # [13:52] * Quits: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com) ("Don't touch /dev/null…")
  247. # [14:05] * Joins: ajnewbold (n=fax_mach@unaffiliated/chuangtzu)
  248. # [14:14] * Joins: SpookyET (i=user@75.138.70.34)
  249. # [14:15] * Joins: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
  250. # [14:21] * Joins: webben_ (n=benh@82.153.134.109)
  251. # [14:23] <webben_> hsivonen and zcorpan: Window-Eyes also supports summary and has done for some time: http://www.w3.org/WAI/UA/implementation/eval_win_wineyes411.html
  252. # [14:27] <webben_> It's also worth checking whether tools to distinguish table layouts from data tables use summary as a hint.
  253. # [14:27] <webben_> My guess is they would, but it rather depends on the prevalence of summary abuse.
  254. # [14:28] <zcorpan> webben_: yeah, they do, question is how
  255. # [14:28] <zcorpan> and do we need to spec it
  256. # [14:28] <webben_> zcorpan: I thought HTML5 doesn't spec UA behaviour.
  257. # [14:28] <webben_> we could suggest some behaviours for it
  258. # [14:29] <webben_> I think WCAG probably has a testcase for it
  259. # [14:29] <webben_> one could use that as a base.
  260. # [14:29] <zcorpan> i didn't suggest we spec behaviour
  261. # [14:29] * Quits: webben (n=benh@82.153.134.109) (Connection timed out)
  262. # [14:29] <zcorpan> only an algorithm to determinate whether a table is a layout table or not
  263. # [14:30] <webben_> Ah ... interesting.
  264. # [14:30] <webben_> best ask Aaron Leventhal, as he's looking into integrating such algorithms into Mozilla.
  265. # [14:31] <zcorpan> not sure if it's needed, but it would aid competition in the screen reader space i'd presume, given the web uses layout tables and a screen reader that interprets them all as data tables isn't very useful
  266. # [14:31] <webben_> zcorpan: True.
  267. # [14:32] <zcorpan> also, conformance checkers could use that algorithm to flag layout tables!
  268. # [14:33] <zcorpan> not sure if that's a good thing
  269. # [14:33] <zcorpan> would probably only lead to authors working around the errors
  270. # [14:33] <zcorpan> making the algorithm useless
  271. # [14:33] <webben_> Why would an author bother to do that?
  272. # [14:34] <zcorpan> are you serious? i see *lots* of authors going through hoops to make their pages validate, even if it involves the most redicilous workarounds
  273. # [14:34] <zcorpan> and makes the pages worse
  274. # [14:34] <SpookyET> Hello.
  275. # [14:35] <webben_> hmm ... that would seem to militate against any sort of conformance checking equally
  276. # [14:35] <webben_> not specific to distinguishing layout/data tables.
  277. # [14:35] <webben_> also, /if/ we actually can distinguish layout from non-layout tables, would the use of tables for layout matter half as much
  278. # [14:35] <SpookyET> I've been playing with HTML5. It seems that Opera have implemented quite a bit of it.
  279. # [14:35] <zcorpan> webben_: only where working around the error is simpler than doing the right thing
  280. # [14:36] <zcorpan> SpookyET: yup
  281. # [14:36] <webben_> zcorpan: I suspect the key there is to give people an easier way of laying out pages than misusing tables.
  282. # [14:36] * Quits: hendry (n=hendry@91.84.53.136) (Remote closed the connection)
  283. # [14:37] <webben_> maybe (worst-case scenario) giving them an attribute like <table type="layout">
  284. # [14:37] <ajnewbold> the only reason tables were ever used for layout was poor css support in the early browsers, wasn't it?
  285. # [14:37] <SpookyET> I'm still do not understand what is going on at W3C. Do they care more about their other members than the actual browser makers?
  286. # [14:37] <webben_> ajnewbold: Probably tables were being misused before CSS existed.
  287. # [14:38] <ajnewbold> webben_: heh, well, before CSS even existed, the layout options were severely limited :P
  288. # [14:38] <webben_> SpookyET: Why shouldn't they?
  289. # [14:38] <zcorpan> SpookyET: who are "they"?
  290. # [14:38] * Quits: ROBOd (n=robod@86.34.246.154) (Remote closed the connection)
  291. # [14:39] <webben_> something I've been wondering is whether you could create a sort of layout markup language to which elements in an HTML file could be mapped
  292. # [14:40] <webben_> perhaps with simple selectors like footer, .photo, #main
  293. # [14:40] <webben_> so that you could get all the ease of laying out with markup
  294. # [14:40] <webben_> but still separate content from presentation
  295. # [14:41] <webben_> in theory XSLT could be used to map between them, but in practice XSLT seems prohibitively hard to use
  296. # [14:41] <webben_> possibly XPath might be some use, but I think element, identifier and class selectors would be easiest
  297. # [14:43] <webben_> and with JS one could actually implement it in existing browsers, much as with WF2.
  298. # [14:45] <webben_> e.g. <view><box halign="center"><row><col select="#main" width="30%"><arrange type="grid" select=".photo"></col><col select="#sidebar"></row><row select="footer"></row></box></view>
  299. # [14:46] * Joins: ROBOd (n=robod@86.34.246.154)
  300. # [14:46] <webben_> obviously web designers might well prefer CSS, but I wonder if that would help ordinary authors.
  301. # [14:48] <webben_> <link rel="stylelayout" type="text/slml" media="screen"> could import it
  302. # [14:48] <webben_> that way mobiles could be given different layouts for instance
  303. # [14:48] <webben_> and old browsers wouldn't have to deal with it at all
  304. # [14:48] <Lachy> webben_, I think you're looking for XBL
  305. # [14:49] <webben_> Lachy: I thought XBL used CSS selection?
  306. # [14:49] * Joins: met_ (n=Hassman@r5bx220.net.upc.cz)
  307. # [14:49] <Lachy> it does
  308. # [14:49] <Lachy> so?
  309. # [14:49] <webben_> Lachy: So many authors seem to prefer markup.
  310. # [14:50] <webben_> It may just be that nobody has come up with sufficiently sophisticated/intelligent CSS properties
  311. # [14:50] <Lachy> I don't understand, let me finish reading all your messages first
  312. # [14:50] <webben_> e.g. .photo {auto-arrange: grid}
  313. # [14:51] <webben_> even that though, you still have a list of rules not a markup layout
  314. # [14:54] <Lachy> ok, finished. it seems that either css3-layout or XBL <template> could solve the problems you describe
  315. # [14:55] <webben_> ah XBL <template> sounds interesting
  316. # [14:56] <Lachy> you can include whatever markup you like inside it, and style it however you want, and include content from the document in various places
  317. # [14:56] <webben_> that's this thing is it? http://www.w3.org/TR/sXBL/
  318. # [14:56] <Lachy> no, that's sXBL
  319. # [14:56] <Lachy> try /TR/xbl/
  320. # [14:56] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  321. # [14:57] <Lachy> sXBL is like a predecessor to XBL2
  322. # [14:58] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  323. # [14:59] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  324. # [15:00] * Joins: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  325. # [15:00] <webben_> ah okay
  326. # [15:03] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
  327. # [15:06] <webben_> Lachy: Looks very interesting, especially if it would be possible to concretize some of that into something ordinary authors could use, perhaps in conjunction with a JS lib. Do you know of any implementations or pseudo-implementations?
  328. # [15:08] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  329. # [15:11] <hsivonen> krijnh: to tell the number of row and columns in an HTML table, you have to examine the entire table
  330. # [15:12] <hsivonen> krijnh: so no, my table integrity checker cannot tell the number of rows and columns until the entire table has been seen
  331. # [15:12] * Joins: hendry (n=hendry@91.84.53.136)
  332. # [15:21] * Quits: hendry (n=hendry@91.84.53.136) ("brb")
  333. # [15:26] * Joins: hendry (n=hendry@91.84.53.136)
  334. # [15:34] * Parts: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  335. # [15:40] * Joins: hasather (n=hasather@81-235-209-174-no62.tbcn.telia.com)
  336. # [15:43] * moeffju is now known as moeffju[Away]
  337. # [15:47] <SpookyET> <!Doctype html> Since it does not have a version, does it assume that HTML will be backwards compatible forever?
  338. # [15:48] <Dashiva> That's the idea
  339. # [15:50] <SpookyET> It makes sense. You can clean up HTML like XHTML2, but keep the old stuff in the spec in the vintage section. That way, 50 years from now, HTML 3.2 pages can still be displayed assuming that layout engines are well designed and won't be rewritten from scratch.
  340. # [15:50] * Quits: hendry (n=hendry@91.84.53.136) (Read error: 54 (Connection reset by peer))
  341. # [15:50] <SpookyET> Except, IE, of coarse.
  342. # [15:51] <Philip`> It also assumes that even if HTML isn't backwards compatible forever, it's up to that future HTML to add versioning - <!doctype html> doesn't prevent HTML7 from using <!doctype html public "7"> if it turns out that we're wrong now
  343. # [15:51] <Philip`> (Er, maybe that has to be "system" instead?)
  344. # [15:51] <SpookyET> what's with the public and system words?
  345. # [15:52] <zcorpan> Philip`: only if you want to introduce doctype sniffing to xml...
  346. # [15:52] <SpookyET> what's wrong with <!doctype html 7> or the xml style attribute based prolog
  347. # [15:52] <Philip`> Oops, I keep forgetting about XML
  348. # [15:52] <zcorpan> SpookyET: it triggers quirks mode in gecko and webkit
  349. # [15:52] <zcorpan> SpookyET: plus it's not well-formed xml
  350. # [15:53] <zcorpan> (should you care about sniffing in xml)
  351. # [15:53] <Philip`> There's still nothing to stop (X)HTML7 from doing <html version="7"> if it needs to, but people believe we shouldn't encourage that path by doing version="5" now
  352. # [15:53] <Philip`> (I think)
  353. # [15:54] <SpookyET> if you don't have DTDs, the <!doctype syntax> is a relic. <html version=5> makes more sense.
  354. # [15:54] <Philip`> (With public vs system: if I remember correctly, IE treated one as quirks and the other as standards, but I could be wrong about that)
  355. # [15:56] <zcorpan> Philip`: <!doctype html public "7"> and <!doctype html system "7"> both trigger standards mode in ie7
  356. # [15:56] <Philip`> Hmm, maybe I'm wrong
  357. # [15:56] <Philip`> or maybe it was only IE6, but I didn't think they'd changed that at all
  358. # [15:57] <zcorpan> same in ie6
  359. # [15:57] <Philip`> Okay, I'm wrong :-)
  360. # [16:02] <zcorpan> it's funny how the css validator warns about all various things. then students have to pass validation without warnings. so they have to add redudant and bogus rules to their style sheets
  361. # [16:03] <zcorpan> like background:inherit when the parent is transparent
  362. # [16:04] <zcorpan> (it doesn't do anything, but it makes the warnings go away)
  363. # [16:05] <SpookyET> I despise those warnings.
  364. # [16:06] <SpookyET> Sometimes, adding background or foreground colours to fix those warnings breaks the style of your page.
  365. # [16:06] <SpookyET> You can't always fix them. transparent or inherit don't always work
  366. # [16:06] <zcorpan> transparent is the default
  367. # [16:06] <zcorpan> if the parent is transparent, then inherit == transparent
  368. # [16:07] <SpookyET> hmm, Sir Bray's page is invalid :-(
  369. # [16:08] * Joins: hendry (n=hendry@91.84.53.136)
  370. # [16:08] <zcorpan> who?
  371. # [16:08] <zcorpan> tim?
  372. # [16:08] <SpookyET> yep
  373. # [16:09] <zcorpan> so?
  374. # [16:09] <zcorpan> :)
  375. # [16:10] <SpookyET> XHTML 1.1 as text/html with 2 validation errors
  376. # [16:11] <SpookyET> It proves that WHATWG are doing is important. If Sir. Bray can't have his own page coded/served according to the spec, how can the rest of us? :-)
  377. # [16:20] <mpt> SpookyET, when does {background: inherit} not work?
  378. # [16:20] * Parts: ravenn (n=ravenn@203-206-240-219.dyn.iinet.net.au)
  379. # [16:21] <mpt> oh, wait, silly question
  380. # [16:23] <mpt> {background: inherit} has undesirable results when the parent has an image background
  381. # [16:24] <zcorpan> or possibly also a background color
  382. # [16:24] <zcorpan> (if the element is positioned outside its parent or overflows or something)
  383. # [16:24] <mpt> A background color would be fine, the repetition would be a no-op
  384. # [16:25] <mpt> ohhh
  385. # [16:25] <mpt> yik
  386. # [16:42] <SpookyET> mpt: When my menu lists have images in them, and it wants a background-color for the anchor element
  387. # [16:44] <zcorpan> SpookyET: some would add <span>s in between just to get rid of the warning
  388. # [16:50] * Joins: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  389. # [16:59] <SpookyET> zcorpan: No, thank you.
  390. # [16:59] <SpookyET> I write clean code -- http://www.icrhealthcare.com for example
  391. # [17:00] <zcorpan> SpookyET: oh, i didn't suggest you should
  392. # [17:00] <zcorpan> personally i don't find the css validator a useful QA tool at all
  393. # [17:00] <zcorpan> so i don't use it
  394. # [17:01] <zcorpan> i'm just observing that some people *are* going through hoops just to make the warnings go away
  395. # [17:02] <SpookyET> I tried that once or twice. It's not worth it.
  396. # [17:02] <SpookyET> I'm more interested in writing boxed-in css
  397. # [17:02] <hsivonen> zcorpan: I'd like to have a CSS3 Paged Media plus Prince profile for the Oxygen local copy of the CSS validator
  398. # [17:03] <SpookyET> http://www.ksuicehockey.com/css/global-screen.css
  399. # [17:03] * Quits: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
  400. # [17:03] <zcorpan> hsivonen: ok
  401. # [17:04] <hsivonen> zcorpan: but with conservatively locked-down profiles, the tool isn't that useful to me
  402. # [17:05] <hsivonen> so I think it is a useful tool in principle, but it needs to grow as fast as CSS
  403. # [17:05] <zcorpan> indeed
  404. # [17:06] * Joins: gsnedders (n=gsnedder@host86-139-123-225.range86-139.btcentralplus.com)
  405. # [17:06] <SpookyET> Writing CSS that way doesn't always provide extreme redability, but it makes it very easy to embed applications in your site and referencing your css instead of fully restyling them to match your sites style
  406. # [17:07] <zcorpan> i find the error consoles in browsers more useful to find errors in my style sheets
  407. # [17:08] <SpookyET> firebug
  408. # [17:09] <hsivonen> zcorpan: the validating CSS editor in Oxygen is a really cool idea, but the problem is that when you have enough prince-* properties with squiggly red underline, you stop caring
  409. # [17:09] <zcorpan> yup
  410. # [17:12] <SpookyET> Oxygen has more icons in the toolbars than smallpox victim
  411. # [17:13] <zcorpan> does document.onmessage = function(e) {...} work? or should it be window.onmessage?
  412. # [17:14] <SpookyET> winodw i think, but it's better to use addEventListner
  413. # [17:14] <zcorpan> why?
  414. # [17:16] <SpookyET> You can have more than one listner, and it can't be overriden by document.onmessage = null.
  415. # [17:18] <zcorpan> right. so if i will only use one listener and don't care about it being overridden, window.onmessage would be fine
  416. # [17:19] <Philip`> For cross-document messaging? The spec says it's a bubbling event and it's dispatched on the Document object, so I assume that means document.onmessage would work fine, but I don't know if things bubble from document to window...
  417. # [17:20] <zcorpan> Philip`: events bubble from document to window
  418. # [17:22] <SpookyET> one thing that sucks is that they haven't added event.eventListnersList until DOM3
  419. # [17:22] <SpookyET> It was stupid to have add/remove with list in DOM2/1, whenever those 2 were added
  420. # [17:47] * Joins: csarven (n=nevrasc@modemcable081.152-201-24.mc.videotron.ca)
  421. # [17:50] * zcorpan tries to find a good swedish word for "form control"
  422. # [17:53] * Joins: briansuda (n=briansud@bokd075.rhi.hi.is)
  423. # [18:04] * Quits: briansuda (n=briansud@bokd075.rhi.hi.is)
  424. # [18:07] * Quits: bzed (n=bzed@dslb-084-059-127-023.pools.arcor-ip.net) ("Leaving")
  425. # [18:11] * Joins: bzed (n=bzed@dslb-084-059-127-023.pools.arcor-ip.net)
  426. # [18:35] * Joins: ROBOd (n=robod@86.34.246.154)
  427. # [18:36] * Joins: peepo (n=Jay@host86-129-174-162.range86-129.btcentralplus.com)
  428. # [18:44] * Quits: SpookyET (i=user@75.138.70.34) ("Client Exiting")
  429. # [18:48] * Joins: SpookyET (i=user@75.138.70.34)
  430. # [18:49] * Quits: SpookyET (i=user@75.138.70.34) (Remote closed the connection)
  431. # [18:50] <webben_> zcorpan: What's wrong with background:transparent when the containing element has a background image? And isn't it the case that background:inherit would do something if a UA (or extension to a UA) applied a default style to (say) a microformat component?
  432. # [18:50] <webben_> it's not obvious to me that such values are pointless
  433. # [18:57] <zcorpan> webben_: don't disagree, i wasn't advocating
  434. # [18:58] <webben_> i thought you said such rules were redundant?
  435. # [18:59] <webben_> maybe I misunderstood
  436. # [18:59] <zcorpan> redundant at best
  437. # [18:59] <zcorpan> harmful at worst
  438. # [19:00] <webben_> that's what i mean, inherit is only redundant when there isn't a default style
  439. # [19:00] <webben_> but the set of default styles is unknown and expanding.
  440. # [19:00] <zcorpan> indeed
  441. # [19:00] * Joins: SpookyET (i=user@75.138.70.34)
  442. # [19:11] * Quits: SpookyET (i=user@75.138.70.34) ("Client Exiting")
  443. # [19:22] * Quits: peepo (n=Jay@host86-129-174-162.range86-129.btcentralplus.com)
  444. # [19:35] * weinig|bbl is now known as weinig
  445. # [19:42] * Quits: tantek (n=tantek@adsl-63-195-114-133.dsl.snfc21.pacbell.net)
  446. # [20:15] * Joins: jgraham (n=jgraham@81-179-93-10.dsl.pipex.com)
  447. # [20:18] * Joins: zcorpan_ (n=zcorpan@84-216-40-107.sprayadsl.telenor.se)
  448. # [20:24] * Quits: zcorpan (n=zcorpan@84-216-40-107.sprayadsl.telenor.se) (Read error: 110 (Connection timed out))
  449. # [22:14] * Joins: SpookyET (i=user@75.138.70.34)
  450. # [22:24] * Quits: ROBOd (n=robod@86.34.246.154) ("http://www.robodesign.ro")
  451. # [22:27] * Quits: hendry (n=hendry@91.84.53.136) ("nn")
  452. # [22:35] * Joins: aroben (n=adamrobe@adsl-70-231-234-224.dsl.snfc21.sbcglobal.net)
  453. # [22:36] * Quits: aroben (n=adamrobe@adsl-70-231-234-224.dsl.snfc21.sbcglobal.net) (Read error: 104 (Connection reset by peer))
  454. # [22:36] * Joins: tantek (n=tantek@adsl-63-203-221-50.dsl.snfc21.pacbell.net)
  455. # [22:37] * Joins: aroben (n=adamrobe@adsl-70-231-234-224.dsl.snfc21.sbcglobal.net)
  456. # [22:49] * met_ found http://www.w3.org/TR/xhtml2/xhtml2-changes.html#a_changes very descriptive
  457. # [22:51] <gsnedders> a very informative appendix indeed :)
  458. # [22:52] <SpookyET> I think the W3C are smoking their own gases. I do not know whom they represent, but I do know they do not represent web developers -- nor browser vendors for that matter.
  459. # [22:53] <gsnedders> the W3C has an idealistic view of the web in a perfect world.
  460. # [22:53] <gsnedders> this != perfect.
  461. # [22:53] <Lachy> that appendix will essentially just repeat the rest of the spec, since nothing is the same as XHTML 1.1
  462. # [22:54] * met_ rofl
  463. # [22:54] <gsnedders> apart from the namespace, possibly.
  464. # [22:55] * Quits: tantek (n=tantek@adsl-63-203-221-50.dsl.snfc21.pacbell.net)
  465. # [22:55] <zcorpan_> xhtml2 using the xhtml1 namespace is a good way to get xhtml2 even more ignored, if that's even possible
  466. # [22:55] <SpookyET> You have to change your spec to reality, not reality to your spec.
  467. # [22:56] <Lachy> zcorpan_, they did plan to use the XHTML1 namespace. I'm not sure if they've changed their mind about that yet
  468. # [22:56] * zcorpan_ has spent some time what reality looks like wrt target="" pointing to id="" or name=""
  469. # [22:57] <zcorpan_> Lachy: yeah, either way, i don't care :)
  470. # [22:58] <zcorpan_> not that i want xhtml2 to fail or anything, i simply don't care, i have other things to care about
  471. # [22:58] <Lachy> yeah, I don't care either.
  472. # [22:59] <Lachy> they rejected my suggestion to fix the XHTML1.1 MIME type issue too, but I'm not even going to bother objecting, since the spec is irrelevant anyway
  473. # [22:59] <SpookyET> Safari have said that they will NOT implement XHTML2.
  474. # [23:00] <gsnedders> almost everyone has :P
  475. # [23:00] <SpookyET> almost?
  476. # [23:01] <Lachy> someone will attempt to implement XHTML2, it just won't be anyone of any importance
  477. # [23:01] <SpookyET> KHTML?
  478. # [23:02] <gsnedders> nobody who is relevant whatsoever.
  479. # [23:02] <SpookyET> neah, KHTML is important for WebKit
  480. # [23:02] <gsnedders> (and calling KHTML is pushing it)
  481. # [23:03] <zcorpan_> i thought there was a project to port webkit to kde and merge the good stuff from both in the process
  482. # [23:03] <gsnedders> there was.
  483. # [23:03] <gsnedders> whether they replace KHTML with WebKit is undecided
  484. # [23:04] <gsnedders> http://dot.kde.org/1152645965/
  485. # [23:07] <SpookyET> calling KHTML is pushing it? that's the engine's name, isn't it? It stands for KDE HTML.
  486. # [23:08] <gsnedders> I mean, calling KHTML relevant
  487. # [23:08] <gsnedders> it has such a small marketshare. it supporting XHTML2 wouldn't make much difference (not that they plan to)
  488. # [23:08] <SpookyET> KHTML is relevant to WebKit.
  489. # [23:08] <SpookyET> WebKit is relevant to Safari.
  490. # [23:08] <gsnedders> not really at all.
  491. # [23:09] <gsnedders> WebKit is so different now
  492. # [23:09] <gsnedders> remember that WebKit was forked off many years ago
  493. # [23:10] <SpookyET> but they share patches
  494. # [23:10] <gsnedders> there are plenty of parts of the sourcebase which they don't at all.
  495. # [23:10] <gsnedders> as they are completely incompatible in plenty of parts
  496. # [23:11] <SpookyET> KDE 4.0 might change that.
  497. # [23:12] <gsnedders> might. depends on what happens with Unity.
  498. # [23:13] <SpookyET> I like the KDE interface. But, I hate its interface with a passion.
  499. # [23:14] <SpookyET> It's got a billion icons, tabs, and entries.
  500. # [23:27] * Quits: virtuelv (n=virtuelv@pat-tdc.opera.com) (kornbluth.freenode.net irc.freenode.net)
  501. # [23:27] * Quits: sgillies (n=chatzill@dsl-179-116.dynamic-dsl.frii.net) (kornbluth.freenode.net irc.freenode.net)
  502. # [23:28] * Joins: sgillies (n=chatzill@dsl-179-116.dynamic-dsl.frii.net)
  503. # [23:28] * Joins: virtuelv (n=virtuelv@pat-tdc.opera.com)
  504. # [23:29] * Quits: aroben (n=adamrobe@adsl-70-231-234-224.dsl.snfc21.sbcglobal.net) (Remote closed the connection)
  505. # [23:30] * Joins: aroben (n=adamrobe@adsl-70-231-234-224.dsl.snfc21.sbcglobal.net)
  506. # [23:30] * Joins: hasather_ (n=david@81-235-209-174-no62.tbcn.telia.com)
  507. # [23:39] * Quits: SpookyET (i=user@75.138.70.34) ("Client Exiting")
  508. # [23:42] <zcorpan_> i have 16 test cases and 2 support files to augment an email i've written that i'll send to the whatwg list. ftp doesn't seem to work for me today so i can't upload them. should i zip them and send as attachment?
  509. # [23:47] <zcorpan_> or perhaps someone else can upload them somewhere?
  510. # [23:47] <hasather> zcorpan_: sure
  511. # [23:49] <zcorpan_> hasather: cheers, i'll email them to you
  512. # [23:49] <hasather> ok
  513. # [23:51] <zcorpan_> sent
  514. # [23:54] <hasather> http://hasather.net/test/html/id-vs-name/
  515. # [23:54] <hasather> oh, and you can write in Swedish to me ;)
  516. # [23:55] <zcorpan_> @_@ right.
  517. # [23:55] <hasather> should I delete text.txt and empty.txt?
  518. # [23:55] <zcorpan_> no, put them in support/
  519. # [23:55] <hasather> ok
  520. # [23:56] <hasather> ahh, sorry, they were part of the tests of course
  521. # [23:56] <zcorpan_> :)
  522. # Session Close: Sun Apr 22 00:00:00 2007

The end :)