Open Bug 302303 Opened 19 years ago Updated 2 years ago

CSS percentage (%) height/width not sizing XUL box properly

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: tennessee, Unassigned)

Details

(Keywords: testcase, Whiteboard: DUPEME)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050706 Firefox/1.0+

Height and width specifications seem to be completely ignored.

Reproducible: Always

Steps to Reproduce:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<window 
        title="Bureau of Meteorology Data Viewer"
        orient="vertical"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        align="start"
        id="main_window"
>

        <vbox style="border: 1px solid black; max-width: 80%; max-height: 80%;
height: 80%; width: 80%; overflow: auto;" flex="1" >
                <browser src="http://www.google.com/" flex="1"/>
        </vbox>
</window>
Actual Results:  
The content was invisible -- I suspect infinitely thin

Expected Results:  
It should have expanded to fill 80% of the screen.
Keywords: testcase
Neil, isn't this a known thing?
Right, even in the latest Gecko we only support min-width/height of 0%.
Whiteboard: DUPEME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Hi
I am interested in taking this bug. Please let me know if i can take this one or suggest other bugs as I am a newbie.
I don't think this is a good first bug.  For one thing, it's not clear to me that we'd actually want to fix this, at this point: we're trying to deprecate XUL instead.

In terms of finding another bug, https://www.joshmatthews.net/bugsahoy/ is a good resource.  

https://bugzilla.mozilla.org/show_bug.cgi?id=1323632 might be an ok first bug.  Or https://bugzilla.mozilla.org/show_bug.cgi?id=531327
Summary: CSS height/width not sizing box properly → CSS percentage (%) height/width not sizing XUL box properly
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: