mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864553 part 2: Minor cleanup to formerly-ifdef-MOZ_FLEXBOX code. r=dbaron
This commit is contained in:
parent
568a0e9c03
commit
78739a25c8
@ -76,6 +76,7 @@
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsBoxFrame.h"
|
||||
#include "nsBoxLayout.h"
|
||||
#include "nsFlexContainerFrame.h"
|
||||
#include "nsImageFrame.h"
|
||||
#include "nsIObjectLoadingContent.h"
|
||||
#include "nsIPrincipal.h"
|
||||
@ -101,7 +102,6 @@
|
||||
#include "nsIDOMXULDocument.h"
|
||||
#include "nsIXULDocument.h"
|
||||
#endif
|
||||
#include "nsFlexContainerFrame.h"
|
||||
#ifdef ACCESSIBILITY
|
||||
#include "nsAccessibilityService.h"
|
||||
#endif
|
||||
|
@ -27,6 +27,7 @@ CPPSRCS = \
|
||||
nsColumnSetFrame.cpp \
|
||||
nsContainerFrame.cpp \
|
||||
nsFirstLetterFrame.cpp \
|
||||
nsFlexContainerFrame.cpp \
|
||||
nsFloatManager.cpp \
|
||||
nsFontInflationData.cpp \
|
||||
nsFrame.cpp \
|
||||
@ -62,10 +63,6 @@ CPPSRCS = \
|
||||
nsVideoFrame.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS += \
|
||||
nsFlexContainerFrame.cpp \
|
||||
$(NULL)
|
||||
|
||||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
CMMSRCS += \
|
||||
nsPluginUtilsOSX.mm \
|
||||
|
@ -2069,12 +2069,12 @@ nsHTMLReflowState::InitConstraints(nsPresContext* aPresContext,
|
||||
// Exclude inline tables and flex items from the block margin calculations
|
||||
if (isBlock &&
|
||||
!IsSideCaption(frame, mStyleDisplay) &&
|
||||
mStyleDisplay->mDisplay != NS_STYLE_DISPLAY_INLINE_TABLE
|
||||
&& !flexContainerFrame
|
||||
)
|
||||
mStyleDisplay->mDisplay != NS_STYLE_DISPLAY_INLINE_TABLE &&
|
||||
!flexContainerFrame) {
|
||||
CalculateBlockSideMargins(availableWidth, mComputedWidth, aFrameType);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -99,6 +99,21 @@ MOCHITEST_FILES = test_acid3_test46.html \
|
||||
test_descriptor_storage.html \
|
||||
test_descriptor_syntax_errors.html \
|
||||
test_dont_use_document_colors.html \
|
||||
file_flexbox_align_self_auto.html \
|
||||
test_flexbox_align_self_auto.html \
|
||||
file_flexbox_child_display_values.xhtml \
|
||||
test_flexbox_child_display_values.html \
|
||||
file_flexbox_flex_grow_and_shrink.html \
|
||||
test_flexbox_flex_grow_and_shrink.html \
|
||||
file_flexbox_flex_shorthand.html \
|
||||
test_flexbox_flex_shorthand.html \
|
||||
file_flexbox_layout.html \
|
||||
test_flexbox_layout.html \
|
||||
flexbox_layout_testcases.js \
|
||||
file_flexbox_order.html \
|
||||
test_flexbox_order.html \
|
||||
file_flexbox_order_table.html \
|
||||
test_flexbox_order_table.html \
|
||||
test_font_face_parser.html \
|
||||
test_font_family_parsing.html \
|
||||
test_font_feature_values_parsing.html \
|
||||
@ -200,24 +215,6 @@ MOCHITEST_FILES = test_acid3_test46.html \
|
||||
viewport_units_iframe.html \
|
||||
$(NULL)
|
||||
|
||||
MOCHITEST_FILES += \
|
||||
file_flexbox_align_self_auto.html \
|
||||
test_flexbox_align_self_auto.html \
|
||||
file_flexbox_child_display_values.xhtml \
|
||||
test_flexbox_child_display_values.html \
|
||||
file_flexbox_flex_grow_and_shrink.html \
|
||||
test_flexbox_flex_grow_and_shrink.html \
|
||||
file_flexbox_flex_shorthand.html \
|
||||
test_flexbox_flex_shorthand.html \
|
||||
file_flexbox_layout.html \
|
||||
test_flexbox_layout.html \
|
||||
flexbox_layout_testcases.js \
|
||||
file_flexbox_order.html \
|
||||
test_flexbox_order.html \
|
||||
file_flexbox_order_table.html \
|
||||
test_flexbox_order_table.html \
|
||||
$(NULL)
|
||||
|
||||
_VISITED_REFTEST_FILES = \
|
||||
$(shell find $(topsrcdir)/layout/reftests/css-visited/ -name '*.html' -o -name '*.xhtml') \
|
||||
$(topsrcdir)/layout/reftests/svg/pseudo-classes-02.svg \
|
||||
|
Loading…
Reference in New Issue
Block a user