Open Bug 557746 Opened 14 years ago Updated 2 years ago

box-orient box-pack box-align INHERIT css value

Categories

(Core :: XUL, defect)

x86
Windows Server 2003
defect

Tracking

()

UNCONFIRMED

People

(Reporter: giorgio.liscio, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.3a3) Gecko/20100315 MozillaDeveloperPreview/3.7a3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.3a3) Gecko/20100315 MozillaDeveloperPreview/3.7a3

hi, please read the code

<x orient="vertical">
    <y orient="inherit"></y>  //not inherited
</x>


<x style="-moz-box-orient:vertical">
    <y orient="inherit"></y>  //not inherited
</x>


<x orient="vertical">
    <y style="-moz-box-orient:inherit"></y>  //not inherited
</x>

<x style="-moz-box-orient:vertical">
    <y style="-moz-box-orient:inherit"></y>  //inherited!
</x>

specifications says that xul attributes flex orient pack etc does not accepts "inherit" but they should, i think.

thank you

Reproducible: Always
Summary: improve consistency about xul attributes and their respective css attribute → box-orient box-pack box-align INHERIT css value
i'm sorry

the problem is the css properities too cannot accepts "inherit" as value too

for example:

if i want to dragdrop a toolbar from NORTH to EAST

i must be able to set orient="vertical" ONLY to toolbar not to the entire subtree

where toolbuttons inherit "vertical" and they draws labels under icons

+-----------------------------------------+
+[ICO] Label [ICO] Label [ICO] Label [ICO]+
+-----------------------------------------+

->

+-------+
| [ICO] |
| Label |
|       |

| [ICO] |
| Label |
|       |

| [ICO] |
| Label |
|       |

| [ICO] |
| Label |
+-------+

please note, inherit should be allowed, but not should be the default value on xul
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.