Sent by Ian Hickson on 17 January 2003 14:02
On Thu, 16 Jan 2003, Michael Ryznar wrote:
>>>
>>> It does not render according to the picture at
>>> http://rpgcn.homelinux.org/css2.1/box.html (quarter of the way down
>>> approx). Neither does several other pieces of code relating to column
>>> positioning and borders.
>>
>> But the image in the CSS 2 spec is not meant to be a pixelperfect
>> rendering of the code.
>
> I think the diagram may be inaccurate.
Yes, a lot of the images in the CSS2.1 spec are illustrative only. The
examples starting in section 9.8 are especially good examples of this --
those are completely not to scale.
The reason we (the working group) don't like to make pixel perfect
examples is that when we do, we always find that we end up doing them 1
pixel wrong, or a slightly wrong colour, etc, and then implementors come
back and say "the spec is all wrong! the spec is all wrong! we tried to do
like the diagram but it disagrees with the spec!" etc.
Making the pictures completely wrong gets around this. :-)
Cheers,
--
Ian Hickson )\._.,--....,'``. fL
"meow" /, _.. \ _\ ;`._ ,.
http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'