/irc-logs / w3c / #css / 2010-08-06 / end

Options:

  1. # Session Start: Fri Aug 06 00:00:00 2010
  2. # Session Ident: #css
  3. # [00:18] <tabatkins> fantasai: Yeah.
  4. # [00:19] <tabatkins> k, sent. I'll link it into the thread when it shows up in the archives.
  5. # [00:19] <fantasai> thanks :)
  6. # [00:20] <tabatkins> btw, can you double-check that I'm right wrt auto positioning of abspos being explicitly left up to the browser?
  7. # [00:23] * Quits: miketaylr (miketaylr@24.42.95.108) (Quit: miketaylr)
  8. # [00:27] <fantasai> tabatkins: "But rather than actually calculating the dimensions of that hypothetical box, user agents are free to make a guess at its probable position. " ?
  9. # [00:27] <fantasai> tabatkins: That leaves a lot open.
  10. # [00:27] <fantasai> tabatkins: I don't think that means we should make no tests
  11. # [00:28] <fantasai> tabatkins: we should make tests, but they will be optional for conformance
  12. # [00:28] <fantasai> tabatkins: more passes would mean you have better guessing algorithms :)
  13. # [00:32] <tabatkins> Okay, sounds good.
  14. # [03:06] <tabatkins> dbaron: Yo, got a testcase of margin-collapsing differing between IE/Webkit and Firefox/Opera, and I believe I've traced the difference to the exact place where my email from today suggests a minor normative change.
  15. # [03:06] <tabatkins> Namely, in 9.5.2, "This position is determined after the top margin of the element has been collapsed with previous adjacent margins (including the top margin of the parent block)."
  16. # [03:07] <tabatkins> I'm suggesting to change "previous adjacent margins" to "adjoining margins". That changes the behavior of the following test-case:
  17. # [03:07] <tabatkins> <div style="float: left; width: 100px; height: 100px; background-color: green"></div>
  18. # [03:07] <tabatkins> <div style="clear: left; margin-top: 10px; margin-bottom: 40px; outline: 2px solid orange;"></div>
  19. # [03:07] <tabatkins> <div style="background-color: blue;">I'm a helper element.</div>
  20. # [03:08] <tabatkins> If you use "previous adjacent margins", you calculate clearance using only the 10px top margin, which is what FF and Opera do, producing a 30px gap between the clearing element and the blue div.
  21. # [03:08] <tabatkins> If you use "adjoining margins", you calculate clearance using the 40px collapsed margin, which is what IE and Webkit do, from what I can tell.
  22. # [03:09] <tabatkins> So... opinion on the value of the change?
  23. # [03:56] <dbaron> well, it makes incremental layout harder
  24. # [03:57] <dbaron> (in theory anyway, not sure whether it does in practice)
  25. # [03:58] <dbaron> another issue with that is that it's not clear what happens if there are two elements with 'clear' within the same margin collapse
  26. # [03:59] <dbaron> at the very least you'd have to say "presuming that no later elements or descendants of the element have clearance"
  27. # [04:00] <dbaron> but that, in itself, seems a little odd
  28. # [04:03] <dbaron> and could lead to the clearance not, in fact, causing the element to clear the floats
  29. # [04:04] <dbaron> er, maybe not
  30. # [04:08] <dbaron> actually, I think it could cause a clear not to clear the floats
  31. # [04:08] <dbaron> though I'd need to work it out
  32. # [04:09] <dbaron> the testcase would involve both 'clear: left' and 'clear: right' on different elements with, with both introducing clearance, but without the margins such that margins would collapse through everything. I think in such a case it may be possible to make the first clear not clear the floats with that rule change.
  33. # [04:25] <dbaron> I probably need to think about it more. But my current inclination is that I prefer the current spec's way since it's easier to reason about.
  34. # [04:25] <dbaron> tabatkins, ^
  35. # [05:00] * Joins: miketaylr (miketaylr@24.42.95.108)
  36. # [05:33] * Quits: dbaron (dbaron@63.245.220.240) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  37. # [06:00] * Joins: dydz (dydz@76.202.117.247)
  38. # [06:47] * Joins: dbaron (dbaron@98.234.51.190)
  39. # [06:58] * Quits: Curt` (DorkeyDear@76.241.81.242) (Quit: Leaving)
  40. # [07:11] * Quits: miketaylr (miketaylr@24.42.95.108) (Quit: miketaylr)
  41. # [07:21] * Quits: nimbupani (nimbupani@24.22.131.46) (Quit: nimbupani)
  42. # [08:13] * Quits: dbaron (dbaron@98.234.51.190) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  43. # [08:26] * Quits: dydz (dydz@76.202.117.247) (Quit: dydz)
  44. # [09:47] * Joins: paul_irish (paul_irish@76.21.40.62)
  45. # [12:42] * Disconnected
  46. # [12:44] * Attempting to rejoin channel #css
  47. # [12:44] * Rejoined channel #css
  48. # [12:44] * Topic is 'CSS Working Group discussion'
  49. # [12:44] * Set by fantasai on Mon Aug 02 00:49:50
  50. # [12:44] * Joins: Peter` (peter@85.223.116.170)
  51. # [12:45] * Peter` is now known as Peter
  52. # [13:07] * Quits: Hixie (ianh@129.241.93.37) (Ping timeout)
  53. # [14:18] * Joins: miketaylr (miketaylr@24.42.95.108)
  54. # [14:27] * Quits: miketaylr (miketaylr@24.42.95.108) (Client exited)
  55. # [16:15] * Joins: miketaylr (miketaylr@38.117.156.163)
  56. # [16:49] * Joins: nimbupani (nimbupani@24.22.131.46)
  57. # [17:14] * Joins: Curt` (DorkeyDear@76.241.81.242)
  58. # [17:59] * Quits: arronei (arronei@131.107.0.71) (Ping timeout)
  59. # [18:04] * Joins: dbaron (dbaron@98.234.51.190)
  60. # [18:05] * Joins: arronei (arronei@131.107.0.106)
  61. # [18:13] * Joins: Hixie (ianh@129.241.93.37)
  62. # [20:56] * Quits: dbaron (dbaron@98.234.51.190) (Quit: 8403864 bytes have been tenured, next gc will be global.)
  63. # [21:23] * Joins: dbaron (dbaron@63.245.220.240)
  64. # [22:03] * Quits: paul_irish (paul_irish@76.21.40.62) (Client exited)
  65. # [22:13] * Quits: miketaylr (miketaylr@38.117.156.163) (Client exited)
  66. # [22:17] * Joins: miketaylr (miketaylr@38.117.156.163)
  67. # [22:21] * Quits: miketaylr (miketaylr@38.117.156.163) (Client exited)
  68. # Session Close: Sat Aug 07 00:00:00 2010

The end :)