Closed Bug 549311 Opened 15 years ago Closed 15 years ago

New lines management tests for placeholder are missing

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9.3a3

People

(Reporter: mounir, Assigned: mounir)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch v0.1 (obsolete) — Splinter Review
Specification says new lines should not be shown in the placeholder. It has been implemented correctly in bug 457800 but I forgot to write tests for that. Ehsan, could you review those tests ?
Attachment #429520 - Flags: review?(ehsan.akhgari)
Comment on attachment 429520 [details] [diff] [review] Patch v0.1 >diff -r 3874a469cf09 layout/reftests/forms/placeholder/placeholder-11.html >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/layout/reftests/forms/placeholder/placeholder-11.html Mon Mar 01 16:14:40 2010 +0100 >@@ -0,0 +1,8 @@ >+<!DOCTYPE html> >+<html> >+ <!-- Test: placeholder shouldn't show new lines --> >+ <body> >+ <input type="text" value="" placeholder="my >+ placeholder"> I think it's better if you use HTML numeric entities here. r=me with that fixed.
Attachment #429520 - Flags: review?(ehsan.akhgari) → review+
Attached patch Patch v0.2Splinter Review
The new patch with the modifications asked by ehsan. r=ehsan
Attachment #429520 - Attachment is obsolete: true
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: