Closed Bug 711359 Opened 14 years ago Closed 14 years ago

[BC]Table border incorrectly rendered after 'display:none'ing some table rows

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla11
Tracking Status
firefox11 + verified

People

(Reporter: glazou, Assigned: bernd_mozilla)

References

Details

(Keywords: regression, testcase, Whiteboard: [qa!])

Attachments

(3 files, 3 obsolete files)

This is a regression visible in Nigthlies (I am currently using 11.0a1 2011-12-15) and not in FF8. 1. Open http://bluegriffon.org/pages/Community#localizeBlueGriffon 2. select locales a few times using the dropdown menu inside the page 3. after a few locale selections, the table becomes incompletely rendered, see attached screenshot The page gives a "display: none" to all table rows that are not of the selected locale. Nothing else. Tested on Mac OS X 10.6.5.
Summary: Table border incorrectly rendered after 'display:none'ing some table rows → [BC]Table border incorrectly rendered after 'display:none'ing some table rows
Regression range (Linux64 builds): 2011-11-28-03-10-52 -- 2011-11-29-03-10-19 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=854aabf544d4&tochange=bc48009a6bbb I suspect bug 460637.
Blocks: 460637
Keywords: regression
OS: Mac OS X → All
Hardware: x86 → All
Daniel, FYI, changing the value using keyboard commands doesn't work since you only have onclick on the <select>
(In reply to Mats Palmgren [:mats] from comment #2) > Daniel, FYI, changing the value using keyboard commands doesn't work since > you only > have onclick on the <select> d'oh, yes, a mistake; but that has no link with the regression describes here.
A reduced test case that demonstrates this would be fine
Attached file reduced testcase —
Attached patch patch (obsolete) — — Splinter Review
the patch fixes only the reduced testcase but the page still does show problems.
Attached patch revised patch (obsolete) — — Splinter Review
this fixes the url and bug 712849
Attachment #583071 - Attachment is obsolete: true
Attachment #584170 - Attachment is patch: true
Attached patch revised patch (obsolete) — — Splinter Review
Attachment #584170 - Attachment is obsolete: true
Attached patch revised patch — — Splinter Review
Assignee: nobody → bernd_mozilla
Attachment #584174 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #584314 - Flags: review?(matspal)
Comment on attachment 584314 [details] [diff] [review] revised patch >+ // mark all following rows damaged ... s/mark/Mark/ and delete the extra space before "damaged" > SetDamageArea(0, aRgFirstRowIndex + startRowIndex, aMap.GetColCount(), >- 1 + endRowIndex - startRowIndex, aDamageArea); >+ aMap.GetRowCount() - aRgFirstRowIndex - startRowIndex, >+ aDamageArea); I think this would be clearer with a temp variable, like so: PRInt32 firstDamagedRow = aRgFirstRowIndex + startRowIndex; SetDamageArea(0, firstDamagedRow, aMap.GetColCount(), aMap.GetRowCount() - firstDamagedRow, aDamageArea);
Attachment #584314 - Flags: review?(matspal) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Flags: in-testsuite+
Comment on attachment 584314 [details] [diff] [review] revised patch this fixes a rendering regression that got uplifted to aurora
Attachment #584314 - Flags: approval-mozilla-aurora?
Blocks: 712849
Comment on attachment 584314 [details] [diff] [review] revised patch [triage comment] Approved for aurora. This is a rendering regression we do not want to ship.
Attachment #584314 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
fixed on aurora
Target Milestone: mozilla12 → mozilla11
Whiteboard: [qa+]
Verified Build identifier: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Verified Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0
Verified Build identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20100101 Firefox/11.0
Status: RESOLVED → VERIFIED
Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: