mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 15:17:29 +09:00
Issue #1620 - Intrinsic Aspect Ratio: Debug Follow up.
Newly introduced aspect-ratio property did not have CSS_PROP_LIST_EXCLUDE_INTERNAL defines, resulting in the following assertion: \!nsCSSProps::PropHasFlags(p, (1<<28)) (properties defined outside of #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL sections must not have the CSS_PROPERTY_INTERNAL flag), at ...layout/style/nsCSSProps.cpp:289 This patch resolves the assertion by adding #ifndef around the aspect-ratio property.
This commit is contained in:
parent
194f96855e
commit
e3326c56b1
1 changed files with 2 additions and 0 deletions
|
|
@ -470,6 +470,7 @@ CSS_PROP_DISPLAY(
|
||||||
kAppearanceKTable,
|
kAppearanceKTable,
|
||||||
CSS_PROP_NO_OFFSET,
|
CSS_PROP_NO_OFFSET,
|
||||||
eStyleAnimType_Discrete)
|
eStyleAnimType_Discrete)
|
||||||
|
#ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||||
CSS_PROP_POSITION(
|
CSS_PROP_POSITION(
|
||||||
aspect-ratio,
|
aspect-ratio,
|
||||||
aspect_ratio,
|
aspect_ratio,
|
||||||
|
|
@ -481,6 +482,7 @@ CSS_PROP_POSITION(
|
||||||
nullptr,
|
nullptr,
|
||||||
offsetof(nsStylePosition, mAspectRatio),
|
offsetof(nsStylePosition, mAspectRatio),
|
||||||
eStyleAnimType_None)
|
eStyleAnimType_None)
|
||||||
|
#endif // CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||||
CSS_PROP_DISPLAY(
|
CSS_PROP_DISPLAY(
|
||||||
backface-visibility,
|
backface-visibility,
|
||||||
backface_visibility,
|
backface_visibility,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue