Closed
Bug 301416
Opened 19 years ago
Closed 19 years ago
Form doesn't show submit button: regression from 1.0.6 to DPalpha2
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla1.8beta4
People
(Reporter: wolruf, Assigned: mrbkap)
Details
(Keywords: regression, testcase)
Attachments
(3 files)
318 bytes,
text/html
|
Details | |
315 bytes,
text/html
|
Details | |
1.73 KB,
patch
|
jst
:
review+
jst
:
superreview+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
Build ID: FF Deer Park Alpha 2, 20050712 on WinXP.
Steps to reproduce:
1. Load testcase with DPa2, no submit button shows up,
2. Load testcase with FF 1.0.6 or IE6, submit button shows up.
If I remove the <p>, the <textarea> or the <a> tag, the submit button shows up
in DPa2.
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
Comment 3•19 years ago
|
||
This regressed between 2005-06-01-07 and 2005-06-02-07.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-06-01+07%3A00&maxdate=2005-06-02+07%3A00&cvsroot=%2Fcvsroot
This seems to be an HTML parsing issue. unfortunately, the regression window
contains quite a few parser patches.
Updated•19 years ago
|
Severity: normal → major
Updated•19 years ago
|
Assignee: nobody → parser
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → mrbkap
Version: unspecified → Trunk
Assignee | ||
Comment 5•19 years ago
|
||
Taking, this looks like another bug resulting from the move away from skipped
content.
Assignee: parser → mrbkap
Assignee | ||
Comment 6•19 years ago
|
||
I'm not entirely sure why the <p> was needed here, but this patch is correct.
The problem is that the <a> is being closed by the <p> and reopened inside the
<textarea>, so we were ignoring the <textarea>'s end tag and putting the rest
of the document into the textarea. With this patch, we don't allow residual
styles to be opened inside the textarea and things are happy.
Attachment #189938 -
Flags: superreview?(jst)
Attachment #189938 -
Flags: review?(jst)
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 7•19 years ago
|
||
Comment on attachment 189938 [details] [diff] [review]
patch v1
r+sr=jst
Attachment #189938 -
Flags: superreview?(jst)
Attachment #189938 -
Flags: superreview+
Attachment #189938 -
Flags: review?(jst)
Attachment #189938 -
Flags: review+
Assignee | ||
Comment 8•19 years ago
|
||
Comment on attachment 189938 [details] [diff] [review]
patch v1
This patch is very safe and prevents a silly regression where textareas would
eat up the rest of the page if there were any residual style tags (such as <a>)
on the residual style stack.
Attachment #189938 -
Flags: approval1.8b4?
Assignee | ||
Comment 9•19 years ago
|
||
For the record: the <p> is necessary because <a> can contain <textarea>, so it
wasn't getting put on the residual style stack. I suspect if there was a space
or text before the <textarea>, this problem would have been masked. So the
reduced testcase is:
<a><p><textarea></textarea>hi
Updated•19 years ago
|
Attachment #189938 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 10•19 years ago
|
||
Fix checked in. Thanks for finding this.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Target Milestone: --- → mozilla1.8beta4
You need to log in
before you can comment on or make changes to this bug.
Description
•