[Webkit-unassigned] [Bug 63927] [META] REGRESSION(r72052): Multiple placeholder regressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 00:57:06 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63927





--- Comment #4 from Kent Tamura <tkent at chromium.org>  2011-07-08 00:57:06 PST ---
(In reply to comment #3)
> (In reply to comment #1)
> 
> I think A is the right approach.
> 
> > A)
> > I tried to represent a placeholder text as a shadow node, and replace the inner editable node with the placeholder node.  The code change for this approach was really simple.
> > However I had no good idea for implementing Bug 53740 behavior.
> >  - How to show the text caret with the placeholder text?
> >  - How to handle context menu on the placeholder node?
> 
> Can we position placeholder under the text input? Would this solve the issue?

In A, the inner editable text node is detached while the placeholder is visible.  So we can't do anything for editing.

I'm trying B again.  If we use position:absolute for the placeholder node, it's difficult to keep the correct position when the <input> is moved. If we use position:relative/static, <input> secures the intrinsic block for the placeholder node.  I found a way to resolve this issue and minimize custom layout code.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list