Closed
Bug 116253
Opened 23 years ago
Closed 22 years ago
rendering "<tt>i</tt> and" as "iand"
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
mozilla1.5alpha
People
(Reporter: timeless, Assigned: harishd)
References
()
Details
(Keywords: compat, regression)
Attachments
(2 files)
Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011219 09 find >There is a more general way of writing regexps that match many occurrences.< The first paragraph after it is something like: To be more precise, an atom followed by a bound containing one integer iand no comma matches a sequence of exactly imatches of the atom. An atom followed by a bound containing one integer iand a comma matches a sequence of ior more matches of the atom. An atom followed by a bound containing two integers iand jmatches a sequence of ithrough j(inclusive) matches of the atom. Both arguments must 0 >= value <= RE_DUP_MAX (default 255), and if there are two of them, the second must be bigger or equal to the first. In ie, it's To be more precise, an atom followed by a bound containing one integer i and no comma matches a sequence of exactly i matches of the atom. An atom followed by a bound containing one integer i and a comma matches a sequence of i or more matches of the atom. An atom followed by a bound containing two integers i and j matches a sequence of i through j (inclusive) matches of the atom. Both arguments must 0 >= value <= RE_DUP_MAX (default 255), and if there are two of them, the second must be bigger or equal to the first. This is also happening for <B>i</B>. I'm marking this as major because it's a serious regression.
Keywords: regression
Comment 1•23 years ago
|
||
ccing harish... this sounds like a parser problem ("<tt>i</tt> and" rendering as "iand")
Keywords: regression
Updated•23 years ago
|
Keywords: regression
What do Dump Content and Dump Frames in viewer say? Are they showing the right thing. My guess is that they will show the correct result, and that this is really related to shanjian's checkin a few days ago. I could be wrong, though.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.1
Comment 3•22 years ago
|
||
Comment 4•22 years ago
|
||
This test case contains the first test case I posted plus two things I noticed while making the first test case.
Comment 5•22 years ago
|
||
Just poking quickly at the DOM with Inspector... The #text node inside <tt> contains only 'i'. The #text node that's the nextSibling of the <tt> node contains 'and '. So the space between </tt> and 'and ' got dropped by the parser and is not in the DOM. Over to parser based on that. Note that this is invalid markup that Harish has mentioned he may not bother trying to handle...
Assignee: attinasi → harishd
Component: Layout → Parser
QA Contact: petersen → moied
Updated•22 years ago
|
Target Milestone: mozilla1.1alpha → ---
Updated•22 years ago
|
Keywords: compat
Summary: rendering|<tt>i</tt> and| as iand → rendering "<tt>i</tt> and" as "iand"
Updated•22 years ago
|
Priority: -- → P2
QA Contact: moied → dsirnapalli
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.5alpha
Comment 6•22 years ago
|
||
*** This bug has been marked as a duplicate of 48376 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•