Issue #80 - De-unify layout/tables

This commit is contained in:
Moonchild 2020-04-30 21:45:28 +00:00 • committed by Roy Tam
commit a892cb0808
4 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,10 @@
#include "nsTableCellFrame.h" #include "nsTableCellFrame.h"
#include <algorithm> #include <algorithm>
#include "mozilla/WritingModes.h"
using namespace mozilla;
FixedTableLayoutStrategy::FixedTableLayoutStrategy(nsTableFrame *aTableFrame) FixedTableLayoutStrategy::FixedTableLayoutStrategy(nsTableFrame *aTableFrame)
: nsITableLayoutStrategy(nsITableLayoutStrategy::Fixed) : nsITableLayoutStrategy(nsITableLayoutStrategy::Fixed)
, mTableFrame(aTableFrame) , mTableFrame(aTableFrame)

View file

@ -12,6 +12,8 @@
#include "nsQuickSort.h" #include "nsQuickSort.h"
#include "nsIPresShell.h" #include "nsIPresShell.h"
using mozilla::fallible;
//#define DEBUG_SPANNING_CELL_SORTER //#define DEBUG_SPANNING_CELL_SORTER
SpanningCellSorter::SpanningCellSorter() SpanningCellSorter::SpanningCellSorter()

View file

@ -13,7 +13,7 @@ EXPORTS += [
'nsITableCellLayout.h', 'nsITableCellLayout.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'BasicTableLayoutStrategy.cpp', 'BasicTableLayoutStrategy.cpp',
'FixedTableLayoutStrategy.cpp', 'FixedTableLayoutStrategy.cpp',
'nsCellMap.cpp', 'nsCellMap.cpp',

View file

@ -41,6 +41,7 @@
#include "nsCSSFrameConstructor.h" #include "nsCSSFrameConstructor.h"
#include "mozilla/StyleSetHandle.h" #include "mozilla/StyleSetHandle.h"
#include "mozilla/StyleSetHandleInlines.h" #include "mozilla/StyleSetHandleInlines.h"
#include "mozilla/gfx/Helpers.h"
#include "nsDisplayList.h" #include "nsDisplayList.h"
#include "nsIScrollableFrame.h" #include "nsIScrollableFrame.h"
#include "nsCSSProps.h" #include "nsCSSProps.h"
@ -48,6 +49,7 @@
#include <algorithm> #include <algorithm>
using namespace mozilla; using namespace mozilla;
using namespace mozilla::gfx;
using namespace mozilla::image; using namespace mozilla::image;
using namespace mozilla::layout; using namespace mozilla::layout;