The Big Changes (on both sides)
Dirk Mueller
mueller@kde.org
Fri, 10 Jan 2003 03:57:16 +0100
On Don, 09 Jan 2003, David Hyatt wrote:
> <li><ol><li>foo
>
> If you change the orphaned outer <li> to have a list-style-position of
> inside, then the <li> inside the <ol> inherits that inside position
> (improperly). Gecko solved this by implementing a bunch of style rules
> (using descendant selectors). We thought it was cleaner to just hack
> it at the rendering level, thus ensuring that intermediate orphaned
> <li>s never have any effect on the inheritance of the
> list-style-position property.
Hmm. true. Although we spent some time on removing html specific hacks from
the renderin tree :)
The question is if anybody is combining CSS rules using list-style-position
together with this legacy construct. Because otherwise we could just set a
non css hint as outside when we encounter a <ol> or a <ul> in the parser.
Oh well, it probably ends up with the same amount of code.
--
Dirk (received 108 mails today)