MozillaZine

Fix Sought for XHTML Charset Detection Bug

Saturday May 1st, 2004

Boris Zbarsky is appealing for someone to fix a bug that causes the charset to be ignored for some XHTML documents: "It'd be nice to have someone come forward and help fix bug 240962. The code that needs fixing is pointed to in the bug, and the bug needs fixing on the 1.7 branch, so what's needed is a minimal change that makes things better. The catch is that it needs some good testing before being checked in, hence whoever picks this up needs to do said testing..."

Update: Thanks to James Ross, the bug has now been fixed on both the trunk and the 1.7 branch.


#17 Re: Re: Re: another

by bzbarsky

Monday May 3rd, 2004 12:00 AM

You are replying to this message

> I think the fix should make the top of the zoomed in/out page at the same location as the top of the page

> in the former zoom level.

What does that mean? How do I apply this algorithm if in the former zoom level the top of the page had a floating image, a line of text in a table cell, and a line of text in a different table cell and after the zoom they end up at three different vertical positions?

That is, properly adjusting the vertical position involves understanding what the various bits of the page actually _mean_ so you can evaluate which are important and which are not. That can be sorta tough...