Closed Bug 1371073 Opened 7 years ago Closed 7 years ago

Add tests to ensure changing number of rows or columns in a frameset works as expected

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: bytesized, Assigned: bytesized)

References

Details

Attachments

(1 file)

I noticed that some incorrect code that I wrote where (effectively) |HTMLFrameSetElement::mCurrentRowColHint| was always set to |NS_STYLE_HINT_REFLOW| broke no tests.

Manual tests for this already exist at these locations:
 - https://bug48422.bmoattachments.org/attachment.cgi?id=90746
 - https://bug48422.bmoattachments.org/attachment.cgi?id=90747

When these tests are run with the buggy code I wrote, the frames seem to be added fine, but when removed, nothing is displayed on the page.
Priority: -- → P3
Depends on: 1365092
Assignee: nobody → ksteuber
Attachment #8877788 - Flags: review?(bzbarsky)
Comment on attachment 8877788 [details]
Bug 1371073 - Add reftests to ensure rows and cols are properly added and removed from framesets

https://reviewboard.mozilla.org/r/149214/#review154304

r=me.

Did you happen to check whether some of these fail with the buggy bits from bug 1365092?
Attachment #8877788 - Flags: review?(bzbarsky) → review+
I did check and the "remove" tests both fail in that situation.
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9afdcc193530
Add reftests to ensure rows and cols are properly added and removed from framesets r=bz
https://hg.mozilla.org/mozilla-central/rev/9afdcc193530
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: