- From: Simon Pieters <simonp@opera.com>
- Date: Wed, 11 Feb 2009 07:31:43 +0100
- To: "Ian Hickson" <ian@hixie.ch>, "L. David Baron" <dbaron@dbaron.org>, "Olivier GENDRIN" <olivier.gendrin@gmail.com>, "Anne van Kesteren" <annevk@opera.com>, "Lachlan Hunt" <lachlan.hunt@lachy.id.au>, "Boris Zbarsky" <bzbarsky@mit.edu>
- Cc: public-html <public-html@w3.org>
On Wed, 11 Feb 2009 04:07:19 +0100, Ian Hickson <ian@hixie.ch> wrote: >> When a Document is in quirks mode, margins on HTML elements that >> collapse with the top or bottom of the initial containing block are >> expected to be collapsed to zero. >> >> I think this should be more general, sort of like: >> >> :first-child { margin-top:0 } >> :last-child { margin-bottom:0 } >> >> ...but I haven't looked into whether that matches reality or not. > > That CSS definitely doesn't match reality. I'm not sure if my english > prose does either, though. Are there cases that I missed that aren't > covered by existing CSS spec text? I was thinking of e.g. this case: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cstyle%3E%20td%20%7B%20border%3Asolid%20%7D%20%3C%2Fstyle%3E%0A%3Ctable%3E%3Ctd%3E%3Cp%3Ex%3Cdiv%3Ex%3C%2Fdiv%3E%3Cp%3Ex > On Wed, 4 Feb 2009, Anne van Kesteren wrote: >> >> Only Firefox (maybe WebKit?) seems to have display:block for multicol. I >> could not find a browser that has it for spacer. So these two elements >> should be removed from that list I think. (Thanks to Simon.) > > Dropped multicol. Couldn't find mention of spacer in the rendering > section. I think Anne meant 'layer'. :-) > On Fri, 6 Feb 2009, Simon Pieters wrote: >> >> The spec contains the following defaults for <figure>: >> >> div, dl, dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hr, >> html, layer, legend, listing, menu, multicol, nav, ol, p, plaintext, >> pre, rp, section, ul, xmp { display: block; } >> >> blockquote, figure { margin-left: 40px; margin-right: 40px; } >> >> th, figure > legend { text-align: center; } >> >> Let's it... >> >> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3 >> >> Hmm, not really satisfying for me. The captions are off. If you try >> figure { float:right } the first one looks ok but the second looks >> weird. > > Removed centering of <legend>. AFAICT it's still there: th, figure > legend { text-align: center; } -- Simon Pieters Opera Software
Received on Wednesday, 11 February 2009 06:33:04 UTC