[Webkit-unassigned] [Bug 71323] Text positioning inside <input> elements is margin+border+padding+1px
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 2 02:54:50 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=71323
--- Comment #2 from Andy E <andy at intelligroup.eu> 2011-11-02 02:54:50 PST ---
Actually, there appears to be a -1px difference in the y position of the text too.
If anyone's wondering what the use case is for styling a non-replaced element to look the same as a replaced element - I'm creating an input mask which overlays a <span> on an <input>. The <span> contains the mask text, which is a different colour to the input text. As you type into the <input>, the <span> text disappears. Naturally, this bug causes an alignment issue with the <span> text and <input> text.
--
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