Closed
Bug 333058
Opened 19 years ago
Closed 19 years ago
search.php produces non valid html
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: cameron, Assigned: clouserw)
References
()
Details
Attachments
(1 file)
1.20 KB,
patch
|
Details | Diff | Splinter Review |
<input type="hidden" name="app" value="firefox"/> has to be inside a <div> (or something else) inside <form>
I don't understand. form is a block level item and input is an inline item. Why would it have to be inside of the div? I just noticed that this line is in there twice. Could that do it?
# <div class="key-point">
#
# <form action="/search.php" method="get" class="amo-form">
# <input type="hidden" name="app" value="firefox"/>
#
# <div>
# <!-- end search-options -->
# </div>
#
# <input type="hidden" name="app" value="firefox"/>
# </form>
Do we even need this hidden field? search has <select id="appfilter" name="appfilter"> which will have a value of whatever we're trying to show.
Assignee | ||
Comment 3•19 years ago
|
||
In the HTML 4.01 specs they always have another block level element inside the form tag. It's weird tidy doesn't catch this though (in the html validator extension). Anyway, here is a patch that fixes it, and it's in cvs now.
Assignee: morgamic → clouserw
Status: NEW → ASSIGNED
Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Target Milestone: 2.1 → ---
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•