Closed Bug 116253 Opened 24 years ago Closed 23 years ago

rendering "<tt>i</tt> and" as "iand"

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
Windows 98
defect

Tracking

()

RESOLVED DUPLICATE of bug 48376
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
ccing harish... this sounds like a parser problem ("<tt>i</tt> and" rendering as "iand")
Keywords: regression
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.
Target Milestone: --- → mozilla1.1
Attached file test case —
Attached file test case 2 —
This test case contains the first test case I posted plus two things I noticed while making the first test case.
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
Target Milestone: mozilla1.1alpha → ---
Keywords: compat
Summary: rendering|<tt>i</tt> and| as iand → rendering "<tt>i</tt> and" as "iand"
Priority: -- → P2
QA Contact: moied → dsirnapalli
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.5alpha
*** This bug has been marked as a duplicate of 48376 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: