Bug 121058

Summary: Remove HTMLTextFormControl::fixPlaceholderRenderer
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: FormsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, kling, koivisto, tkent
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 87155    
Bug Blocks: 120685, 121073    
Attachments:
Description Flags
Cleanup tkent: review+

Description Ryosuke Niwa 2013-09-09 16:31:15 PDT
Observe:

-void HTMLTextFormControlElement::fixPlaceholderRenderer(HTMLElement* placeholder, HTMLElement* siblingElement)
-{
-    // FIXME: We should change the order of DOM nodes. But it makes an assertion
-    // failure in editing code.

That's because the assertion is bogus.
Comment 1 Ryosuke Niwa 2013-09-09 17:04:27 PDT
Created attachment 211121 [details]
Cleanup
Comment 2 Ryosuke Niwa 2013-09-09 17:08:49 PDT
I guess I should mention that this was inspired by https://chromium.googlesource.com/chromium/blink/+/2abaaaad08b1b5802da65a8797f4bec721eec952 but my patch is nothing like Blink's.
Comment 3 Kent Tamura 2013-09-09 17:22:21 PDT
(In reply to comment #2)
> I guess I should mention that this was inspired by https://chromium.googlesource.com/chromium/blink/+/2abaaaad08b1b5802da65a8797f4bec721eec952 but my patch is nothing like Blink's.

Your patch is the right fix, and it is different from the Blink change.
Comment 4 Kent Tamura 2013-09-09 17:23:24 PDT
Comment on attachment 211121 [details]
Cleanup

ok
Comment 5 Ryosuke Niwa 2013-09-09 18:07:42 PDT
Committed r155408: <http://trac.webkit.org/changeset/155408>