Created attachment 736840 [details]
When the width of a TD is restricted in a fixed-layout table (table-layout:fixed), the TD's reported scrollWidth may be incorrect.
Please see the attached test case. I have tested Firefox 20.0, Firefox ESR 17.0.5, and Firefox 12.0 and found that the scrollWidth of `theTD' is 98. In Firefox Beta 21.0, Firefox Aurora 22.0a2 (2013-04-12), Chrome 26.0.1410.65, Safari 6.0.3, and IE 9, the scrollWidth is correct, ~293.
I used mozregression and found:
Last bad nightly (contains this issue): 2013-01-29
First good nightly (fixed): 2013-01-30
This range includes the patch for Bug 833542, and I think that the 833542 patch also fixed this bug.
So I'm confused. If this is fixed... what's this bug about, exactly?
This is fixed, yes. I wasn't sure if another test case should be created specifically for this bug given that the 833542 patch seems to have fixed this bug unintentionally.
Ah, I see.
Created attachment 740089 [details]
Proposed Mochitest test case - dom/tests/mochitest/general/test_bug861217.html
Attached is my proposed Mochitest test file. When I run the test file in a build of Firefox @ 129356:4420f27742c7, I get the following result:
Daniel, would you mind attaching that in diff form?
Created attachment 740755 [details] [diff] [review]
Comment on attachment 740755 [details] [diff] [review]
Yeah, much better. ;) Now you just want to request review. But since I'm here anyway, r=me, and thank you!
Awesome! Thank you!
I guess this can be marked "FIXED"?
It will be once it's merged over to mozilla-central.