Closed Bug 1743 Opened 26 years ago Closed

Invalid attribute causes skiped text

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: michael.j.lowe, Assigned: rickg)

References

()

Details

The text ABC does not display in the following example: <html> <body #000080> ABC </body> </html> This bug causes the page www.theage.com.au to layout incorrectly.
Status: NEW → ASSIGNED
Here is a patch to fix bug: Index: nsHTMLTokens.cpp =================================================================== RCS file: /cvsroot/mozilla/htmlparser/src/nsHTMLTokens.cpp,v retrieving revision 3.60 diff -u -r3.60 nsHTMLTokens.cpp --- nsHTMLTokens.cpp 1998/11/24 02:38:50 3.60 +++ nsHTMLTokens.cpp 1998/12/08 14:36:02 @@ -908,7 +908,7 @@ result=aScanner.GetChar(aChar); //skip the hash sign... if(NS_OK==result) { mTextKey=aChar; - result=aScanner.ReadWhile(mTextKey,gDigits,PR_TRUE,PR_TRUE); + result=aScanner.ReadWhile(mTextKey,gDigits,PR_TRUE,PR_FALSE); } } else {
The page http://www.theage.com.au still lays out incorrectly even with this bug fixed.
All fixed with last (big) update to parsing engine.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.