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 <algorithm>
#include "mozilla/WritingModes.h"
using namespace mozilla;
FixedTableLayoutStrategy::FixedTableLayoutStrategy(nsTableFrame *aTableFrame)
: nsITableLayoutStrategy(nsITableLayoutStrategy::Fixed)
, mTableFrame(aTableFrame)

View file

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

View file

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

View file

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