dwh? :)
David Hyatt
hyatt@apple.com
Wed, 8 Jan 2003 22:08:59 -0800
D'oh, yes. I see. :)
dave
On Wednesday, January 8, 2003, at 09:56 PM, Dirk Mueller wrote:
> On Mit, 08 Jan 2003, David Hyatt wrote:
>
>> Can you explain further why it makes no difference?
>>
>
>>> case ATTR_MARGINWIDTH:
>>> + // Marginwidth applies to both left and right margins -dwh
>>> addCSSLength(CSS_PROP_MARGIN_RIGHT, attr->value() );
>>> + addCSSLength(CSS_PROP_MARGIN_LEFT, attr->value());
>>> /* nobreak; */
>>> case ATTR_LEFTMARGIN:
>>> addCSSLength(CSS_PROP_MARGIN_LEFT, attr->value() );
>>> break;
>
> there is a "nobreak" here, i.e. this is a "fall through" case. I never
> understood why C/C++ made the fall through case default, a "nobreak;"
> keyword would have made more sense. Oh well..
>
>
> --
> Dirk (received 257 mails today)
> _______________________________________________
> Khtml-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel