change list for WebCore/JavaScriptCore version 60

David Hyatt hyatt@apple.com
Fri, 14 Feb 2003 17:23:49 -0800


On Friday, February 14, 2003, at 04:58 PM, Dirk Mueller wrote:

> On Fre, 14 Feb 2003, David Hyatt wrote:
>
>> This was added because of the rewrite of the inline box model, which
>> requires a new mode, "Almost Strict" mode, to deal with line-height
>> calculations of inlines.  I wouldn't bother merging it in for now.
>
> I see. Any details on whats wrong with the inline boxing model ?
>

Here are a few of the things I'm fixing:
1. TextSlaves paint the backgrounds/borders/outlines of their parent 
inlines.  This means you can end up painting in the wrong places (or 
not painting at all) when another inline gets in the way, e.g., 
<a>First <i>Second</i> Third</a>.
2. Text-decoration is painted by the text runs, when it should be drawn 
by the parent inline element (and able to extend under/through elements 
like images and form controls.
3. Space isn't left for descent on lines with no text (e.g., 
<td><img></td>).  In strict mode that space should be left (this issue 
is the reason "almost strict" mode needs to exist).
4. There are numerous issues with :first-line as well.

Basically the code I'm working on now makes boxes for inlines (just as 
RenderText makes TextSlaves for its runs).  The inline boxes are doing 
their own painting of their borders/backgrounds and text decorations.

dave