Closed
Bug 235171
Opened 21 years ago
Closed 21 years ago
[FIX]TEXTAREA narrow than set by COLS= (newlines don't end unquoted attributes)
Categories
(Core :: DOM: HTML Parser, defect, P1)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: noririty, Assigned: bzbarsky)
References
()
Details
(Keywords: qawanted, regression)
Attachments
(1 file)
5.14 KB,
patch
|
choess
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
- Occurs On 20040219
- Doesn't Occur On 20040221
oops, it was opposite.
- Doesn't Occur On 20040219
- Occurs On 20040221
Keywords: qawanted
Assignee | ||
Comment 2•21 years ago
|
||
What are the times to go with those dates? What about 2004-02-20-XX?
Assignee | ||
Comment 3•21 years ago
|
||
This is a parser issue (look in DOM inspector and notice that the cols attr
isn't even set).
Assignee: nobody → parser
Component: Layout: Form Controls → HTML: Parser
Assignee | ||
Comment 4•21 years ago
|
||
The idea here is to only allow newlines inside quoted attrs. Other attrs
should be terminated by newlines.
Assignee | ||
Updated•21 years ago
|
Attachment #141974 -
Flags: superreview?(jst)
Attachment #141974 -
Flags: review?(choess)
Assignee | ||
Comment 5•21 years ago
|
||
This is a regression from bug 137315
Assignee: parser → bzbarsky
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Summary: TEXTAREA narrow than set by COLS= → [FIX]TEXTAREA narrow than set by COLS=
Target Milestone: --- → mozilla1.7beta
Comment 6•21 years ago
|
||
Comment on attachment 141974 [details] [diff] [review]
Fix
+ else if(aAllowNewlines && ch == kCR) {
...
>+ else if(aAllowNewlines && ch == kNewLine) {
Would it not generally be faster to check ch == k... before checking
aAllowNewlines?
sr=jst
Attachment #141974 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Comment 7•21 years ago
|
||
Hmm.. probably. I will change that before checking in.
Assignee | ||
Updated•21 years ago
|
Summary: [FIX]TEXTAREA narrow than set by COLS= → [FIX]TEXTAREA narrow than set by COLS= (newlines don't end unquoted attributes)
Assignee | ||
Comment 8•21 years ago
|
||
*** Bug 235340 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Attachment #141974 -
Flags: review?(choess) → review+
Assignee | ||
Comment 9•21 years ago
|
||
Checked in, with that change.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•21 years ago
|
||
*** Bug 235497 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•