Summary: | The 'formnovalidate' attribute doesn't work correctly on button elements with child elements | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kunihiko Sakamoto <ksakamoto> | ||||
Component: | Forms | Assignee: | Kunihiko Sakamoto <ksakamoto> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | esprehn+autocc, mibalan, mifenton, ojan.autocc, tkent, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | All | ||||||
URL: | http://jsfiddle.net/unyta/2/ | ||||||
Attachments: |
|
Description
Kunihiko Sakamoto
2013-03-18 01:34:54 PDT
Created attachment 193505 [details]
Patch
Comment on attachment 193505 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=193505&action=review > Source/WebCore/html/HTMLFormElement.cpp:210 > + return static_cast<HTMLFormControlElement*>(node); Oh, we should have toHTMLFormControlElement(). static_cast<> should be avoided. Comment on attachment 193505 [details] Patch Clearing flags on attachment: 193505 Committed r146055: <http://trac.webkit.org/changeset/146055> All reviewed patches have been landed. Closing bug. I tried opening the fiddle in Chrome Canary Version 27.0.1443.2 canary - and it crashed the tab. You might want to take a(nother) look at it. I have tried 27.0.1444.3 canary ant it didn't crash. I believe 27.0.1443.2 canary doesn't include this fix - maybe yow saw a different bug. Yeah, might have been a glitch - it doesn't crash on Canary 27.0.1444.3 for me neither |