Jonathan Kew
afd9fd3b50
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Jonathan Kew
4fba63bd9e
bug 735577 - pt 2 - add GetWritingMode() method to nsIFrame. r=smontagu
2013-12-27 17:58:46 +00:00
Robert Longson
abcd22038e
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
...
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Jonathan Watt
f8f9233117
Bug 946184 - Make sure that we reframe the nsIAnonymousContentCreator if any nsIAnonymousContentCreator::ContentInfo created content needs reframing. r=bz
2013-12-11 11:41:51 +00:00
Corey Ford
531a3d94ed
Bug 916302 - Part 1: Generalize nsLayoutUtils::GetAllInFlowRects to support other types of frame rects beyond border rects. r=dholbert
...
This adds extra bits for the aFlags parameter to GetAllInFlowRects and GetAllInFlowRectsUnion, removes BoxToRect::GetRectFromFrameFun, and also adds a few more rect-getting methods to nsIFrame.
2013-12-03 11:13:16 -08:00
Cameron McCormack
9078604a69
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
dea227dbd9
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Robert O'Callahan
a48288acad
Bug 931460. Part 1: When a <legend>'s frame is reparented to the <fieldset>, update StickyScrollContainers to match if necessary. r=mats
...
--HG--
extra : rebase_source : 05a224b4cf49b93c529a476f5c667d91a6e9f3e5
2013-11-23 22:48:26 +13:00
Frédéric Wang
64f2218f41
Bug 415413 - Incorrect widths and heights of MathML with italics in table cells. r=karlt, r=roc
2013-11-25 09:20:20 -05:00
Robert O'Callahan
2e02d90dd4
Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
...
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Daniel Holbert
2699bc1b56
Bug 937298 part 2: De-virtualize nsIFrame::GetOffsetFromView, since it only has one implementation. r=mats
2013-11-11 23:57:44 -08:00
Daniel Holbert
956d278394
Bug 937298 part 1: Remove always-NS_OK return value from nsIFrame::GetOffsetFromView. r=mats
2013-11-11 23:57:42 -08:00
Robert O'Callahan
2709003286
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00
Phil Ringnalda
98204c9e49
Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
...
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
58a3ced7c4
Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
...
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Markus Stange
14e4217296
Bug 929362 - When refusing compositor animation during BuildLayer, set a property on the frame that disables all async animations on it forever. r=roc
...
--HG--
extra : rebase_source : 98c9b690a4842c19314dd46f5e531601b77fe527
2013-10-22 12:30:45 +02:00
Birunthan Mohanathas
967e556c1c
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Matt Woodrow
47b68f6760
Bug 916034 - Use a similar surface rather than an image surface for the canvas background cache when using azure. r=ajones
2013-10-02 22:12:34 +13:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Matt Woodrow
d188bf5f9a
Bug 921910 - Invalidate when we change the frame of an asynchronous ImageContainer that is part of a main-thread layer tree. r=roc
2013-10-02 16:05:49 +13:00
Ehsan Akhgari
2fb9794854
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Ehsan Akhgari
0a3a2ee94a
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04:00
Daniel Holbert
b99490dfd5
Bug 919813 part 1: Remove never-checked return value from frame methods SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. r=mats
2013-09-25 10:54:55 -07:00
Birunthan Mohanathas
4198afdd73
Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz
2013-09-25 09:48:20 -04:00
Mats Palmgren
5a3cdd8297
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
L. David Baron
4d640839e9
Bug 916751: Do not use nsIFrame::MovePositionBy from nsLineLayout. r=dholbert
...
Since bug 916751 is hard (for me) to test, I haven't confirmed for sure
that this fixes the bug.
However, it fixes the assertions that bug 911786 part 3 triggers in
layout/base/crashtests/317934-1.html through this codepath.
2013-09-17 04:44:16 -07:00
Daniel Holbert
e485c12c34
(no bug) fix a few s/it's/its/ typos in nsIFrame.h header-comments. DONTBUILD
2013-09-12 11:28:46 -07:00
Corey Ford
52c667104f
Bug 911786 - Part 2: Reapply relative positioning when moving frames without reflowing them. r=dholbert
2013-09-11 11:51:42 -07:00
Corey Ford
82f1ea571b
Bug 911786 - Part 1: Store computed relative position offsets. r=dholbert
2013-09-10 11:33:59 -07:00
Daniel Holbert
8e7a66d2d6
(no bug) fix comment typos: s/incompete/incomplete/, s/th/the/
...
DONTBUILD because comment-only
2013-09-10 16:41:04 -07:00
Corey Ford
b3400abc97
Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert
2013-09-06 09:35:16 -04:00
Ehsan Akhgari
1362ea1611
Bug 908746 - Move some macros from nsHTMLReflowState.h to nsIFrame.h so that we can stop #including nsHTMLReflowState.h in nsLayoutUtils.h; r=mats
2013-08-23 18:20:19 -04:00
Ehsan Akhgari
7f8d74afc9
Bug 908778 - Don't #include nsAlgorithm.h in nsIFrame.h; r=mats
2013-08-23 18:17:19 -04:00
Ehsan Akhgari
35afe61310
Bug 908778 - Don't #include nsStyleStructFwd.h in nsIFrame.h; r=mats
2013-08-23 18:16:59 -04:00
Ehsan Akhgari
9f715b764c
Bug 908778 - Don't #include nsRegion.h in nsIFrame.h; r=mats
2013-08-23 18:16:38 -04:00
Ehsan Akhgari
b07c7735a2
Bug 908778 - Don't #include gfxASurface.h in nsIFrame.h; r=mats
2013-08-23 18:16:16 -04:00
Ehsan Akhgari
ff95a5090f
Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats
2013-08-23 18:15:45 -04:00
David Zbarsky
0f565540a1
Bug 903283: Don't include EventTarget.h in headers r=Ms2ger
2013-08-19 06:15:55 -04:00
Jonathan Kew
5ef7fb8ece
bug 904555 - clean up use of nsRect APIs in layout. r=roc
2013-08-14 13:27:20 +01:00
Markus Stange
ed4042636b
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Markus Stange
a8a66130d6
Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc
2013-08-14 13:29:11 +02:00
Markus Stange
97605b2c55
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
2013-08-14 13:19:55 +02:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Corey Ford
b2510f37c3
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Ehsan Akhgari
d8b97b0c48
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
Cameron McCormack
45b5388747
Bug 899881 - Don't allow frames to have a null style context. r=dbaron
2013-08-03 14:11:05 +10:00
L. David Baron
c857e1a9dd
Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
...
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext. SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized. Anything that's really a dynamic style change, as
these are, should use SetStyleContext.
I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Scott Johnson
894c1e922c
Bug 743402, Part 4: Refactor ApplySkipSides() and GetSkipSides() to return the correct value during reflow by adding an optional nsHTMLReflowState parameter. [r=roc]
2013-07-25 10:34:27 -05:00
Ryan VanderMeulen
6b307780d7
Backed out 6 changesets (bug 743402) for reftest failures on a CLOSED TREE.
...
Backed out changeset 19848fff857e (bug 743402)
Backed out changeset 049168537ae0 (bug 743402)
Backed out changeset 3098fea37f2d (bug 743402)
Backed out changeset ada93e976dca (bug 743402)
Backed out changeset c7907c54187f (bug 743402)
Backed out changeset 2edbbf6440c4 (bug 743402)
2013-07-24 15:14:04 -04:00