summaryrefslogtreecommitdiffstats
path: root/layout/base/RestyleManagerBase.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-03 19:43:51 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-03 19:43:51 +0100
commit5ab2da700448caf181dae7dec2f53997faf118ea (patch)
treed04be907b452da59046b8c8cefbdd8a6c2f7cfd1 /layout/base/RestyleManagerBase.cpp
parentce11d5cae866f24b8f7435cdc3725cfd2748595b (diff)
downloadUXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar
UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.gz
UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.lz
UXP-5ab2da700448caf181dae7dec2f53997faf118ea.tar.xz
UXP-5ab2da700448caf181dae7dec2f53997faf118ea.zip
Issue #146 - Part 6: Allow `position: sticky` on table elements.
Diffstat (limited to 'layout/base/RestyleManagerBase.cpp')
-rw-r--r--layout/base/RestyleManagerBase.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/layout/base/RestyleManagerBase.cpp b/layout/base/RestyleManagerBase.cpp
index 6770f9464..6ef048a19 100644
--- a/layout/base/RestyleManagerBase.cpp
+++ b/layout/base/RestyleManagerBase.cpp
@@ -474,15 +474,6 @@ RecomputePosition(nsIFrame* aFrame)
if (display->IsRelativelyPositionedStyle()) {
// Move the frame
if (display->mPosition == NS_STYLE_POSITION_STICKY) {
- if (display->IsInnerTableStyle()) {
- // We don't currently support sticky positioning of inner table
- // elements (bug 975644). Bail.
- //
- // When this is fixed, remove the null-check for the computed
- // offsets in nsTableRowFrame::ReflowChildren.
- return true;
- }
-
// Update sticky positioning for an entire element at once, starting with
// the first continuation or ib-split sibling.
// It's rare that the frame we already have isn't already the first