Closed Bug 416467 Opened 16 years ago Closed 16 years ago

textLength should not return the length of emptyText

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9beta4

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
      No description provided.
Attachment #302227 - Flags: review?(gavin.sharp)
Summary: textLength should be 0 while emptyText is displayed → textLength should not return the length of emptyText
Attachment #302227 - Flags: review?(gavin.sharp) → review+
Attachment #302227 - Flags: approval1.9?
Comment on attachment 302227 [details] [diff] [review]
patch

Thnx for tests...
Attachment #302227 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in toolkit/content/tests/widgets/test_textbox_emptytext.xul;
/cvsroot/mozilla/toolkit/content/tests/widgets/test_textbox_emptytext.xul,v  <--  test_textbox_emptytext.xul
new revision: 1.2; previous revision: 1.1
done
Checking in toolkit/content/widgets/textbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/textbox.xml,v  <--  textbox.xml
new revision: 1.55; previous revision: 1.54
done
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
Flags: in-testsuite+
Verified fixed based on passed tests.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: