/irc-logs / w3c / #css / 2013-03-19 / end

Options:

  1. # Session Start: Tue Mar 19 00:00:00 2013
  2. # Session Ident: #css
  3. # [00:06] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
  4. # [00:06] * Joins: cabanier (~cabanier@public.cloak)
  5. # [00:10] <fantasai> TabAtkins_: http://wiki.csswg.org/spec/levels
  6. # [00:13] * Joins: macpherson (~macpherson@public.cloak)
  7. # [00:16] * Quits: abucur (~abucur@public.cloak) ("Leaving")
  8. # [00:30] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 60 seconds)
  9. # [00:34] * Quits: lmclister (~lmclister@public.cloak) ("")
  10. # [00:55] * Joins: shanestephens (~shanestephens@public.cloak)
  11. # [00:56] * Quits: shanestephens (~shanestephens@public.cloak) (Client closed connection)
  12. # [00:56] * Joins: shanestephens_ (~shanestephens@public.cloak)
  13. # [00:57] * shanestephens_ is now known as shanestephens
  14. # [00:58] * Joins: shanestephens_ (~shanestephens@public.cloak)
  15. # [01:00] * Quits: shanestephens (~shanestephens@public.cloak) (Ping timeout: 60 seconds)
  16. # [01:00] * shanestephens_ is now known as shanestephens
  17. # [01:05] * Quits: krit (~krit@public.cloak) ("Leaving.")
  18. # [01:05] * Joins: krit (~krit@public.cloak)
  19. # [01:06] * Quits: krit (~krit@public.cloak) ("Leaving.")
  20. # [01:13] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
  21. # [01:16] * Quits: shanestephens (~shanestephens@public.cloak) (shanestephens)
  22. # [01:23] * Joins: dbaron (~dbaron@public.cloak)
  23. # [01:37] * Joins: shanestephens (~shanestephens@public.cloak)
  24. # [01:50] <fantasai> dbaron++
  25. # [01:50] <dbaron> for? :-)
  26. # [01:51] <fantasai> Sending such a clearly explaiend and detailed email of the transition/animations cascade problem :P
  27. # [01:56] * leaverou is now known as leaverou_away
  28. # [01:56] <dbaron> I think I probably omitted at least half the story, but anyway...
  29. # [02:00] * leaverou_away is now known as leaverou
  30. # [02:02] * Joins: jdaggett (~jdaggett@public.cloak)
  31. # [02:03] * Quits: shanestephens (~shanestephens@public.cloak) (shanestephens)
  32. # [02:13] * Quits: macpherson (~macpherson@public.cloak) ("This computer has gone to sleep")
  33. # [02:22] * Joins: macpherson (~macpherson@public.cloak)
  34. # [02:24] * Quits: macpherson (~macpherson@public.cloak) ("This computer has gone to sleep")
  35. # [02:27] * leaverou is now known as leaverou_away
  36. # [02:34] * Quits: rhauck (~Adium@public.cloak) ("Leaving.")
  37. # [02:34] * Joins: rhauck (~Adium@public.cloak)
  38. # [02:38] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 60 seconds)
  39. # [03:02] * Joins: rhauck (~Adium@public.cloak)
  40. # [03:03] * Joins: rhauck1 (~Adium@public.cloak)
  41. # [03:07] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 60 seconds)
  42. # [04:01] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 60 seconds)
  43. # [04:03] * Joins: macpherson (~macpherson@public.cloak)
  44. # [04:05] * Quits: macpherson (~macpherson@public.cloak) ("This computer has gone to sleep")
  45. # [04:10] * Joins: shanestephens (~shanestephens@public.cloak)
  46. # [04:34] * Joins: cabanier (~cabanier@public.cloak)
  47. # [04:40] * Joins: macpherson (~macpherson@public.cloak)
  48. # [04:53] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
  49. # [04:55] * Quits: shanestephens (~shanestephens@public.cloak) (shanestephens)
  50. # [04:56] * Joins: shanestephens (~shanestephens@public.cloak)
  51. # [04:57] * Quits: macpherson (~macpherson@public.cloak) ("This computer has gone to sleep")
  52. # [04:59] * Quits: shanestephens (~shanestephens@public.cloak) (shanestephens)
  53. # [06:29] * Joins: macpherson (~macpherson@public.cloak)
  54. # [06:31] * Quits: macpherson (~macpherson@public.cloak) ("This computer has gone to sleep")
  55. # [07:00] * Joins: SimonSapin (~simon@public.cloak)
  56. # [07:24] * Joins: shanestephens (~shanestephens@public.cloak)
  57. # [07:29] * Quits: shanestephens (~shanestephens@public.cloak) (shanestephens)
  58. # [07:55] * Quits: rhauck1 (~Adium@public.cloak) ("Leaving.")
  59. # [08:42] * Joins: Ms2ger (~Ms2ger@public.cloak)
  60. # [08:43] * Joins: zcorpan (~zcorpan@public.cloak)
  61. # [08:49] * Joins: tmpsantos (~tmpsantos@public.cloak)
  62. # [08:58] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
  63. # [09:01] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  64. # [09:03] * Joins: Ms2ger (~Ms2ger@public.cloak)
  65. # [09:03] * Quits: Ms2ger (~Ms2ger@public.cloak) ("Leaving")
  66. # [09:03] * Joins: Ms2ger (~Ms2ger@public.cloak)
  67. # [09:10] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  68. # [09:24] * Joins: Ms2ger (~Ms2ger@public.cloak)
  69. # [09:40] * Quits: SimonSapin (~simon@public.cloak) ("Leaving.")
  70. # [09:42] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  71. # [09:55] * Joins: Ms2ger (~Ms2ger@public.cloak)
  72. # [10:03] * Joins: SimonSapin (~simon@public.cloak)
  73. # [10:11] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  74. # [10:25] * Joins: Ms2ger (~Ms2ger@public.cloak)
  75. # [10:41] * Quits: Ms2ger (~Ms2ger@public.cloak) (Ping timeout: 60 seconds)
  76. # [10:55] * Joins: Ms2ger (~Ms2ger@public.cloak)
  77. # [11:01] * Joins: pjrm (~pjrm@public.cloak)
  78. # [11:02] * leaverou_away is now known as leaverou
  79. # [11:12] <pjrm> SimonSapin: Re default z-ordering of page-margin boxes: I was drafting a reply to the proposal, but didn't finish it before it was already resolved to adopt it. So this is probably too late, but I'll write a bit anyway.
  80. # [11:13] <pjrm> The premise for adopting an arbitrary ordering was that there's no single ordering that would make sense for all 'direction' and writing mode values.
  81. # [11:13] <pjrm> I was wondering what if we did make it conditional on root's direction & writing-mode.
  82. # [11:13] <SimonSapin> pjrm: it’s not too late. We resolved on picking *something* but there was no strong proposal on what the order should be
  83. # [11:14] <SimonSapin> That’s doable. What would be the exact order?
  84. # [11:15] <pjrm> The order I currently use for lr-tb is top boxes (including corners) in left-to-right order, then bottom boxes (including corners), then remaining left boxes, then remaining right boxes.
  85. # [11:16] <pjrm> It's still fairly arbitrary, but it's still a bit less likely to cause surprises than a completely arbitrary order.
  86. # [11:16] <SimonSapin> Although I don’t think too much complexity there (vs. a fixed order) is worth it. These boxes should really not overlap anyway, and complex cases can be handled with z-index
  87. # [11:17] <SimonSapin> It remains to judge how much is too much complexity
  88. # [11:17] <pjrm> I was just about to say: Given that 'z-order' for margin boxes is now mandatory, I think implementation difficulty doesn't change much.
  89. # [11:18] <pjrm> I should say, I don't have a strong preference between the constant clockwise order or the direction-dependent ordering;
  90. # [11:18] <pjrm> this is just an alternative that I was going to submit to be considered along with the clockwise proposal.
  91. # [11:18] <SimonSapin> why bottom before left/right?
  92. # [11:19] <pjrm> My thought was that side boxes are special compared to headers & footers, and that it's more important to see side boxes than headers & footers.
  93. # [11:19] <pjrm> headers & footers are more likely to have reader-predictable content, was my thought.
  94. # [11:20] <SimonSapin> ok
  95. # [11:20] <SimonSapin> as long as it’s defined, I don’t have a strong opinion on what the order should be
  96. # [11:25] <SimonSapin> pjrm: feel free to write up a proposal on www-style, I’ll bring it up on the next conf call
  97. # [11:25] <SimonSapin> also, is it based on direction/writing-mode on the root element or of the page?
  98. # [11:26] <pjrm> I hadn't considered that possibility, actually. Do those properties apply to the page context?
  99. # [11:27] <SimonSapin> direction is in http://dev.w3.org/csswg/css3-page/#page-property-list , writing-mode is undefined (not in css 2.1)
  100. # [11:27] <SimonSapin> but they can
  101. # [11:27] <SimonSapin> this list needs work anyway
  102. # [11:28] <pjrm> yes, if direction is there, then it probably makes sense to allow writing-mode too.
  103. # [11:28] <pjrm> But yes, the page context values (which inherit by default from root values) would make more sense if they do apply in page context.
  104. # [11:30] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  105. # [11:30] <SimonSapin> we’re discussing changing back @page to *not* inherit from the root. It could be the "least worse" to break the definition cycle with viewport units, but I’m not even sure yet it’s enough
  106. # [11:31] <SimonSapin> consider :root{font-size: 1vw} @page {width: 50em}
  107. # [11:32] <pjrm> There was also a proposal not to allow vw units for (at least some) page contexts. E.g. because different pages can have different widths, so the choice of which page you take vw from is somewhat arbitrary and may well not do the right thing on other pages.
  108. # [11:33] <pjrm> (Actually, I think I'm just guessing at what the proposal was from a subject line, i don't think i've actually read the proposal of that message yet...)
  109. # [11:34] <pjrm> I seem to remember that inheriting from root was a good solution for things like font-size, among other things.
  110. # [11:35] <SimonSapin> we resolved that the value of eg. 1vw would be the same across pages, even pages of varying sizes. (ie. it’s converted to pixels at computed-value-time, unlike percentages)
  111. # [11:35] <SimonSapin> the question is what value that is
  112. # [11:36] <SimonSapin> not allowing viewport units in the page context removes the most obvious cycles
  113. # [11:37] <SimonSapin> inheriting font-size from the root is indeed a use case we want to keep, but it introduces more viewport unit cycles
  114. # [11:37] <SimonSapin> :root{font-size: 1vw} @page {width: 50em}
  115. # [11:41] <pjrm> You did mention that there are a couple of other possible ways out of that.
  116. # [11:41] <pjrm> That said, there isn't a clear winner.
  117. # [11:42] <SimonSapin> it’s still an open issue, and not many people seem to want to look at it
  118. # [11:42] <pjrm> If vw units are useful at all, then one may well want their size to vary from one page to the next, just as things like the used value of 'width' for :root can vary from one page to the next.
  119. # [11:43] <pjrm> I mean, surely if one is using vw then one would want it to match the page where you actually use it.
  120. # [11:44] <SimonSapin> I did say repeatedly that having 1vw be the same across pages of varying sizes makes the feature kind of useless, but browsers vendors still did not want to deal with the implementation complexity and possible performance hit
  121. # [11:45] <pjrm> Yes, I was going to say, that's just one argument and there are counter-arguments involving complexity.
  122. # [11:46] <pjrm> However, those same complexity arguments seem to apply just as much to the idea that the used 'width' of :root varies from one page to the next.
  123. # [11:47] <pjrm> If you're going to re-lay-out every width for each page, then I'm not sure that re-evaluating vw is such a big additional cost.
  124. # [11:48] <pjrm> float issues are really awkward with variable-width pages, for example.
  125. # [11:48] <pjrm> Changing vw is trivial in comparison.
  126. # [11:48] <SimonSapin> it’s not only layout, also the cascade: the computed value of any property that accepts <length> (some of which previously could only ever be an absolute length) suddenly can also be a viewport-percentage
  127. # [11:49] <SimonSapin> I agree it might still be worth it, but it’s a big impact
  128. # [11:54] <pjrm> Something vaguely related is css3-regions and the way that elements can inherit from regions in that spec. (It's been a long time since i've looked at that spec, i don't know how it works in the current version.)
  129. # [11:55] <pjrm> Changing font-size is a relatively common use case for that.
  130. # [11:55] <pjrm> This is somewhat similar to a changing value of vw.
  131. # [11:56] <pjrm> That said, I'm not at all comfortable with that feature of css3-regions.
  132. # [11:56] <pjrm> [Assuming that it is still a feature of that spec.]
  133. # [11:58] <pjrm> Under the "don't have @page inherit from :root" option, what does 50em mean? Is it simply disallowed, as I seem to remember that it was in earlier versions of css3-page ?
  134. # [11:59] <pjrm> (I think earlier versions of css3-page disallowed em & ex units.)
  135. # [12:00] <pjrm> (in page context)
  136. # [12:00] <pjrm> Ah, more likely it would have been based on UA default font-size.
  137. # [12:01] * Joins: zcorpan (~zcorpan@public.cloak)
  138. # [12:01] * Joins: zcorpan_ (~zcorpan@public.cloak)
  139. # [12:01] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  140. # [12:03] <SimonSapin> pjrm: 50em in the page context is based on font-size in the page context
  141. # [12:03] <SimonSapin> if there is no such declaration, it inherits
  142. # [12:03] <pjrm> from what?
  143. # [12:03] <SimonSapin> if there is no "parent" to inherit from, it’s the initial value
  144. # [12:03] <pjrm> yes
  145. # [12:04] <pjrm> as i say, the UA default font-size, which is the initial value of font-size.
  146. # [12:04] <SimonSapin> yes
  147. # [12:05] <pjrm> The :root{font-size: .1vw} @page {width: 50em} cycle is a short one, and there's the option of detecting it and resolving it with initial font-size.
  148. # [12:05] <pjrm> (Actually, I think initial font-size is 'medium', it's just that the meaning of 'medium' is UA-specific.)
  149. # [12:06] <SimonSapin> I’d rather not special-case cycles to detect. The underlying question is: what do you compute first?
  150. # [12:07] <SimonSapin> Ideally, an implementation can determine the "viewport" before it even starts the cascade on elements
  151. # [12:07] <pjrm> I agree that detecting it & handling it specially is extra complexity and that we might well decide against it; i'm just saying that it's one of the options on the table.
  152. # [12:07] <pjrm> Detecting it is easier than cycle detection in general,
  153. # [12:07] <pjrm> because it's limited to a length of 2.
  154. # [12:09] * Quits: zcorpan_ (~zcorpan@public.cloak) (Ping timeout: 60 seconds)
  155. # [12:10] <pjrm> i agree it's icky; it's just a question of how valuable the use cases are that argue for supporting both :root font-size in vw and page content box in ems.
  156. # [12:11] <SimonSapin> it’s not just ems, try @page { width: inherit }
  157. # [12:11] <pjrm> For that matter, what does @page{width:2vw} do ?
  158. # [12:11] <SimonSapin> this rule is ridiculous, but it needs to be well-defined
  159. # [12:12] <SimonSapin> @page{width:2vw} I don’t know, that’s still to be decided
  160. # [12:13] <SimonSapin> I’d rather not require implementation to do something like: try to do part of the cascade to get computed values of :root without knowing the size of the viewport yet, cascade @page rules inheriting from that, determine the viewport, then do the rest of the cascade on elements
  161. # [12:13] <pjrm> I wonder, what if some things inherit from root and not others. Does that buy anything? (I suspect not much, if 'font-size' is one of the more useful ones to be inherited.)
  162. # [12:13] <SimonSapin> I’m not sure
  163. # [12:14] <SimonSapin> but it’s not just inheritance … if vw is based on the actual first page, we need not only the cascade but box generation, in case it’s a named page
  164. # [12:16] <pjrm> surely the computed value of 1vw would be 1vw, not a value in px.
  165. # [12:17] <SimonSapin> html:root>body>:first-child{display:none} html:root>body>:nth-child(2){page:wide} @page{size:A4 portrait} @page wide{size:A4 landscape}
  166. # [12:17] <SimonSapin> the computed value of 1vw is in px with the current definition
  167. # [12:17] * Joins: zcorpan (~zcorpan@public.cloak)
  168. # [12:18] <SimonSapin> maybe having the computed value be 1vw would help with some cycles, but browsers vendors don’t want to do that
  169. # [12:19] <pjrm> If "browser" means "@media screen", then vw means viewport width, which is constant.
  170. # [12:19] <pjrm> (isn't it?)
  171. # [12:19] <SimonSapin> yes, none of this is an issue in continuous media
  172. # [12:20] <pjrm> another off-the-top-of-my-head idea: what if vw had a constant width within a given value of 'page', does that help at all?
  173. # [12:21] <SimonSapin> http://dev.w3.org/csswg/css-device-adapt/ explains how vw inside @viewport refers to the "initial viewport", and everywhere else to the "actual viewport" based on @viewport rules
  174. # [12:21] <SimonSapin> not really, any page pseudo-class can also change the page size
  175. # [12:22] <SimonSapin> I tried to write up something like @viewport for @page, but it gets crazy really fast
  176. # [12:22] * Quits: tmpsantos (~tmpsantos@public.cloak) ("Leaving")
  177. # [12:22] <pjrm> what i mean is, would it help if @page pseudo-classes couldn't change the page size.
  178. # [12:23] <pjrm> that would at least help some of the difficulties with varying page width, even if it doesn't help with the cycle.
  179. # [12:24] <SimonSapin> well, I’ve written huge margin-top on @page:first, which would change vh
  180. # [12:24] <SimonSapin> but even if you have only one page size per page type, how does that help?
  181. # [12:26] <pjrm> It helps for line-breaking, and it might help for table layout.
  182. # [12:26] <SimonSapin> you mean to cache layout results?
  183. # [12:27] <pjrm> it means you can do line-breaking before knowing what page each line will be on, so that there's less of a cycle between pagination and line-breaking.
  184. # [12:27] <SimonSapin> the page size itself looks like it would work just as well as a cache key than the page "type"
  185. # [12:29] <SimonSapin> I’m not too worried (yet) about implementation performance, viewport units in paged media are a mess even to get them well-defined
  186. # [12:29] <SimonSapin> in the spec
  187. # [12:33] <pjrm> What happens if different table-cell's in the same table-row have different values of 'page' ?
  188. # [12:33] <pjrm> i seem to remember that there was some rule about page breaks not applying other than in root BFC (or something along those lines), but i forget the rule.
  189. # [12:33] <SimonSapin> I don’t think 'page' applies to table cells
  190. # [12:33] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  191. # [12:33] <SimonSapin> but yes, that too
  192. # [12:34] <SimonSapin> although it seems to have been lost in the last ED
  193. # [12:34] <pjrm> change the example to div's inside different cells of the same row, if you prefer.
  194. # [12:35] <SimonSapin> I don’t know
  195. # [12:36] <SimonSapin> feedback on any of all this is very welcome :)
  196. # [12:36] <pjrm> if it doesn't apply to table-row or descendants, then restricting page content box width to be constant within a given named page would help table layout because one would always know what page width applied to a given table row,
  197. # [12:37] <pjrm> rather than having the question of what page it's on depend on how tall previous rows are, which depends on what page and page width they're on.
  198. # [12:37] <SimonSapin> you can have a "class 1" break between two rows, so I think 'page' applies on rows
  199. # [12:38] <pjrm> sorry, i meant to say "table-cell or descendants".
  200. # [12:38] <pjrm> That's what i thought in my head, i don't know why i typed table-row or descendants.
  201. # [12:38] <SimonSapin> ah I see
  202. # [12:38] <SimonSapin> yes that would help table layout
  203. # [12:39] <SimonSapin> (weasyprint doesn’t yet support page breaks inside table cells anyway …)
  204. # [12:43] <pjrm> Morp doesn't support varying page content box at all, but it would be easier to support varying it between different named page styles than allowing e.g. @page :nth(247) { width: different-from-the-rest }. Differing widths between :left & :right is between the two in difficulty.
  205. # [12:43] <pjrm> The problem with varying width is that it interferes with optimal line breaking.
  206. # [12:44] <SimonSapin> We don’t have :nth() page selectors, but I get your point
  207. # [12:44] <pjrm> css3-gcpm has it
  208. # [12:44] <SimonSapin> oh
  209. # [12:45] <SimonSapin> hum, I see ::page() on elements
  210. # [12:45] <SimonSapin> but I don’t know if either is a good idea
  211. # [12:46] <pjrm> Speaking of css3-gcpm, there seems to be some confusion about what @page chapter:first means: I've seen some text somewhere that assumes that it means the first page of each chapter, whereas i think per current css3-page it matches only the first page of the document if that first page has 'page' value 'chapter'.
  212. # [12:47] <pjrm> Have you come across both these notions?
  213. # [12:47] <pjrm> (and am i remembering correctly as to its meaning in current css3-page ?)
  214. # [12:48] <pjrm> (where "of each chapter" of course assumes that each chapter element sets 'page' to 'chapter' rather than 'auto'.)
  215. # [12:49] <SimonSapin> css3-page is clear that :first is the first of the document, even in older drafts
  216. # [12:50] <SimonSapin> nothing in css3-page indicates that changes when :first is combined with a page type selector
  217. # [12:50] <SimonSapin> where do you see the other interpretation in GCPM?
  218. # [12:51] <pjrm> ah, i see that this functionality has now been renamed to :first-page, and the definition has changed a bit too.
  219. # [12:51] <SimonSapin> ::first-page is a pseudo-element in style rules, not @page rules
  220. # [12:52] <pjrm> that's what i meant about definition changing a bit, applying now to elements.
  221. # [12:52] <SimonSapin> it needs to restrict what properties apply, for the same reasons as in ::first-letter and ::first-line
  222. # [12:54] <pjrm> [My own inclination is to restrict that set to {}, at least until ::first-line and ::first-letter actually get defined in a spec.]
  223. # [12:55] <pjrm> They were one of a few things that we didn't get to define for CSS 2.1.
  224. # [12:56] <pjrm> (Hmm, "they were one". I must work on my English language skills.)
  225. # [12:57] <SimonSapin> hum, looks pretty much defined to me: http://www.w3.org/TR/CSS21/selector.html#pseudo-element-selectors
  226. # [12:58] <SimonSapin> with a list of properties that apply
  227. # [12:58] <SimonSapin> level 3 modules sometimes say: these properties apply/does not apply on ::first-letter/::first-line
  228. # [13:04] <SimonSapin> unfortunately many parts of GCPM are under-specified, if not just crazy
  229. # [13:04] <SimonSapin> it’s more of a wish-list than a spec
  230. # [13:04] <pjrm> there are a number of issues raised concerning :first-line and (i think perhaps to a lesser extent) :first-letter before CSS 2.1 went to PR. Due to the hurry for CSS2.1, the response to those issues was just to add a note saying that some aspects aren't fully defined by CSS 2.1.
  231. # [13:05] <pjrm> re :first, i might have been thinking of chapter:nth(1).
  232. # [13:06] <SimonSapin> "the sections below do not define the exact rendering of ':first-line' and ':first-letter' in all cases." I’m not sure what that means
  233. # [13:06] <pjrm> me neither :) . As i say, it was added in a bit of a rush.
  234. # [13:07] <pjrm> one of the problems wasn't of undefined behaviour but of contradictorily defined behaviour.
  235. # [13:08] <SimonSapin> I haven’t implemented these either
  236. # [13:10] <pjrm> A google search for "@page chapter:first" produces a few hits.
  237. # [13:12] <pjrm> However, I do get the impression that the idea of "@page chapter:first" (in the sense of first page of each chapter) has now been dropped.
  238. # [13:13] <pjrm> FWIW, my approach to "have different page header on first page of the chapter" was by using named strings.
  239. # [13:15] <pjrm> I achieved different styling for that heading by using a different page-margin box. Both page-margin boxes were displayed all the time, but only one had non-empty content on a given page.
  240. # [13:17] <pjrm> Re gcpm, some of the craziness that glazou objected is relatively recent. The spec didn't strike me as crazy a few years ago.
  241. # [13:20] <pjrm> I think the footnote separator line should be implemented with an image rather than introduce a partial border, but most of that magic does actually seem to be required to get that functionality. Sure, if you were writing it today then you might use flows, but most of the magic would remain.
  242. # [13:21] <pjrm> (magic for footnotes, i mean.)
  243. # [13:21] <SimonSapin> yeah, footnotes are hard
  244. # [13:22] <pjrm> I'm not at all sure that flows are appropriate for doing the PDF outline as glazou suggests.
  245. # [13:23] <pjrm> PDF outline is limited to plain text.
  246. # [13:23] <SimonSapin> yes, bookmarks is one of the better parts of gcpm imo
  247. # [13:24] <SimonSapin> although maybe it’s redundant with the HTML outline algorithm
  248. # [13:25] <pjrm> part of the disagreement seems to come down to intended uses: the current bookmark solution is focused on PDF document outline, whereas glazou is approaching the question from a web browser perspective.
  249. # [13:26] <pjrm> a weakness of using the HTML outline algorithm is that things like floats or "Note/Warning" boxes can have headings, but those headings shouldn't show up in the document outline.
  250. # [13:26] <pjrm> Similarly, you probably don't want a PDF document outline entry for the Table of Contents heading.
  251. # [13:27] <SimonSapin> I see
  252. # [13:27] <SimonSapin> so we need something in CSS to disable some parts of the outline
  253. # [13:27] <SimonSapin> still, I hope they can be unified
  254. # [13:28] <SimonSapin> although traditionally CSS tries not to have anything HTML specific
  255. # [13:29] <pjrm> what does html5 say about the case of "<body><h5>A heading</h5></body>" ? The pdf document outline really wants each outline entry to have a parent.
  256. # [13:29] <SimonSapin> I don’t know
  257. # [13:29] <SimonSapin> that’s undefined with gcpm bookmarks
  258. # [13:30] <pjrm> the main goal was just that css would work well with html. E.g. the css3-gcpm approach was designed to work well with html4, and just happens not to work as elegantly for html5 or some other document arrangements.
  259. # [13:31] * Joins: teoli (~teoli@public.cloak)
  260. # [13:50] <pjrm> 'night.
  261. # [13:50] * Quits: pjrm (~pjrm@public.cloak) ("Leaving.")
  262. # [14:30] * Joins: jarek (~jarek@public.cloak)
  263. # [15:28] * Joins: Ms2ger (~Ms2ger@public.cloak)
  264. # [15:35] * Quits: jarek (~jarek@public.cloak) (jarek)
  265. # [16:13] * Joins: rhauck (~Adium@public.cloak)
  266. # [16:15] * Joins: rhauck1 (~Adium@public.cloak)
  267. # [16:17] * Quits: rhauck (~Adium@public.cloak) (Ping timeout: 60 seconds)
  268. # [16:24] * Joins: lmclister (~lmclister@public.cloak)
  269. # [16:40] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
  270. # [16:40] * Quits: rhauck1 (~Adium@public.cloak) (Client closed connection)
  271. # [17:00] * Joins: cabanier (~cabanier@public.cloak)
  272. # [17:15] * Joins: rhauck (~Adium@public.cloak)
  273. # [17:37] * Joins: krit (~krit@public.cloak)
  274. # [17:39] * Quits: arronei (~arronei@public.cloak) ("")
  275. # [17:41] * Quits: krit (~krit@public.cloak) ("Leaving.")
  276. # [17:44] * Joins: arronei (~arronei@public.cloak)
  277. # [17:49] * Joins: jarek (~jarek@public.cloak)
  278. # [17:49] * Joins: krit (~krit@public.cloak)
  279. # [18:05] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  280. # [18:08] * Joins: Ms2ger (~Ms2ger@public.cloak)
  281. # [18:08] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
  282. # [18:18] * Joins: cabanier (~cabanier@public.cloak)
  283. # [18:34] * Quits: arronei (~arronei@public.cloak) ("")
  284. # [18:36] * Joins: zcorpan (~zcorpan@public.cloak)
  285. # [18:36] * Joins: arronei (~arronei@public.cloak)
  286. # [18:36] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  287. # [18:36] * Joins: zcorpan (~zcorpan@public.cloak)
  288. # [18:44] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 60 seconds)
  289. # [18:56] * Joins: rhauck1 (~Adium@public.cloak)
  290. # [18:57] * Joins: rhauck2 (~Adium@public.cloak)
  291. # [18:57] * Quits: rhauck1 (~Adium@public.cloak) (Client closed connection)
  292. # [18:58] * Quits: rhauck (~Adium@public.cloak) (Client closed connection)
  293. # [19:28] * Quits: SimonSapin (~simon@public.cloak) (Ping timeout: 60 seconds)
  294. # [19:38] * Quits: lmclister (~lmclister@public.cloak) (Ping timeout: 60 seconds)
  295. # [19:39] * Joins: lmclister (~lmclister@public.cloak)
  296. # [19:40] * Quits: rhauck2 (~Adium@public.cloak) ("Leaving.")
  297. # [19:41] * Joins: rhauck (~Adium@public.cloak)
  298. # [19:42] * Joins: rhauck1 (~Adium@public.cloak)
  299. # [19:42] * Quits: rhauck (~Adium@public.cloak) (Client closed connection)
  300. # [19:49] * Joins: isherman-book (~Adium@public.cloak)
  301. # [19:50] * Quits: jarek (~jarek@public.cloak) (jarek)
  302. # [19:54] * Joins: jet (~junglecode@public.cloak)
  303. # [20:06] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 60 seconds)
  304. # [20:19] * leaverou is now known as leaverou_away
  305. # [20:21] * Quits: isherman-book (~Adium@public.cloak) ("Leaving.")
  306. # [20:22] * leaverou_away is now known as leaverou
  307. # [20:25] * Joins: abucur (~abucur@public.cloak)
  308. # [20:35] * Joins: isherman-book (~Adium@public.cloak)
  309. # [20:41] * Quits: isherman-book (~Adium@public.cloak) ("Leaving.")
  310. # [20:43] * Joins: darktears (~darktears@public.cloak)
  311. # [20:53] * Quits: krit (~krit@public.cloak) ("Leaving.")
  312. # [20:53] * Joins: krit (~krit@public.cloak)
  313. # [20:56] * Joins: {Darktears} (~darktears@public.cloak)
  314. # [20:58] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 60 seconds)
  315. # [21:00] * {Darktears} is now known as darktears
  316. # [21:01] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
  317. # [21:05] * Quits: lmclister (~lmclister@public.cloak) (Ping timeout: 60 seconds)
  318. # [21:07] * Joins: lmclister (~lmclister@public.cloak)
  319. # [21:11] * Joins: isherman-book (~Adium@public.cloak)
  320. # [21:13] * Joins: zcorpan (~zcorpan@public.cloak)
  321. # [21:20] * Quits: isherman-book (~Adium@public.cloak) (Ping timeout: 60 seconds)
  322. # [21:26] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 60 seconds)
  323. # [21:32] * Joins: darktears (~darktears@public.cloak)
  324. # [21:41] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
  325. # [21:44] * Joins: isherman-book (~Adium@public.cloak)
  326. # [21:44] * Quits: darktears (~darktears@public.cloak) (Ping timeout: 60 seconds)
  327. # [21:49] * Quits: jet (~junglecode@public.cloak) (Ping timeout: 60 seconds)
  328. # [21:56] * Joins: jet (~junglecode@public.cloak)
  329. # [22:22] * Quits: isherman-book (~Adium@public.cloak) ("Leaving.")
  330. # [22:36] * Joins: jarek (~jarek@public.cloak)
  331. # [22:51] * Joins: SimonSapin (~simon@public.cloak)
  332. # [23:05] * Quits: jet (~junglecode@public.cloak) (jet)
  333. # [23:18] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
  334. # [23:28] * Joins: isherman-book (~Adium@public.cloak)
  335. # [23:30] * Quits: isherman-book (~Adium@public.cloak) ("Leaving.")
  336. # [23:43] * Joins: shanestephens (~shanestephens@public.cloak)
  337. # [23:48] * Joins: zcorpan (~zcorpan@public.cloak)
  338. # [23:51] * Quits: abucur (~abucur@public.cloak) ("Leaving")
  339. # [23:56] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 60 seconds)
  340. # [23:59] * Quits: jarek (~jarek@public.cloak) (jarek)
  341. # Session Close: Wed Mar 20 00:00:00 2013

The end :)