- From: Alan Gresley <alan@css-class.com>
- Date: Wed, 25 Aug 2010 13:09:49 +1000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: Anton Prowse <prowse@moonhenge.net>, www-style list <www-style@w3.org>, www-style@gtalbot.org
Boris Zbarsky wrote:
> On 8/24/10 6:19 PM, Anton Prowse wrote:
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/block-non-replaced-width-008.html
>>>
>>>
>>> I mean here
>>> a) there should be no red
>>> b) the calculations given in the source code are correct
>>>
>>> That test has its own importance because, right now, there is diverging
>>> implementations among browsers.
>>
>> Looks right to me. Who's getting this wrong?
>
> Webkit.
>
> -Boris
Agree. I don't quite follow what WebKit is doing but it is seen in the
initial test case by Gérard. I have altered Gérard test case slightly.
<http://css-class.com/test/block-non-replaced-width-008-gtalbot.htm>
What is happening is something like this, there is visual overflow.
(note: [containing block] ei. [] = 0)
[ 200px | 200px | 200px | etc
con-bl [] padding-right | border-right |
child [] border-right | margin-right |
* --- negative margin of div#child ---*
:after [ width ]
--
Alan http://css-class.com/
Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Wednesday, 25 August 2010 03:10:22 UTC