Bug 112767

Summary: Remove unnecessary calls to Node::disabled for <meter>, <progress>, and <output>
Product: WebKit Reporter: Matt Falkenhagen <falken>
Component: Layout and RenderingAssignee: Matt Falkenhagen <falken>
Status: RESOLVED FIXED    
Severity: Normal CC: esprehn+autocc, mifenton, morrita, ojan.autocc, tkent, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 112085    
Attachments:
Description Flags
Patch none

Description Matt Falkenhagen 2013-03-19 18:22:45 PDT
The calls were added in http://trac.webkit.org/changeset/86526. disabled() never returns true for these elements, so we don't have to consider disabled() in supportsFocus(), and can just use HTMLElement::supportsFocus. Since HTMLMeterElement and HTMLProgressElement no longer inherit from HTMLFormControlElement, we don't need to override supportsFocus() at all.
Comment 1 Matt Falkenhagen 2013-03-19 18:30:56 PDT
Created attachment 193963 [details]
Patch
Comment 2 Kent Tamura 2013-03-20 15:54:03 PDT
Comment on attachment 193963 [details]
Patch

ok
Comment 3 WebKit Review Bot 2013-03-20 17:12:00 PDT
Comment on attachment 193963 [details]
Patch

Clearing flags on attachment: 193963

Committed r146417: <http://trac.webkit.org/changeset/146417>
Comment 4 WebKit Review Bot 2013-03-20 17:12:03 PDT
All reviewed patches have been landed.  Closing bug.