Re: Notes about WebCore
Re: Notes about WebCore
- Subject: Re: Notes about WebCore
- From: Greg Titus <email@hidden>
- Date: Wed, 8 Jan 2003 16:01:41 -0800
On Wednesday, January 8, 2003, at 01:18 PM, John Siracusa wrote:
When did they announce this? They did say they were changing the
layout
engine for OW5 to stop using NSViews as their unit of page construction
(they apparently ended up with way too many relatively heavyweight
NSViews
in complex pages). But I'm pretty sure they will continue to use
native
Cocoa widgets (text boxes, pop-up menus, etc.) in web pages.
Yes, this is exactly right.
On 1/8/03 2:52 PM, Philippe Mougin wrote:
WebCore uses native Cocoa widgets for the content of the
web pages it displays: NSButton, NSTextField, NSTextView,
NSPopupButton
etc.
Does anyone know if these classes are capable of any type of appearance
modification? I'm not even sure if this is required by the CSS
spec(s), but
I know IE5 does it.
(What I mean is making pop-up menus have blue text and a red
background, and
so on.)
It is part of CSS2, and no, the Cocoa widgets as-is do not have all of
the appearance modification stuff that CSS2 allows. It probably
wouldn't be hard to write subclasses of the Cocoa widgets that did,
though.
- Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.