Bug 24893 - Select elements with border and height cause errors to console
Summary: Select elements with border and height cause errors to console
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 12:55 PDT by Eric Seidel (no email)
Modified: 2009-09-22 10:39 PDT (History)
3 users (show)

See Also:


Attachments
test case (use run-safari to see the console output) (62 bytes, text/html)
2009-03-27 12:56 PDT, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2009-03-27 12:55:56 PDT
Select elements with border and height cause errors to console

Test:
<select style="border: 40px solid red; height:12px"></select>

Causes this to print to the console:
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Fri Mar 27 12:54:33 Safari[94904] <Error>: doClip: empty path.
Comment 1 Eric Seidel (no email) 2009-03-27 12:56:24 PDT
Created attachment 29023 [details]
test case (use run-safari to see the console output)
Comment 2 Eric Seidel (no email) 2009-09-21 22:14:31 PDT
iTunes seems to hit this all the time.  At least the movie store does.  My Console is flooded with these.
Comment 3 Eric Seidel (no email) 2009-09-21 22:17:09 PDT
I bet this already has a Radar if some apple person were to search for "doClip".
Comment 4 Adele Peterson 2009-09-21 22:52:04 PDT
A bunch of these were fixed in:

http://trac.webkit.org/changeset/47618
and
http://trac.webkit.org/changeset/47570
Comment 5 mitz 2009-09-22 10:26:52 PDT
I am unable to reproduce the bug with the attached test case and WebKit r48635 on Snow Leopard (64-bit). Is this Leopard-only? 32-bit only?
Comment 6 Eric Seidel (no email) 2009-09-22 10:39:33 PDT
This bug is from long ago, and likely fixed by your previous fixes.  I can reproduce it in Safari 4.0.3 on 10.5.8 on my:
  Model Name:	MacBook Pro 15"
  Model Identifier:	MacBookPro1,1
  Processor Name:	Intel Core Duo
  Processor Speed:	2.16 GHz
  Number Of Processors:	1
  Total Number Of Cores:	2

I haven't tried tip of tree yet, but I will when I get into work.