Bug 18298

Summary: <input> breaks if id="ra"
Product: WebKit Reporter: Jamie Kennea <jamie>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, jamie
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
HTML code that demonstrates the input box bug none

Jamie Kennea
Reported 2008-04-03 08:34:51 PDT
The following code demonstrates a problem that I am having with both WebKit nightly build and the current Leopard Safari. The code should display two input boxes, but only displays one. The only difference between the two input boxes is the name of the "id" is "RA" instead of "ra". The following code has been checked against the W3C validator and is valid XHTML 1.0 Strict. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" id="top" lang="en"> <head> <title>WebKit Bug</title></head> <body> <p><input name="ra" id="ra" size="8" type="text"></input></p> <p><input name="ra" id="RA" size="8" type="text"></input></p> </body> </html>
Attachments
HTML code that demonstrates the input box bug (384 bytes, application/xhtml+xml)
2008-04-03 08:36 PDT, Jamie Kennea
no flags
Jamie Kennea
Comment 1 2008-04-03 08:36:41 PDT
Created attachment 20313 [details] HTML code that demonstrates the input box bug
Alexey Proskuryakov
Comment 2 2008-04-03 13:20:43 PDT
I cannot reproduce this issue with shipping Safari 3.1 or a current local debug build. Do you have any Safari enhancers/extensions installed? Could you please try removing all of them?
Jamie Kennea
Comment 3 2008-04-03 14:07:27 PDT
OK. Sorry about this, I found out the Safari I was running had a custom stylesheet loaded, disabling that fixed the issue.
Note You need to log in before you can comment on or make changes to this bug.