Bug 57853

Summary: DeleteButtonController is given invalid style
Product: WebKit Reporter: Levi Weintraub <leviw>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, justin.garcia, mitz, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 50949    
Attachments:
Description Flags
Patch none

Description Levi Weintraub 2011-04-05 08:53:07 PDT
DeleteButtonController::createDeletionUI() sets CSSPropertyWebkitUserModify to CSSValueNone, which is not a valid value for user modify. Instead, it should be CSSValueReadOnly.

I ran into an ASSERT_NOT_REACHED in WebCore::Node::rendererIsEditable() when trying to add the plaintext value to unicode-bidi for 50949. After my new CSS value is added, every test using the DeleteButtonController crashed the same way.

I can't reproduce this without the new CSS value. Anyone know why?
Comment 1 Levi Weintraub 2011-04-05 09:08:24 PDT
Created attachment 88245 [details]
Patch
Comment 2 Levi Weintraub 2011-04-05 09:34:52 PDT
Comment on attachment 88245 [details]
Patch

Clearing flags on attachment: 88245

Committed r82946: <http://trac.webkit.org/changeset/82946>
Comment 3 Levi Weintraub 2011-04-05 09:35:05 PDT
All reviewed patches have been landed.  Closing bug.