Bug 26656 - [Chromium] Fix crash with inherited font-size in <option>
Summary: [Chromium] Fix crash with inherited font-size in <option>
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2009-06-23 13:22 PDT by Adam Langley
Modified: 2009-06-24 14:11 PDT (History)
1 user (show)

See Also:

patch (2.12 KB, patch)
2009-06-23 13:23 PDT, Adam Langley
no flags Details | Formatted Diff | Diff
patch (2.12 KB, patch)
2009-06-23 13:25 PDT, Adam Langley
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Langley 2009-06-23 13:22:34 PDT
In r42597 (https://bugs.webkit.org/show_bug.cgi?id=25244), I changed the <select> handing for Chromium to fix a rendering bug. However, although the font-size is correctly ignored, getRowHeight wasn't updated and so was calculating the height of the rows in an inconsistent manner. This can lead to a crash.

Comment 1 Adam Langley 2009-06-23 13:23:53 PDT
Created attachment 31729 [details]
Comment 2 Adam Langley 2009-06-23 13:25:52 PDT
Created attachment 31730 [details]

Wrong bug link, should be http://code.google.com/p/chromium/issues/detail?id=14853
Comment 3 Eric Seidel (no email) 2009-06-23 17:40:33 PDT
Comment on attachment 31730 [details]

If you're intending the test change to test the crash, you need to add a comment to both the test and the ChangeLog.  Since you're a committer, you can do that when you land.

Is it not possible to test this change with LayoutTest instead of a manual-test?
Comment 4 Adam Langley 2009-06-23 19:34:23 PDT
> Is it not possible to test this change with LayoutTest instead of a
> manual-test?

I tried all manner of window.eventSender ticks to try and get it to trigger the crash, but none of them worked. Testing doesn't work very well with <selects>.