Closed Bug 380116 Opened 17 years ago Closed 17 years ago

[FIX]"Wrong parent style context" involving table { display: block } and <select>

Categories

(Core :: Layout, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha6

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
Loading the testcase in a debug build causes this console output:

frame: Text(-1) (0x3f39cd58) style: 0x3f26c9d8 :-moz-non-element {}
Wrong parent style context:  style: 0x3f26caf8 :-moz-display-comboboxcontrol-frame {}
should be using:  style: 0x3f18aa98 {}

frame: Text(-1) (0x3f18b1c0) style: 0x3f1a1fb4 :-moz-non-element {}
Wrong parent style context:  style: 0x3f1a1d08 :-moz-button-content {}
should be using:  style: 0x3f18ade4 {}
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #264217 - Flags: superreview?(dbaron)
Attachment #264217 - Flags: review?(dbaron)
Not sure how to test this...
Flags: in-testsuite?
Priority: -- → P2
Summary: "Wrong parent style context" involving table { display: block } and <select> → [FIX]"Wrong parent style context" involving table { display: block } and <select>
Target Milestone: --- → mozilla1.9alpha5
Toss it in a random test suite and make "wrong parent style context" an assertion? ;)
That might work...
Blocks: 381775
Target Milestone: mozilla1.9alpha5 → mozilla1.9alpha6
Comment on attachment 264217 [details] [diff] [review]
Use the same style context parents as a reresolve will pick up

Rubber-stamp r+sr=dbaron
Attachment #264217 - Flags: superreview?(dbaron)
Attachment #264217 - Flags: superreview+
Attachment #264217 - Flags: review?(dbaron)
Attachment #264217 - Flags: review+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Crashtest checked in.  "Wrong parent style context" is now an assertion, so once assertions turn Tinderbox orange, this will be properly regression-tested.
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: