Closed
Bug 495959
Opened 15 years ago
Closed 15 years ago
input inside xul <hbox align="center"/> is not displayed properly
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: arno, Assigned: karlt)
References
Details
Attachments
(4 files)
432 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
2.78 KB,
image/jpeg
|
Details | |
1.98 KB,
patch
|
bzbarsky
:
review+
dbaron
:
review+
|
Details | Diff | Splinter Review |
2.60 KB,
patch
|
Details | Diff | Splinter Review |
Hi, with a recent trunk, <hbox flex="1" align="center"> <html:input value="1"/> </hbox> is not displayed correctly: text in html:input is too high. For some reason, this does not happen for a document opened inside firefox, but a top window document in a xulrunner application (or inside a xul dialog).
Reporter | ||
Comment 1•15 years ago
|
||
![]() |
||
Updated•15 years ago
|
Assignee | ||
Comment 2•15 years ago
|
||
Hmm. I couldn't reproduce in Minefield with a toplevel document using dom.disable_window_open_feature.location = false and netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); window.open("input.xul","_blank","chrome,location=no"); I wonder what might be different in xulrunner.
![]() |
||
Comment 3•15 years ago
|
||
Karl, what happens if you run "firefox -chrome url:///to/input.xul"?
Assignee | ||
Comment 4•15 years ago
|
||
Can reproduce with -chrome, thanks!
Assignee | ||
Comment 5•15 years ago
|
||
The lines are not getting reflowed when the block height changes. NS_FRAME_CONTAINS_RELATIVE_HEIGHT makes the reflow happen.
Attachment #383407 -
Flags: review?(bzbarsky)
![]() |
||
Updated•15 years ago
|
Attachment #383407 -
Flags: review?(dbaron)
Attachment #383407 -
Flags: review?(bzbarsky)
Attachment #383407 -
Flags: review+
![]() |
||
Comment 6•15 years ago
|
||
Comment on attachment 383407 [details] [diff] [review] set NS_FRAME_CONTAINS_RELATIVE_HEIGHT for relative line-heights Look ok to me, but a slightly odd use of the flag (which is supposed to mean that the frame has _kids_ with heights that depends on its height, iirc)... David, can you check that over?
Assignee | ||
Comment 7•15 years ago
|
||
Attachment #383407 -
Flags: review?(dbaron) → review+
Comment on attachment 383407 [details] [diff] [review] set NS_FRAME_CONTAINS_RELATIVE_HEIGHT for relative line-heights Seems ok to me.
Assignee | ||
Comment 9•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/b2e56e16c75d
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•15 years ago
|
||
reftest added: http://hg.mozilla.org/mozilla-central/rev/144da47d8aad http://hg.mozilla.org/mozilla-central/rev/794b04051344
Flags: in-testsuite+
Flags: blocking1.9.2?
You need to log in
before you can comment on or make changes to this bug.
Description
•