mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #1370 - Part 3: Implement content keyword for flex-basis property
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1105111
This commit is contained in:
parent
b6b20a04ec
commit
9dc59c43f1
9 changed files with 63 additions and 8 deletions
|
|
@ -778,6 +778,12 @@ enum class StyleDisplay : uint8_t {
|
|||
#define NS_STYLE_WIDTH_MIN_CONTENT 1
|
||||
#define NS_STYLE_WIDTH_FIT_CONTENT 2
|
||||
#define NS_STYLE_WIDTH_AVAILABLE 3
|
||||
// The 'content' keyword is only valid for 'flex-basis' (not for 'width').
|
||||
// Since the 'flex-basis' property accepts exactly the same values as 'width',
|
||||
// this 'flex-basis'-specific enumerated value is listed alongside the
|
||||
// 'width' ones, to be sure we don't accidentally overload this numeric
|
||||
// value with two different meanings if new 'width' keywords are added.
|
||||
#define NS_STYLE_FLEX_BASIS_CONTENT 4
|
||||
|
||||
// See nsStyleDisplay.mPosition
|
||||
#define NS_STYLE_POSITION_STATIC 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue