[Webkit-unassigned] [Bug 18703] changing the 'size' property on a text input does not affect its length

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 23 13:33:13 PDT 2008


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





------- Comment #10 from hyatt at apple.com  2008-10-23 13:33 PDT -------
(From update of attachment 22923)
This is a 1-line fix. setChanged is just missing from inside
parseMappedAttribute.

else if (attr->name() == sizeAttr) {
        m_size = !attr->isNull() ? attr->value().toInt() : 20;
    }

Throw a setNeedsLayoutAndPrefWidthsRecalc() in there and you're done.


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



More information about the webkit-unassigned mailing list