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

UNCONFIRMED
Unassigned

Status

()

Core
XP Toolkit/Widgets: XUL
UNCONFIRMED
8 years ago
3 years ago

People

(Reporter: Giorgio, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
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
(Reporter)

Updated

8 years ago
Summary: improve consistency about xul attributes and their respective css attribute → box-orient box-pack box-align INHERIT css value
(Reporter)

Comment 1

8 years ago
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
You need to log in before you can comment on or make changes to this bug.