/irc-logs / w3c / #css / 2013-07-27 / end

Options:

  1. # Session Start: Sat Jul 27 00:00:00 2013
  2. # Session Ident: #css
  3. # [00:08] * Quits: tobie (tobie@public.cloak)
  4. # [00:16] * Joins: tobie (tobie@public.cloak)
  5. # [00:24] * Joins: sgalineau (~sgalineau@public.cloak)
  6. # [00:27] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  7. # [00:37] * Joins: glenn (~gadams@public.cloak)
  8. # [00:37] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
  9. # [00:48] * leaverou is now known as leaverou_away
  10. # [00:50] * leaverou_away is now known as leaverou
  11. # [00:52] * leaverou is now known as leaverou_away
  12. # [00:55] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  13. # [00:56] * leaverou_away is now known as leaverou
  14. # [01:01] * Joins: glenn (~gadams@public.cloak)
  15. # [01:05] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  16. # [01:09] * Quits: dbaron (~dbaron@public.cloak) ("8403864 bytes have been tenured, next gc will be global.")
  17. # [01:24] * Quits: tobie (tobie@public.cloak)
  18. # [01:31] * Joins: dbaron (~dbaron@public.cloak)
  19. # [01:36] * Disconnected
  20. # [01:38] * Attempting to rejoin channel #css
  21. # [01:38] * Rejoined channel #css
  22. # [01:38] * Topic is 'http://lists.w3.org/Archives/Public/www-style/2013Jul/0518.html'
  23. # [01:38] * Set by glazou on Wed Jul 24 17:16:04
  24. # [01:38] * Quits: krijn (~krijnhoetmer@public.cloak) (Client closed connection)
  25. # [01:39] * Quits: decadance (~decadance@public.cloak) (Client closed connection)
  26. # [01:42] * Joins: fantasai (~fantasai@public.cloak)
  27. # [01:45] * Joins: decadance (~decadance@public.cloak)
  28. # [01:51] <plinss> TabAtkins: ping
  29. # [01:55] <liam> grr, how did i get sucked into reading all these position papers? :)
  30. # [01:55] * liam contemplates writing "50 shades of CSS" instead
  31. # [01:59] * leaverou is now known as leaverou_away
  32. # [02:00] <SimonSapin> fantasai: sounds like you want branches
  33. # [02:01] <SimonSapin> random question: implementor or implementer?
  34. # [02:02] <liam> the spell checker in this IRC program likes implementer, but it's probably using Canadian English
  35. # [02:03] * leaverou_away is now known as leaverou
  36. # [02:04] * Quits: lmclister (~lmclister@public.cloak) (lmclister)
  37. # [02:15] <TabAtkins> plinss: pong
  38. # [02:15] <plinss> hey, I think I answered my question, but I have another one...
  39. # [02:16] <plinss> I just added 'typedef', 'at-ruledef', and 'funcdef' anchor types to the spec parser
  40. # [02:16] <plinss> my new question is, for typedef anchors, should I strip the surrounding <> from the anchor name?
  41. # [02:17] <plinss> (and if so, should I strip the () from fundef anchor names…)
  42. # [02:17] <TabAtkins> I don't use the anchor name, just the linking text.
  43. # [02:17] <plinss> Ok, I think I'll strip it then...
  44. # [02:18] <plinss> we also need to add a data-for-at-rule for descdefs that aren't following an at-rule definintion (if there are any…)
  45. # [02:20] <TabAtkins> I've begun adding a "For" entry in descdef tables for this purpose. It's present in counter-styles currently.
  46. # [02:20] <TabAtkins> I need to discuss with the group what name they want for that line.
  47. # [02:20] <TabAtkins> The syntax should be just a comma-separated list of at-keywords.
  48. # [02:22] <plinss> ok, that works too
  49. # [02:22] <TabAtkins> I'm going to have missing that be a fatal error in my processor.
  50. # [02:26] <plinss> do you know if the document- and dom- prefix for dfn ids is consistently used for idl functions and interfaces?
  51. # [02:26] <TabAtkins> It's not.
  52. # [02:26] <TabAtkins> But we can establish such.
  53. # [02:26] <plinss> we need to establish something...
  54. # [02:26] <plinss> do you have a data-dfn-type for those?
  55. # [02:27] <TabAtkins> Not yet. Right now they just show up as type=link (type=dfn in your data)
  56. # [02:28] <plinss> dom- seems to be used in html5 fairly consistently
  57. # [02:28] <TabAtkins> Sounds good to me.
  58. # [02:29] <plinss> but we should add data-type-dfn's for those too, have names you prefer?
  59. # [02:30] <plinss> FWIW, I see one instance of document-* in regions, in the html5 spec they seem to use dom-document- for that… we should align with that
  60. # [02:31] <TabAtkins> This is just for ids?
  61. # [02:31] <TabAtkins> What is dom-document-* prefix used for?
  62. # [02:31] <plinss> yes
  63. # [02:32] <plinss> looks like things added to document.
  64. # [02:32] <plinss> http://www.w3.org/TR/html5/dom.html#dom-document-body for example
  65. # [02:33] <TabAtkins> Does that mean we should generally have a pattern of "dom-{interface}-{attribute}"?
  66. # [02:34] <plinss> I think so, yes
  67. # [02:34] <plinss> seems to be how it's used mostly
  68. # [02:36] <plinss> maybe for the data-dfn-types we use 'interface', 'attribute', and 'method' ?
  69. # [02:38] <TabAtkins> Works for me.
  70. # [02:40] <plinss> cool, adding support to the parser
  71. # [02:43] <TabAtkins> So, to be clear, these will only be recognized as such if explicitly tagged in their <dfn>?
  72. # [02:43] <plinss> yes, if tagged with a data-dfn-type, or if their id starts with dom-
  73. # [02:43] <TabAtkins> Ah, kk.
  74. # [02:44] <plinss> (and possibly some more logic with IDL classes and such, I have to look)
  75. # [02:44] <TabAtkins> Hm, they still need to be distinguished between interface/attribute/method. How are you doing that automatically?
  76. # [02:46] <plinss> current thinking is that methods will have a () in them, not sure about interface vs attribute yet
  77. # [02:47] <plinss> maybe by parsing the id, e.g. dom-foo-bar is an attr (if it's not a method) where dom-foo is an interface
  78. # [02:49] <TabAtkins> Ah, yeah, that would work.
  79. # [02:49] <TabAtkins> So, cool. id=dom-* is an interface, id=dom-*-* with a () at the end of its contents is a method, other id=dom-*-* are attributes.
  80. # [02:50] <plinss> yeah, except some of the methods have arguments, so that'll have to be a bit of a regex
  81. # [02:51] <TabAtkins> Ah, yeah, you're right. Easy, though - /^[a-zA-Z0-9]+\(/ and /\)$/.
  82. # [02:51] <plinss> the question now is do I call them interfacedefs, methoddefs, and attributedefs, or match the abbreviation pattern and call them ifacedefs, methdefs, and attrdefs?
  83. # [02:51] <TabAtkins> Hahaha, do the long form.
  84. # [02:51] <TabAtkins> propdef and descdef are grandfathered in due to class name legacy.
  85. # [02:52] <plinss> ok, how about funcdef for css functions?
  86. # [02:52] <TabAtkins> That works for me.
  87. # [02:52] <plinss> ok
  88. # [02:52] <TabAtkins> Refresh me on the full set of def types now?
  89. # [02:52] <plinss> just about to...
  90. # [02:53] <plinss> 'propdef','valuedef','at-ruledef','descdef','typedef','funcdef','interfacedef','methoddef','attributedef'
  91. # [02:53] <plinss> I think maybe attributedef can be attrdef...?
  92. # [02:54] <plinss> but for data-type-dfn you use the long name: property, value, descriptor, type, function, interface, method, attribute
  93. # [02:54] <TabAtkins> I can change that - nobody's doing it manually yet.
  94. # [02:54] <TabAtkins> I'm fine with just matching your usage.
  95. # [02:55] <plinss> either way, having *def' is a bit redundant there… I kind of like the long form...
  96. # [02:55] <TabAtkins> Okay, then let's drop 'em.
  97. # [02:55] <plinss> drop which?
  98. # [02:56] <TabAtkins> All the defs.
  99. # [02:56] <TabAtkins> def suffixes, rather.
  100. # [02:56] <TabAtkins> And just use a nice long form.
  101. # [02:56] <TabAtkins> property, interface, etc.
  102. # [02:57] <plinss> I'm ok with that, we do still have to respect the old id prefixes of 'propdef-*' etc...
  103. # [02:57] <plinss> (at least I do)
  104. # [02:58] <TabAtkins> Oh, you use that to detect? I detect properties based on just parsing the "Name" line of <table class=propdef> elements.
  105. # [02:58] <plinss> well, I do that too. If there's a propdef class on the container then that also sets the type f the dfn inside it.
  106. # [02:59] <plinss> that's another point, the names of the classes for the containers...
  107. # [02:59] <plinss> the class name should probably have the *def form
  108. # [03:00] <TabAtkins> Ah, interesting. I didn't think to use more container-based identifications.
  109. # [03:00] <TabAtkins> But that totally makes sense.
  110. # [03:00] <plinss> the parser already respect them (just in case)
  111. # [03:01] <plinss> ok so how about: 'propdef','valuedef','at-ruledef','descdef','typedef','funcdef','interfacedef','methoddef','attrdef' for class names and/or id prefixes
  112. # [03:01] <TabAtkins> kk
  113. # [03:01] <plinss> and property, value, descriptor, type, function, interface, method, attribute for the anchor types
  114. # [03:01] <plinss> and data-dfn-type
  115. # [03:01] <TabAtkins> And so the presence of that class name on an ancestor, or that prefix on your id, obviates the need to manually declare your dfn-type.
  116. # [03:01] <plinss> yep
  117. # [03:01] <TabAtkins> Cool.
  118. # [03:02] <plinss> and then there's a priority of there are multiple nested containers with those classes, but hopefully that doesn't happen in the real world… :-)
  119. # [03:02] <plinss> s/priority of there/priority if there/
  120. # [03:03] <TabAtkins> I assume nearest ancestor wins.
  121. # [03:03] <TabAtkins> But I can also just flag it as a fatal error.
  122. # [03:04] <plinss> the parser doesn't work that way now, but I suppose it could do nearest ancestor.
  123. # [03:04] <plinss> I think that will actually simplify things
  124. # [03:05] <plinss> You do realize also, that this is all going to have to be documented somewhere? :-)
  125. # [03:05] <TabAtkins> Yup, I've got it down in a temp document for now. It'll go into my revamped preprocessor documentation.
  126. # [03:05] <plinss> cool
  127. # [03:06] <TabAtkins> Still edging ever closer to getting xrefs working for now.
  128. # [03:06] <plinss> nice
  129. # [03:06] <TabAtkins> Without the code being super hacky and ugly.
  130. # [03:06] <plinss> that helps
  131. # [03:07] <plinss> wondering if we also might need a data-for-interface for methods and attributes outside the interface definition?
  132. # [03:07] <TabAtkins> They'll typically be dfned outside of it, I think.
  133. # [03:08] <TabAtkins> I prefer the <dfn> being the actual description, with the idl fragment just linking to it.
  134. # [03:08] <TabAtkins> So, yes.
  135. # [03:08] <plinss> yeah, but I meant in a place not easily associated to the idl
  136. # [03:08] <plinss> ok
  137. # [03:08] <plinss> works for me
  138. # [03:09] <plinss> oh, wait, I think we should add pseudo-class and pseudo-element to the dfn types
  139. # [03:09] <plinss> can you think of any others?
  140. # [03:09] <TabAtkins> Okay, so if you're doing an "ED" level draft (something for dev.w3.org), we want to force only linking to ED drafts (unless the ED draft doesn't exist at all, which we can tell by looking at the urls in the spec data), and vice versa for "TR" level drafts, yeah?
  141. # [03:10] <TabAtkins> Hm, probably not for now. We're covering all the major syntax constructs in selectors and CSS.
  142. # [03:10] <plinss> I'm not sure if we want to preclude linking between /TR and ED
  143. # [03:11] <TabAtkins> I'll have an attribute that lets you force it, if necessary.
  144. # [03:11] <TabAtkins> Sorry, was using bad wording up above.
  145. # [03:11] <plinss> but /TR docs should link to /TR if the anchor is present in the ?TR version then fall back to the ED
  146. # [03:11] <plinss> and vice versa?
  147. # [03:11] <TabAtkins> Well, the vice versa is the case we wanted to avoid.
  148. # [03:12] <TabAtkins> Having an ED link to another spec, but the relevant concept was removed from the latest ED of the other spec.
  149. # [03:12] <plinss> hmm, yeah, probably
  150. # [03:13] <TabAtkins> I'm okay with a TR-level draft downgrading to link to an ED-level draft.
  151. # [03:13] <plinss> (not sure if that will fly with pubrules…)
  152. # [03:13] <TabAtkins> But EDs should only upgrade to a TR-level draft if there's no ED-level draft of that spec *at all*. (There are a few example of that in the data already.)
  153. # [03:14] <TabAtkins> That's what I was worried about. ^_^
  154. # [03:14] <plinss> right
  155. # [03:14] <plinss> I suppose a /TR linking to an ED is of it it's a WD, not so good if it's a CR or REC
  156. # [03:14] <plinss> s/is of it/is OK if/
  157. # [03:15] <plinss> I think that makes sense
  158. # [03:16] <TabAtkins> Hm, yeah.
  159. # [03:16] <plinss> BTW, I need a reliable way to determine the rectrack step from the specs
  160. # [03:16] <plinss> and the editors
  161. # [03:16] <TabAtkins> I can machine-encode that data in specs done by my processor.
  162. # [03:17] <TabAtkins> It's all required metadata.
  163. # [03:17] <plinss> right, but it's not currently in a nice machine readable format at the end...
  164. # [03:17] <TabAtkins> Right, I'm saying that I *can* do that for you. ^_^
  165. # [03:17] <plinss> right
  166. # [03:17] <plinss> I added something to respec for this stuff a while back, lemme look
  167. # [03:19] <plinss> ah, no, that was something else...
  168. # [03:23] <plinss> looks like respec adds <meta name=dcterms.creator> for the editors, and vcard markup
  169. # [03:24] <plinss> we should align with respec where we can (or have respec align with us)
  170. # [03:26] <TabAtkins> Yeah, I'm down with aligning with respec.
  171. # [03:26] <TabAtkins> Especially since that means we'll get picked up by their specref stuff, I think.
  172. # [03:36] <plinss> hmm, last time I looked at the fxtx specs, they were using respec for some of them, not any more apparently
  173. # [03:40] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  174. # [03:41] * Joins: rhauck (~Adium@public.cloak)
  175. # [03:48] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 180 seconds)
  176. # [04:33] * leaverou is now known as leaverou_away
  177. # [04:34] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  178. # [05:00] * Quits: logbot (~logbot@public.cloak) (Ping timeout: 180 seconds)
  179. # [05:01] * Joins: logbot (~logbot@public.cloak)
  180. # [05:14] * Joins: dbaron (~dbaron@public.cloak)
  181. # [06:23] <TabAtkins> I suspect they're using bert's preprocessor now, since most of them are edited by adobe people in the csswg
  182. # [06:23] <TabAtkins> plinss: ^^^
  183. # [06:56] * Joins: krit (~krit@public.cloak)
  184. # [08:14] * Joins: glenn (~gadams@public.cloak)
  185. # [08:16] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  186. # [09:04] * leaverou_away is now known as leaverou
  187. # [09:11] * Joins: tobie (tobie@public.cloak)
  188. # [09:57] * Quits: tobie (tobie@public.cloak)
  189. # [10:34] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  190. # [10:59] * Joins: Ms2ger (~Ms2ger@public.cloak)
  191. # [11:18] * leaverou is now known as leaverou_away
  192. # [11:43] * Joins: teoli (~teoli@public.cloak)
  193. # [11:55] * leaverou_away is now known as leaverou
  194. # [12:15] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  195. # [12:16] * Joins: glenn (~gadams@public.cloak)
  196. # [12:23] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
  197. # [14:48] * Joins: teoli (~teoli@public.cloak)
  198. # [16:28] * Joins: teoli_ (~teoli@public.cloak)
  199. # [16:28] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  200. # [16:35] * Joins: teoli (~teoli@public.cloak)
  201. # [16:35] * Quits: teoli_ (~teoli@public.cloak) (Client closed connection)
  202. # [18:04] * Joins: dbaron (~dbaron@public.cloak)
  203. # [18:12] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
  204. # [18:29] * Joins: glenn (~gadams@public.cloak)
  205. # [18:39] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
  206. # [19:01] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  207. # [19:02] * Joins: teoli (~teoli@public.cloak)
  208. # [19:20] * Joins: teoli_ (~teoli@public.cloak)
  209. # [19:20] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  210. # [19:49] * Joins: glenn (~gadams@public.cloak)
  211. # [19:56] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 180 seconds)
  212. # [20:01] <leaverou> SimonSapin: here?
  213. # [20:09] * Joins: dbaron (~dbaron@public.cloak)
  214. # [20:21] <SimonSapin> Hi leaverou
  215. # [20:21] <leaverou> hi SimonSapin!!
  216. # [20:21] <leaverou> You're the only paged media expert I know
  217. # [20:21] <leaverou> so I have a question
  218. # [20:21] <SimonSapin> sure
  219. # [20:22] <leaverou> since the @page rule doesn't accept CSS rules inside it
  220. # [20:22] <leaverou> how do you style an element differently based on whether it appears on a left or right page?
  221. # [20:22] <SimonSapin> you can’t, with css-page-3
  222. # [20:22] <SimonSapin> what are you trying to do?
  223. # [20:23] <leaverou> add a sidebar
  224. # [20:23] <leaverou> which should be on the left side on a left page
  225. # [20:23] <leaverou> and on the right side on a right page
  226. # [20:23] <SimonSapin> I see
  227. # [20:23] <leaverou> this should be easy.
  228. # [20:23] <SimonSapin> whose content is fragmented between paged like the main content?
  229. # [20:23] <leaverou> if it isn't even possible, GCPM is seriously effed up
  230. # [20:24] <leaverou> SimonSapin: no, sidebar blocks will be constrained in a single page
  231. # [20:24] <leaverou> e.g. notes, figures etc
  232. # [20:25] <SimonSapin> oh, ok
  233. # [20:26] <SimonSapin> well, you can have a page margin different on left and right pages, to leave room for that
  234. # [20:26] <leaverou> that's no use if I can't float differently
  235. # [20:26] <SimonSapin> yeah
  236. # [20:26] <leaverou> there are all kinds of weird stuff in the paged media specs and that incredibly common thing is not possible?!
  237. # [20:27] <SimonSapin> I can’t think of a way
  238. # [20:27] <leaverou> I'll post on www-style
  239. # [20:27] <SimonSapin> and you’re right, it should be possible of not easy
  240. # [20:27] <leaverou> should I tag it css3-gcpm or css3-page?
  241. # [20:27] <leaverou> or sth else?
  242. # [20:28] <SimonSapin> I’d say css-page-4
  243. # [20:28] <SimonSapin> it’s not really "generated", and it won’t be in L3
  244. # [20:28] <SimonSapin> and yes, GCPM is crazy
  245. # [20:29] <SimonSapin> most parts are more like Håkon’s whish list than a spec
  246. # [20:29] <leaverou> this is insane
  247. # [20:29] <leaverou> I'll tag it css3-page, since it's a WD
  248. # [20:30] <SimonSapin> feel free, but I don’t see it gaining new features
  249. # [20:30] <SimonSapin> css3-page had been sitting around untouched since 2006
  250. # [20:31] <leaverou> huh? A WD was published this March...
  251. # [20:31] <SimonSapin> last year I rewrote one layout algorithm to be less insane, and did a general clean up with fantasai
  252. # [20:32] <SimonSapin> it needs a bit more clean up, and then be published already
  253. # [20:32] <SimonSapin> except that I’m not spending any time on it since I joined Mozilla
  254. # [20:32] <SimonSapin> neither is anybody else
  255. # [20:40] <SimonSapin> leaverou: you’re right that css-page desperately needs many more features, but there is just nobody actively working on it right now
  256. # [20:41] <SimonSapin> I think glazou had some ideas, you could check with him
  257. # [21:06] <SimonSapin> leaverou: that said, AntennaHouse might support stuff that is not in css-page-3
  258. # [21:48] <leaverou> SimonSapin: yeah, that's what I'm hoping, otherwise I'm gonna shoot myself :P
  259. # [21:49] <SimonSapin> eh
  260. # [21:50] <SimonSapin> leaverou: "sidenotes" is the magic word http://www.antennahouse.com/xslfo/float-extension.htm#FootnoteCSS
  261. # [21:53] <TabAtkins> plinss: Yo, I just realized that we might be able to solve the "associate a value with something else" problem more easily than an explicit attribute.
  262. # [21:54] <TabAtkins> plinss: Bert's preprocessor has a microsyntax for linking text like "foo!!bar", which is used to indicate that "bar" (the thing being defined) is a subconcept of "foo". Currently this is only used for generating the index, to create sub-topics.
  263. # [21:55] <TabAtkins> plinss: (I don't do this yet, but I want to.)
  264. # [21:56] <TabAtkins> plinss: Perhaps we could just use that to infer connections? If a valuedef or typedef uses it, look at the "foo" and see if it's a type ("<foo>") or a property ("foo"). If a descdef uses it, assume the other value is an at-rule. Etc.
  265. # [21:59] <plinss> that sounds reasonable, where does the foo!!bar come from?
  266. # [22:00] <plinss> my one concern is name collisions, maybe there's a property 'foo' and a type 'foo' ...
  267. # [22:02] <plinss> on another note, I found out that my plan for dom-<interface>-<atttr|method> ids won't work. Too many places its falls down, like the interface NamedFlow with the id: dom-named-flow
  268. # [22:02] <plinss> also, not all methods have ()'s in the dfn
  269. # [22:03] <plinss> I'm going to just parse the IDL and then do an association by name matching.
  270. # [22:03] <plinss> TabAtkins: ^^^
  271. # [22:18] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  272. # [22:29] * Quits: krit (~krit@public.cloak) ("Leaving.")
  273. # [22:38] * Quits: teoli_ (~teoli@public.cloak) (Client closed connection)
  274. # [22:45] * Joins: teoli (~teoli@public.cloak)
  275. # [22:58] * Joins: teoli_ (~teoli@public.cloak)
  276. # [22:58] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  277. # Session Close: Sun Jul 28 00:00:00 2013

The end :)