User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030609 Mozilla Firebird/0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030609 Mozilla Firebird/0.6
Here's the HTML code in question:
<td colspan="2" nowrap="1">
<span id="remDevLink"><a id="rem" href="">Remove...</a> | </span>
<a id="mod" href="">Edit...</a>
<span id="dev">Floppy Drive</span>
The float and font-weight style in td.div.span is not honored.
Steps to Reproduce:
I don't have a small test case, but it happens every time for the page you'll
find in the attached screenshots.
See the expected results (Mozilla 1.3.1) screenshot.
Created attachment 125269 [details]
Expected Layout (Mozilla 1.3.1)
Created attachment 125271 [details]
Actual Layout (Gecko/20030609 Mozilla Firebird/0.6)
So... how do I load this page the screenshots are of? Would it be possible to
save it and attach it to this bug?
I'm afraid not. The problem being that the page is constructed from a template
using the DOM to clone sections of interest. I did load the template in
Gecko/20030609 Mozilla Firebird/0.6 by itself. The float and font-weight
specifications are honored in the template, but (obviously) not after the parts
have been replicated in the DOM. Might be a DOM problem. I will try to create a
self-contained example to demonstrate the problem.
Created attachment 125316 [details]
The problem in question can be seen by clicking "Demonstrate Problem" on the
index.html page contained in the Test Case attachement.
Created attachment 125326 [details]
This is a regression from my bug 125246 landing.
Created attachment 125329 [details] [diff] [review]
This fixes it. The copying of mStyleBits is the fix. The other three changes
are two potential UMR/crash fixes and a warning fix that I'd already attached
to another bug.
Created attachment 125330 [details]
more thorough testcase
Comment on attachment 125329 [details] [diff] [review]
r+sr=me. firstname.lastname@example.org, thanks for the bug report and the testcase!
email@example.com, not a problem. Thanks for the quick response.
Fix checked in to trunk, 2003-06-10 15:08 -0700.