Closed
Bug 565074
Opened 15 years ago
Closed 15 years ago
Write reftests for the placeholder without readonly input element
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(1 file, 1 obsolete file)
8.69 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
Some reftests for the placeholder attribute use a readonly input element for no valid reason. It was fixing a random failure but it sounds like making the input element readonly wasn't a valid fix but only a workaround [1]. Having some reftests with a non-readonly input element will help us see this failure and fix it if still present.
[1] I don't remember why I thought it was removing the caret but the caret is still present even if readnoly and the caret shouldn't blink in reftests but it was making my tests working...
Comment 1•15 years ago
|
||
Note to Mounir: the patch in this bug should probably fix the incorrect comments about readonly hiding the caret as well.
Blocks: 457800
Assignee | ||
Comment 2•15 years ago
|
||
New tests are passing on my box. I'm waiting for the try server results.
Attachment #444787 -
Flags: review?(ehsan)
Comment 3•15 years ago
|
||
Could you please generate your patch with hg cp? It would make it easier to review...
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3)
> Could you please generate your patch with hg cp? It would make it easier to
> review...
Using hg cp produce the exact same hg di output.
Add this to your ~/.hgrc :
[diff]
git = 1
Assignee | ||
Comment 6•15 years ago
|
||
Indeed it works better with -g ;)
Attachment #444787 -
Attachment is obsolete: true
Attachment #444798 -
Flags: review?(ehsan)
Attachment #444787 -
Flags: review?(ehsan)
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 7•15 years ago
|
||
Comment on attachment 444798 [details] [diff] [review]
Tests v1.1
r=me, thanks!
(btw, next time please wait for a review before you set checkin-needed, because someone might not pay attention and accidentally commit an unreviewed patch.) :-)
Attachment #444798 -
Flags: review?(ehsan) → review+
Comment 8•15 years ago
|
||
Also, I assume that you've tested this on the try server, right?
Assignee | ||
Comment 9•15 years ago
|
||
Oups, sorry. I marked it checkin-needed because I thought you did the review yesterday. I was surprised to see a review from you today. Anyway, sorry and thanks :)
Assignee | ||
Comment 10•15 years ago
|
||
(In reply to comment #8)
> Also, I assume that you've tested this on the try server, right?
Yes. It went fine.
Comment 11•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•