/irc-logs / w3c / #css / 2008-08-20 / end

Options:

  1. # Session Start: Wed Aug 20 00:00:00 2008
  2. # Session Ident: #css
  3. # [02:40] * Joins: molly (mollyholzs@70.171.237.207)
  4. # [02:41] * Quits: molly (mollyholzs@70.171.237.207) (Quit: Quitting!)
  5. # [02:45] * Quits: sylvaing (sylvaing@131.107.0.102) (Ping timeout)
  6. # [03:16] * Joins: melinda (melinda.gr@67.142.45.126)
  7. # [07:48] * Quits: MoZ (chatzilla@82.230.92.154) (Quit: ChatZilla 0.9.83 [Firefox 3.0.1/2008070206])
  8. # [10:02] * Joins: alexmog (alexmog@131.107.0.77)
  9. # [10:04] <Bert> Good morning CSS!
  10. # [10:05] * Joins: SteveZ (d5c7928a@128.30.52.43)
  11. # [10:16] * Joins: anne (annevk@213.199.146.138)
  12. # [10:16] * Joins: dbaron (dbaron@213.199.146.138)
  13. # [10:22] * Joins: RRSAgent (rrs-loggee@128.30.52.30)
  14. # [10:22] <RRSAgent> logging to http://www.w3.org/2008/08/20-css-irc
  15. # [10:22] <dbaron> RRSAgent, make logs public
  16. # [10:22] <RRSAgent> I have made the request, dbaron
  17. # [10:22] * Joins: plh (plh@128.30.52.28)
  18. # [10:23] <Bert> Scribe: Bert
  19. # [10:23] <Bert> ScribeNick: Bert
  20. # [10:23] <Bert> Topic: Text layout
  21. # [10:25] <fantasai> Chair: #css
  22. # [10:25] <Bert> People are setting up the projector. Alex will project a demo.
  23. # [10:26] <Bert> Picture on the screen shows many combinations of text directions.
  24. # [10:26] <Bert> Including different positions of scrollbars
  25. # [10:27] <Bert> Fantasai: I think the scrollbar positions are wrong. Should always be in the same place, for usability.
  26. # [10:28] <fantasai> howcome and glazou arrive
  27. # [10:29] <fantasai> Attendees: howcome, dbaron, glazou, salonir, phillippe, jdaggett, stevez, alexmog, bert, fantasai, anne
  28. # [10:33] <plh> s/phil+ip+e/philippe/
  29. # [10:34] <fantasai> peterl walks by the window, will be here soon we hope
  30. # [10:36] <fantasai> +peterl
  31. # [10:36] <fantasai> +rishida
  32. # [10:42] * Joins: plinss_ (plinss_uk@213.199.146.138)
  33. # [10:43] <Bert> Interlude: quick round the table, now that everybody is here.
  34. # [10:50] <Bert> Text layout topic postponed.
  35. # [10:50] <Bert> Topic: CSS 2.1 issues
  36. # [10:52] <Bert> Topic: CSS 2.1 issue 14
  37. # [10:52] <Bert> http://csswg.inkedblade.net/spec/css2.1#issue-14
  38. # [10:53] <Bert> David: Proposal needs replacing. The condition it includes is always true.
  39. # [10:54] <Bert> David: Issue is when element's top & bottom collapses in presence of min-height.
  40. # [10:54] <Bert> David: If min-height happens to be exactly the intrinsic height, spec currently says margins don't collapse.
  41. # [10:55] <Bert> Fantasai: My proposal: don't say less than or equal, but say "effecting height."
  42. # [10:55] <fantasai> s/effect/affect/
  43. # [10:56] <Bert> Fantasai: Bert had some reference to another part of the spec. which might help as well.
  44. # [10:56] <fantasai> Fantasai: alternate proposal, change "less than" to "not affecting" and "greater than" to "not affecting"
  45. # [10:56] <Bert> Steve: David, are you concerned about the word "affect"?
  46. # [10:57] <Bert> David: Yes.
  47. # [10:57] <Bert> Steve: True that height is *always* affected by min-height in a sense...
  48. # [10:57] <fantasai> http://lists.w3.org/Archives/Public/www-style/2008Jul/0586.html
  49. # [10:58] <Bert> Fantasai: This is Bert's message.
  50. # [10:58] <fantasai> ACTION: dbaron write new proposed text for Issue 14
  51. # [10:58] * trackbot noticed an ACTION. Trying to create it.
  52. # [10:58] * RRSAgent records action 1
  53. # [10:58] <trackbot> Created ACTION-91 - Write new proposed text for Issue 14 [on David Baron - due 2008-08-27].
  54. # [10:59] <Bert> Peter: Issue also affects max-height.
  55. # [10:59] <Bert> David: Yes, the action applies to that as well.
  56. # [10:59] <Bert> Peter: Are we sure everybody agrees with the behavior, apart form the wording?
  57. # [10:59] <Bert> David: I can make text before the end of this ftf.
  58. # [11:00] <Bert> Daniel: Let's try to come back to this tomorrow then.
  59. # [11:00] <fantasai> RESOLVED: to change spec so that case where auto height is equal to min/max height margin collapsing is not disabled. Exact wording to be determined later
  60. # [11:00] <fantasai> http://csswg.inkedblade.net/spec/css2.1#issue-42
  61. # [11:01] <Bert> Topic: CSS 2.1 issue 42
  62. # [11:01] <Bert> Fantasai: About static position, should also include assumed 'clear: none'
  63. # [11:01] <Bert> Fantasai: I have no opinion.
  64. # [11:02] <Bert> David: I don't like to think about that...
  65. # [11:02] <fantasai> The suggested addition matches what most UAs do, with the exception
  66. # [11:02] <fantasai> of IE7, but IE8 beta 1 seems to match other UAs now. See [1] for
  67. # [11:02] <fantasai> test details.
  68. # [11:02] <fantasai> er that's not the testcase url
  69. # [11:02] <fantasai> https://bugzilla.mozilla.org/attachment.cgi?id=308701
  70. # [11:03] <Bert> Fantasai: I have a test case that shows that clear is not honored when finding static position.
  71. # [11:05] <Bert> Fantasai: The second blue has the same 'clear' as the first, but is positioned. You can see the second blue is not pushed down as the first one is.
  72. # [11:05] <Bert> Alex: The easier it is to compute the static position the better.
  73. # [11:06] <Bert> Alex: Ignoring clear thus seems right thing to do.
  74. # [11:06] <Bert> Fantasai: No opinion on whther it is better, but at least we have more interop that way.
  75. # [11:06] <Bert> Steve/Daniel: Still confused about what it means...
  76. # [11:07] <Bert> David explains the basic case, 'position: absolute; top: auto'
  77. # [11:07] * Joins: r12a (ishida@128.30.52.30)
  78. # [11:08] <Bert> Steve: It does seem to make sense to use the initial valiue of clear...
  79. # [11:08] <Bert> Fantasai: It makes it easier to express that to say "as if clear had been none."
  80. # [11:09] <Bert> Alex: A number of things happen, becomes block, taken out of flow... so concept of where it *would* have been becomes dificult.
  81. # [11:10] <fantasai> I was saying that if you consider that there may have been text/margins after the cleared-positioned element, then it gets complicated to figure out the static position
  82. # [11:10] <Bert> Alex: Who wants to guess at where it would have been if it had floated!?
  83. # [11:11] <Bert> Alex: For 'display: block', logic is fairly simple: the static pos. is on the next line. For clear there is more work to do.
  84. # [11:11] <Bert> David: It's not that much more complicated, just yet another thing to look at.
  85. # [11:11] <Bert> Peter: And 'clear' can make things move *up* can't it?
  86. # [11:11] <Bert> Fantasai: We ficed the spec that that doens't happen anymore.
  87. # [11:12] <Bert> s/ficed/fixed/
  88. # [11:12] <Bert> David: The spec also says that the UA is free to approximate the position...
  89. # [11:13] * Joins: glazou (daniel@213.199.146.138)
  90. # [11:13] <glazou> yoooooo
  91. # [11:14] * Joins: jdaggett (jdaggett@213.199.146.138)
  92. # [11:14] <jdaggett> ah port 80...
  93. # [11:16] * Quits: plinss_ (plinss_uk@213.199.146.138) (Quit: plinss_)
  94. # [11:16] <Bert> Proposal strawpoll: 3 yes, rest abstains
  95. # [11:16] * Joins: plinss_ (plinss_uk@213.199.146.138)
  96. # [11:18] <Bert> Anne: We're probably OK with changing to the proposal...
  97. # [11:19] <Bert> People are looking at Opera's behavior. Opera seems to apply clear, but also seems to have some problem, maybe with margins.
  98. # [11:19] <Bert> Firefox ignores the clear.
  99. # [11:20] <glazou> Opera has no interoperability issue, it only has a bug :-)
  100. # [11:20] <Bert> IE7 behavior appears difficult to interpret.
  101. # [11:21] <fantasai> Webkit is compatible with Firefox
  102. # [11:21] <fantasai> glazou: apparently the proposal makes sense to all browser vendors
  103. # [11:22] <Bert> Daniel: Seems we have implementations and promises of change, so we can accept the proposal. Is that correct?
  104. # [11:22] <Bert> Alex: IE8 *does* ignore clear, what you see is an artifact of something else.
  105. # [11:23] <fantasai> RESOLVED: accept proposal for Issue 42
  106. # [11:23] <Bert> Topic: CSS 2.1 issue 53
  107. # [11:23] <Bert> http://csswg.inkedblade.net/spec/css2.1#issue-53
  108. # [11:24] <Bert> How does justification work in pre?
  109. # [11:25] <Bert> Topic: CSS 2.1 issue 60
  110. # [11:26] <Bert> The issue is described in a 25-page document...
  111. # [11:26] <fantasai> http://csswg.inkedblade.net/spec/css2.1#issue-48
  112. # [11:26] <Bert> Topic: CSS 2.1 issue 49
  113. # [11:27] <Bert> Topic: CSS 2.1 issue 48 & 49
  114. # [11:27] <fantasai> http://csswg.inkedblade.net/spec/css2.1#issue-49
  115. # [11:27] <Bert> s/Topic: CSS 2.1 issue 49//
  116. # [11:28] <fantasai> dbaron: goal is to use the next available bolder/lighter font
  117. # [11:28] <fantasai> dbaron: definition of computed value used to be incompatible with this
  118. # [11:28] <fantasai> dbaron: we fixed this, but didn't remove the old text completley
  119. # [11:29] <Bert> David describes issue. Computing 'bolder' involves stepping to next available weight. But computed value may be a non-existent weight. Not all text in spec was corrected to reflect that.
  120. # [11:29] <Bert> David: You don't know the available weights and there may also be multiple fonts involved in an element.
  121. # [11:29] <fantasai> jdaggett: Windows has problems with weights. In Windows you have only two weights. On Mac this is more of an issue
  122. # [11:30] <fantasai> glazou does not like the way computed values for font-weight is a tuple when the property takes a single value.
  123. # [11:30] <fantasai> glazou: If the computed value is not a valid value, it is very complex
  124. # [11:30] <fantasai> jdaggett: we have a similar issue with font-stretch, where we have wider and narrower
  125. # [11:30] <Bert> Daniel: I don't like that value is one keyword, but computed value can be *two* keywords. You cannot write down the computed value.
  126. # [11:31] <fantasai> dbaron: whatever we decide for font-weight should also apply to font-stretch
  127. # [11:31] <fantasai> dbaron: the other issue is that the way multiple occurrences of bolder/lighter compound with each other isn't really defined in the spec
  128. # [11:31] <Bert> David: Spec is unclear about sequences of multiple bolder and ligher.
  129. # [11:31] <fantasai> dbaron: you could view the computed value of font-weight as a base weight followed by an ordered sequence of bolders and lighters
  130. # [11:32] <fantasai> dbaron: or you can see it as the sum of bolders and lighters, e.g. bolderx3 or lighterx2
  131. # [11:32] <fantasai> dbaron: this gives different results
  132. # [11:32] <Bert> John: Have to carry around complex datastructures for cases that never happen.
  133. # [11:33] <Bert> John: Want to make it simpler. Bolder just bumps the weight by two steps.
  134. # [11:33] <fantasai> John: We should do something simpler.
  135. # [11:33] <fantasai> John: 400 to 500 usually won't trigger a bolder font
  136. # [11:34] <fantasai> John: bumbing it up to 600 will get you a bolder font, because 500 falls back to normal
  137. # [11:36] <Bert> Discussion about stepping by 100 or 200 and what the effect is if font has *all* weights (synthesized, e.g.).
  138. # [11:36] <fantasai> dbaron: there's three options for what the computed value should be
  139. # [11:36] <Bert> David draws on white board.
  140. # [11:36] * glazou wonders how many users use more than 'normal' and 'bold'
  141. # [11:36] <fantasai> dbaron: Option A, which was vaguely implied in CSS2, is it's some value 100-900
  142. # [11:36] <Bert> David: option A: computed value is a single number 100-900
  143. # [11:37] <fantasai> dbaron: Option B, it's some value 100-900 and then an integer representing the number of bolders/lighters applied
  144. # [11:37] <fantasai> dbaron: option C, it's value 100-900 and then a sequence
  145. # [11:37] <fantasai> dbaron: Difference between B and C ...
  146. # [11:37] <Bert> David: option B: number 100-900 plus the sum of the bolders (+100) and lighters (-100)
  147. # [11:38] <Bert> David: Option C: weight 100-900 and *sequence* of steps bolder and lighter.
  148. # [11:38] <Bert> David: Options B and C are not the same, depending on the fonts.
  149. # [11:38] <fantasai> <span> <span> <span> [jing] B </span> </span> </span>
  150. # [11:39] <Bert> David: Option C is more complex.
  151. # [11:39] <Bert> Steve: Now I understand why this is an edge case... :-)
  152. # [11:40] <glazou> C is better, right, but it's also totally crazy and means nobody will ever use the computed value of font-weight
  153. # [11:40] <Bert> John: The computed style is not itself a useful value in options B/C.
  154. # [11:41] <Bert> Steve: There are many fonts where weights differ in only one step (100).
  155. # [11:41] * fantasai votes for B
  156. # [11:41] <fantasai> :)
  157. # [11:42] <fantasai> glazou: a lot of websites use 'bolder' rather than 'bold'
  158. # [11:42] <Bert> Daniel: Many people who use 'bolder' expect to go from 'normal' to 'bold'.
  159. # [11:42] <fantasai> dbaron: For GetComputedStyle, there are manyt hings you could do. You could look up the fonts and return a numeric value.
  160. # [11:43] <fantasai> dbaron: I'm more concerned about what inherits.
  161. # [11:44] <Bert> Steve: If you mix fonts, option C seems overly complex for little gain in practice. It's the theoretically right way, but is it worth it?
  162. # [11:44] <Bert> David: I think there are problems with C as well.
  163. # [11:45] <fantasai> Peter: Say you have a set font. Later you go bolder. Inside that you go lighter. Shouldn't you be back where you started?
  164. # [11:45] <Bert> Peter: After 'bolder' and 'lighter', don't you expect to be back where you were?
  165. # [11:46] <Bert> Steve: 'bolder' is more reliable, because fonts don't always have bolder weight at 700.
  166. # [11:47] <Bert> Daniel/David: I expect many people use 'bolder' and 'bold' as synonyms.
  167. # [11:47] <glazou> glazou: most web authors don't even know 100-900 values exist...
  168. # [11:48] <Bert> Peter: Saying normal and then bolder, the author expects to see something bolder if it exists, so just bumping by 100 doesn't work.
  169. # [11:49] <Bert> Peter: Trick I used was encoding B all in a single integer, something like 101 stands for weight 100 + 1 times bolder.
  170. # [11:50] <Bert> David: The spec has been modified many times and not always consitently.
  171. # [11:50] * plh hides under the table with he hears DOM Level 2 style spec
  172. # [11:50] * glazou suggests a first break in 15 minutes or after this issue, the earliest
  173. # [11:50] <fantasai> dbaron notes that GetComputedStyle doesn't return the "computed style" in the CSS2.1 sense, but rather the "computed style" of the CSS2 spec, which is more like the "used style" of CSS2.1
  174. # [11:51] <Bert> David: The text I want to remove is that, if there is no darker font, the computed value is bumped by 100.
  175. # [11:52] <fantasai> ... because it is leftover from before we fixed the computed value to use a tuple
  176. # [11:52] <Bert> Peter: If the OS *can* make an arbitrary weight, then that is what the UA should use.
  177. # [11:54] <Bert> David: There were two parts to this issue: removing the text just quoted about unavailable weight, and chosing between options B and C.
  178. # [11:55] <fantasai> John: if you have bolder, bolder, lighter and only two weights available, with B you get bold, with C you get normal
  179. # [11:55] <Bert> John: One typical question is what we expect after normal + blder + bolder + lighter: If font has one bold only, are we back at normal?
  180. # [11:55] <anne> http://hixie.ch/tests/adhoc/css/fonts/weight/
  181. # [11:55] <Bert> s/blder/bolder/
  182. # [11:56] <jdaggett> http://www.hixie.ch/tests/adhoc/css/fonts/weight/002.xml
  183. # [11:56] <anne> http://hixie.ch/tests/adhoc/css/fonts/weight/002.html
  184. # [11:56] <anne> (works prolly better in IE)
  185. # [11:57] * Quits: SteveZ (d5c7928a@128.30.52.43) (Quit: CGI:IRC (Ping timeout))
  186. # [11:57] <dbaron> http://dbaron.org/css/test/2008/font-lighter
  187. # [11:57] <Bert> David gives a simpler test.
  188. # [11:59] <Bert> Moz is bold, Opera is normal, Safari is normal.
  189. # [12:00] <fantasai> Peter: What does the author expect in this case?
  190. # [12:01] <Bert> Peter rephrases the difference between C and B. Does 2 bolder + 1 lighter end up at normal or at bold (if font has only one bold)?
  191. # [12:03] <Bert> John: There are few systems in practice with fonts with multiple weights. Basically only some Macs.
  192. # [12:04] <Bert> Hakon: We need to cater for higher quality fonts, there will be more of them.
  193. # [12:05] <Bert> Steve: Many fonts have weights that are not normal and bold, has to support those.
  194. # [12:05] <Bert> Fantasai: We can't really answer the question what an author expects after bolder+bolder+lighter?
  195. # [12:05] <Bert> s/\?//
  196. # [12:05] <fantasai> because we have no web designers here today
  197. # [12:06] <fantasai> SteveZ: the other important question is should bolder+lighter give you back the normal font?
  198. # [12:06] <fantasai> SteveZ: the sequence won't always do that, if e.g. there is no bolder font but there is a lighter font
  199. # [12:07] <dbaron> Should we take a B vs. C straw poll?
  200. # [12:07] <glazou> yes
  201. # [12:07] <Bert> Steve: Think e.g., about the case that there is no bolder, but there is a lighter one. In option C, normal + bolder + lighter will give you that ligher one, not the normal one. So option C is not correct for this case.
  202. # [12:08] <Bert> Philippe: Maybe this is not worth fixing in the time scale for CSS 2.1.
  203. # [12:10] <Bert> Discussion about whether it is important (and if so, when) that computed value is a "string" in CSS syntax.
  204. # [12:10] <Bert> It's an issue for the DOM, is it also for CSS 2.1?
  205. # [12:11] <Bert> Daniel: Should we do a strawpoll?
  206. # [12:12] <fantasai> Anne: abstain
  207. # [12:12] <fantasai> fantasai: B
  208. # [12:12] <fantasai> Bert: 60% B 40% C
  209. # [12:12] * Joins: SteveZ (d5c7928a@128.30.52.43)
  210. # [12:12] <Bert> John: The behavior and the syntax of the computed value are separate questions.
  211. # [12:12] <fantasai> Rcihard: abstain
  212. # [12:13] <fantasai> Alex: C
  213. # [12:13] <fantasai> Peter: B
  214. # [12:13] <fantasai> Steve: B
  215. # [12:13] <fantasai> John: B
  216. # [12:13] <fantasai> Phillippe: Abstain
  217. # [12:13] <fantasai> Saloni: Abstain
  218. # [12:13] <fantasai> Daniel: 60% B 40% C
  219. # [12:13] <fantasai> David: B
  220. # [12:13] <fantasai> Howcome: B
  221. # [12:15] <fantasai> glazou: Add a note saying that GetComputedStyle is unpredictable for anything aside from normal and bold
  222. # [12:15] <Bert> John: IE already has an extesnion to getcomputedstyle for the font weight.
  223. # [12:16] <Bert> Daniel: Seems we have preference for B, but do we have consensus?
  224. # [12:16] <fantasai> Peter: My concern is what happens when we start getting rich fonts with multiple weights.
  225. # [12:16] <Bert> Peter: I want to be sure that result is intuitive for fonts with more than two weights.
  226. # [12:17] <Bert> Peter: Imagine a font with seven weights and he does lots of 'bolder' and maybe one lighter, but then the page gets displayed on a system with just one bold.
  227. # [12:18] <Bert> Peter: We need to describe what we want 'bolder' to really *mean*. Different people have a different interpretation.
  228. # [12:19] <Bert> Daniel: Take a break and come back a bit later?
  229. # [12:19] <Bert> Fantasai: Could ask Molly and Jason, but maybe can also just resolve it now.
  230. # [12:19] <fantasai> RESOLVED: Accepted proposal for Issue 48
  231. # [12:19] <fantasai> (49 still open)
  232. # [12:20] <Bert> [Break 15 mins]
  233. # [12:33] * Joins: shepazu (schepers@128.30.52.30)
  234. # [12:38] <Bert> Daniel: Extra agenda for Friday: charter
  235. # [12:38] <glazou> hi doug
  236. # [12:39] <Bert> Daniel: ... about process, milestones, etc., and explaining things to Philippe.
  237. # [12:40] <Bert> Back to issue 49.
  238. # [12:40] <Bert> Alex: Not sure the implementations will want to change.
  239. # [12:40] <Bert> Peter: How about in a future version?
  240. # [12:41] <Bert> Alex: Maybe designers should avoid 'bolder' and 'lighter' and we should say so in the spec.
  241. # [12:41] <Bert> Alex: Because it may have effect on soem systems and not on others.
  242. # [12:43] <Bert> Richard: You were trying to find out how people use it. Should maybe ask that of some actual users.
  243. # [12:43] * Quits: glazou (daniel@213.199.146.138) (Quit: switching to daniel.glazman account)
  244. # [12:44] <Bert> John: We're defining edge case behavior. Should not say "don't use this" because in a world with two weights, it works as expected.
  245. # [12:45] <Bert> Fantasai: Even if we don't say anything in level 2, we should be precise in level 3.
  246. # [12:45] <Bert> Philippe: But there is something in level 2 already.
  247. # [12:45] * Joins: glazou (daniel@213.199.146.138)
  248. # [12:46] <Bert> John: How about font-stretch: wider?
  249. # [12:46] <fantasai> http://www.w3.org/blog/CSS/2007/08/29/backlog_resolutions
  250. # [12:46] <fantasai> "RESOLVED: The Markus Principle: ..." :)
  251. # [12:46] <Bert> Peter: Only reason to not define in CSS 2.1 mightbe that we have differing implementations.
  252. # [12:47] <Bert> Peter: But still want to decide what we'll have in level 3, even if we leave level 2 undefined.
  253. # [12:47] <Bert> Alex: Feedback from designers is necessary here.
  254. # [12:47] <Bert> Fantasai: Can Peter take an action to ask Molly and others?
  255. # [12:48] <Bert> Discussion about leaving it undefined in level 2 and under what conditions.
  256. # [12:49] * Joins: myakura (myakura@118.8.102.216)
  257. # [12:49] <Bert> Fantasai: OK with leaving CSS 2.1, as long as we decide what to do for level 3.
  258. # [12:49] <Bert> Daniel: Or just say that we will resolve for level 3, without saying what way.
  259. # [12:50] <fantasai> SteveZe: "A sequence of bolders and lighters may have different results in different UAs."
  260. # [12:50] <Bert> Steve: We can put a note that sequences of bolder and lighter may have different results on different sstems.
  261. # [12:50] <fantasai> Fantasai: add that this will be defined in CSS3
  262. # [12:51] <Bert> Daniel: "Seq. of bolder and lighter may have unpredictable result in level 2, but will be defined in level 3."
  263. # [12:51] <fantasai> Peter: Add dependence on UA, OS, and font availability
  264. # [12:51] <fantasai> Peter: So authors know how widely they need to test
  265. # [12:51] <fantasai> ACTION: fantasai Draft a note
  266. # [12:51] * trackbot noticed an ACTION. Trying to create it.
  267. # [12:51] * RRSAgent records action 2
  268. # [12:51] <trackbot> Created ACTION-92 - Draft a note [on Elika Etemad - due 2008-08-27].
  269. # [12:51] <anne> [off] plh, so the difference between the HTML and XML version of 001 is that 001.html has font-size:2em and 001.xml has font-size:1em :)
  270. # [12:51] <plh> [off] ah, that explains indeed :)
  271. # [12:52] <fantasai> RESOLVED: Leave undefined in CSS2.1, add note as described above
  272. # [12:52] <fantasai> for ISSUE 49
  273. # [12:52] <fantasai> ACTION: Peter Consult Jason, Molly, other web designers, about what is expected behavior for bolder + lighter, bolder+bolder+lighter
  274. # [12:52] * trackbot noticed an ACTION. Trying to create it.
  275. # [12:52] * RRSAgent records action 3
  276. # [12:52] <trackbot> Created ACTION-93 - Consult Jason, Molly, other web designers, about what is expected behavior for bolder + lighter, bolder+bolder+lighter [on Peter Linss - due 2008-08-27].
  277. # [12:53] <Bert> Philippe: Can you add an issue on CSS3 Fonts about this, so that it doens't get lost?
  278. # [12:53] <Bert> Fantasai: Doing it right now...
  279. # [12:54] <Bert> Philippe: And can you add the test cases to that issue?
  280. # [12:55] <fantasai> ISSUE-61 recorded against CSS3 Fonts
  281. # [12:55] <Bert> Topic: CSS 2.1 issue 52
  282. # [12:55] <dbaron> http://lists.w3.org/Archives/Public/www-style/2008Aug/0154.html
  283. # [12:56] <fantasai> http://csswg.inkedblade.net/spec/css2.1#issue-52
  284. # [12:57] <Bert> Issue is about practice of putting page-break on BR, which is not allowed by spec (unless BR is made a 'block')
  285. # [12:58] <Bert> David: Seems page-break is a bit like clear, for which we allow UAs to apply it to inlines.
  286. # [12:58] <Bert> Alex: Think it should apply only to BR, not to all inlines.
  287. # [12:58] <Bert> Bert: What is the difference between BR and SPAN?
  288. # [13:00] <Bert> Alex: Not a lot of interoperability on BR, e.g., applying :before to it.
  289. # [13:00] <fantasai> br { content: '\A'; white-space: pre; }
  290. # [13:00] <fantasai> but need to make 'clear' apply specially
  291. # [13:00] <Bert> Anne: That (Fantasai's rule) is what Opera does,
  292. # [13:00] <fantasai> Anne: That's how Opera implements <br>
  293. # [13:01] <Bert> Alex: What is the size and position of BR in Opera in DOM?
  294. # [13:01] <Bert> Fantasai: Same as <span> with a line feed...
  295. # [13:02] <Bert> Daniel: A 'page-break-before' on BR puts a blank line at the top of the page.
  296. # [13:03] <Bert> Steve: Whether page break applies shoudl depend on how the elt is styled, in particular whether it is block-level.
  297. # [13:04] <Bert> Daniel: One use case is a BODY consisting of nothing but text and BR. Want to break page at some BR.
  298. # [13:05] <fantasai> ... or <pre> and <br>
  299. # [13:05] <Bert> Daniel: Users of word processors often work like that: turn some line break into a page break.
  300. # [13:05] <anne> (Opera's behavior with respect to the interaction of 'content', 'clear', and <br> is slightly weird.)
  301. # [13:06] <Bert> Steve: 'last-line-align' applies to last line before the BR.
  302. # [13:06] * Quits: shepazu (schepers@128.30.52.30) (Ping timeout)
  303. # [13:06] <anne> (The moment you use 'content' on <br> it no longer has special 'clear' behavior, even if it is "\A".)
  304. # [13:06] * plh fantasai, be aware that issue 66 has a markup error for its status in the wiki
  305. # [13:06] <Bert> Steve: So it looks also like a natural break point. It *looks* like a paragraph.
  306. # [13:07] * plh thank you :)
  307. # [13:07] <Bert> Daniel: BR could be used for page breaks as well. HTML doesn't have a page break element, but could imagine <BR TYPE=PAGE>
  308. # [13:07] <fantasai> fantasai: The same applies to '\A' in a white-space: pre element
  309. # [13:08] <Bert> Saloni: What if we apply page breaks to all elements, not only block-level?
  310. # [13:08] <Bert> Fantasai: We would make an exception for HTML: page break applies to block-level, except in HTML it also applies to...
  311. # [13:09] <Bert> Steve: Everywhere where last-line-align applies should also accept page break properties.
  312. # [13:10] <anne> fantasai, (since people are talking) you could just define some special construct and then HTML5 says that <br> is such a construct
  313. # [13:10] <Bert> David: Lines in PRE also have last-line-align' applied.
  314. # [13:10] <anne> fantasai, then magic langauges work too
  315. # [13:10] <Bert> David: Which of many "last" lines has the page break applied to?
  316. # [13:11] <Bert> Fantasai: Imagine a pre, *all* lines would have page break properties applied.
  317. # [13:12] <Bert> Steve: The alternative is that 'last-line-align' doens't apply.
  318. # [13:12] <Bert> Fantasai: The 'last-line-align' applies because there is a forced line break.
  319. # [13:13] <Bert> Steve: I wouldn't call that an inline element.
  320. # [13:14] <Bert> David: Maybe the term [inline] is not fully intuitive, but it *is* precisely defined.
  321. # [13:15] <Bert> Daniel: What about some XML format (because there are many now), where I want to turn some element into a page break? Think MS Word.
  322. # [13:16] <Bert> Alex: Many cases: line breaks, page breaks, paragraph breaks, and any of there with or without last line behavior.
  323. # [13:16] <anne> s/langauges/languages/
  324. # [13:16] <Bert> Alex: Seems we need 'display: break'
  325. # [13:17] <Bert> Peter: Steve's argument is a negative argument. He says *if* we do this then we have to do that. Not that we have to do "that."
  326. # [13:18] <Bert> Anne: Just adding 'display: block' when needed to make an element into a page break element is not a big deal.
  327. # [13:19] <Bert> Daniel: Consider editing perspective. It's easy to insert an empty element.
  328. # [13:19] <fantasai> br { white-space: pre; content: '\A'; }
  329. # [13:19] <Bert> Fantasai: Just insert an empty element with both page break and display:block
  330. # [13:19] <fantasai> br[type="page"] { display: block; content: none; page-break-before: always; }
  331. # [13:20] <Bert> Daniel: But we can't reproduce HTML's BR in XML.
  332. # [13:20] <Bert> Hakon: Yes you can, the sample style sheet shows how.
  333. # [13:21] <Bert> Fantasai: Anne and I are saying that you can get the functionality you want in XML.
  334. # [13:21] <fantasai> Fantasai: just without the quirkcs
  335. # [13:22] <Bert> Anne: Or we introduce an abtract magic element and then any language can decalre that some element act as that magic element.
  336. # [13:23] <Bert> Several people explain the problem of sequences of BR. The second and subsequent ones cannot be 'block' because they shouldn't collapse.
  337. # [13:24] <Bert> Hakon: Can solve that with selectors, BR + BR.
  338. # [13:24] <anne> http://www.joelonsoftware.com/articles/fog0000000018.html
  339. # [13:25] <Bert> Fantasai: The quirky behavior of BR is that 'clear' applies.
  340. # [13:25] <Bert> Peter: Now imagine I want to set 'content' on my BR, I lose the line breaking behavior.
  341. # [13:25] <Bert> Several: Just add the \A as well.
  342. # [13:26] <Bert> Peter: I want an extra property, or a 'display' value, for BR.
  343. # [13:27] <Bert> Hakon: But that doesn't work in current browsers.
  344. # [13:28] <Bert> Steve comes back to what "inline" means, doesn't think a \A can be called "inline."
  345. # [13:29] <Bert> Fantasai: So you don't want to call the span in "<pre>foo <span>[linebreak]</span> bar</pre>" inline? In CSS it is defined as inline.
  346. # [13:29] <Bert> Daniel: The width of the line box before the break is different.
  347. # [13:29] <fantasai> s/[linebreak]/test[linebreak]test/
  348. # [13:30] <Bert> Hakon: Really? And does that matter at all?
  349. # [13:30] <Bert> Daniel: You can ask for the bounding rect of Fantasai's SPAN in the DOM. But it may not be relevant for this discussion.
  350. # [13:31] <Bert> Saloni: Do we all agree that page break applies to BR, independent of how we explain it?
  351. # [13:32] <Bert> Bert: No, don't make exceptions for HTML.
  352. # [13:32] <Bert> Alex: We (IE) have a special 'display' tupe (more or less) for BR.
  353. # [13:32] <Bert> Hakon: What then happens in IE if I set :before{content:"\A"} on the BR?
  354. # [13:34] <Bert> Hakon: Is that display type hardcoded? Or can you override it with a style rule?
  355. # [13:34] <Bert> Steve: Can you change BR to list-item?
  356. # [13:34] <Bert> Hakon: Should work in Opera, yes.
  357. # [13:34] <Bert> Peter: How can a user override the rules?
  358. # [13:35] <Bert> Peter: I like there to be a simple rule to make the BR behave one way or another. Make it not break a line, e.g.,