Bug 11255 - Links with nested continuations fail to paint their outlines
Summary: Links with nested continuations fail to paint their outlines
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-10-11 11:23 PDT by Beth Dakin
Modified: 2007-05-10 03:36 PDT (History)
0 users

See Also:


Attachments
Test case (82 bytes, text/html)
2006-10-11 11:24 PDT, Beth Dakin
no flags Details
Improve continuation outline painting a lot. (4.35 KB, patch)
2007-05-10 03:20 PDT, Dave Hyatt
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2006-10-11 11:23:19 PDT
This should draw an outline but doesn't:

<a href="http://www.apple.com" style="outline:10px auto purple"><h3>Hello</h3></a>
Comment 1 Beth Dakin 2006-10-11 11:24:13 PDT
Created attachment 11034 [details]
Test case

Here is the above html attached as a test case.
Comment 2 Beth Dakin 2006-10-11 11:33:20 PDT
<rdar://problem/4778099>
Comment 3 Dave Hyatt 2006-10-11 14:26:27 PDT
The reason the outline doesn't paint is that there is no line box for the <a>.

I think there may also be an issue with outline painting when the dirty rect while painting doesn't intersect the first <a>.  (This could come up more often with printing when the continuation splits across page breaks).
Comment 4 Dave Hyatt 2007-05-10 03:20:46 PDT
Created attachment 14456 [details]
Improve continuation outline painting a lot.
Comment 5 mitz 2007-05-10 03:32:57 PDT
Comment on attachment 14456 [details]
Improve continuation outline painting a lot.

r=me!
Comment 6 Dave Hyatt 2007-05-10 03:36:12 PDT
Fixed in r21363.