diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:20:06 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 07:20:06 -0400 |
commit | ee4857f2098163c1355716944753ab1da1b09611 (patch) | |
tree | 7312278ab091377dcf5ebca50bdbd2ba53b38d04 /layout/base/nsLayoutUtils.h | |
parent | 352fe83985e4a251a96fb5260d923a36c9ed56b4 (diff) | |
download | UXP-ee4857f2098163c1355716944753ab1da1b09611.tar UXP-ee4857f2098163c1355716944753ab1da1b09611.tar.gz UXP-ee4857f2098163c1355716944753ab1da1b09611.tar.lz UXP-ee4857f2098163c1355716944753ab1da1b09611.tar.xz UXP-ee4857f2098163c1355716944753ab1da1b09611.zip |
Bug 1413619 - Fix insertion point computation when display: contents pseudos are involved.
Tag #1375
Diffstat (limited to 'layout/base/nsLayoutUtils.h')
-rw-r--r-- | layout/base/nsLayoutUtils.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/layout/base/nsLayoutUtils.h b/layout/base/nsLayoutUtils.h index 9757cb799..36a43e46b 100644 --- a/layout/base/nsLayoutUtils.h +++ b/layout/base/nsLayoutUtils.h @@ -353,23 +353,6 @@ public: */ static nsIFrame* GetRealPrimaryFrameFor(const nsIContent* aContent); - /** - * IsGeneratedContentFor returns true if aFrame is the outermost - * frame for generated content of type aPseudoElement for aContent. - * aFrame *might not* have the aPseudoElement pseudo-style! For example - * it might be a table wrapper frame and the inner table frame might - * have the pseudo-style. - * - * @param aContent the content node we're looking at. If this is - * null, then we just assume that aFrame has the right content - * pointer. - * @param aFrame the frame we're looking at - * @param aPseudoElement the pseudo type we're interested in - * @return whether aFrame is the generated aPseudoElement frame for aContent - */ - static bool IsGeneratedContentFor(nsIContent* aContent, nsIFrame* aFrame, - nsIAtom* aPseudoElement); - #ifdef DEBUG // TODO: remove, see bug 598468. static bool gPreventAssertInCompareTreePosition; |