Bug 14245 - Underline painted under <br>, not repainted properly
Summary: Underline painted under <br>, not repainted properly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://docs.info.apple.com/article.ht...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 13:45 PDT by mitz
Modified: 2007-06-25 03:29 PDT (History)
0 users

See Also:


Attachments
Do not paint zero-width underlines, paint short underlines properly (27.97 KB, patch)
2007-06-20 14:47 PDT, mitz
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-06-20 13:45:50 PDT
In the URL, there are two-pixel long black lines right above the "Standalone Installer" and "USB" headings. They are apparently underlines painted under <br>s. Highlighting nearby text deletes one of the pixels, and forcing a repaint restores it.
Comment 1 mitz 2007-06-20 13:54:23 PDT
The underline painting under <br> seems to be a feature of strict mode. This is a reduction:
<!DOCTYPE HTML><u><br>foo</u>
Comment 2 mitz 2007-06-20 14:47:57 PDT
Created attachment 15147 [details]
Do not paint zero-width underlines, paint short underlines properly
Comment 3 Darin Adler 2007-06-21 23:42:10 PDT
Comment on attachment 15147 [details]
Do not paint zero-width underlines, paint short underlines properly

r=me
Comment 4 Mark Rowe (bdash) 2007-06-25 03:29:43 PDT
Landed in r23761.