Jonathan Kew
4796e463bc
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
Robert Longson
c032670925
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
2013-12-20 16:38:51 +00:00
Morris Tseng
4998cc4c93
Bug 930056 - Force invalidate frame when displayitem is remote type. r=mattwoodrow
2013-12-16 08:37:34 -05:00
Cameron McCormack
55e2ecaeed
Bug 947082 - List parent style context in frame tree dumps. r=mats
2013-12-11 17:13:20 +11:00
Corey Ford
de488cf4d0
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
f7f2c264fe
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
7f26a46040
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Frédéric Wang
a9292ca365
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
Matt Woodrow
bc9337741c
Bug 882384 - Make sure the status panel always get its own layer. r=roc
2013-11-25 14:59:00 +13:00
Mats Palmgren
60a5785b84
Bug 941220 - Avoid calling GetVisualOverflowRectRelativeToSelf() multiple times to improve performance. r=roc
2013-11-23 21:47:26 +00:00
Jonathan Watt
bb7921650c
Bug 889736, part 1 - Remove nsSVGTextFrame and nsSVGGlyphFrame. r=heycam
2013-11-18 14:29:51 +00:00
Robert O'Callahan
363ab757c4
Bug 919144. Part 8: Delete lots of code that's no longer needed. r=mattwoodrow
...
I never liked nsDisplayListBuilder::IsFixedItem anyway, its behavior and
naming was confusing. Also, it assumed there's only one viewport displayport,
on the rootmost document, and that's a bad assumption in general.
We're able to remove calls to ForceVisiblityForFixedItem because FrameLayerBuilder
is now responsible for inflating the visible region of the fixed-pos layers.
2013-09-27 18:01:16 +12:00
Robert O'Callahan
723b6b794e
Bug 919144. Part 7: Make fixed-pos frames with displayports animated geometry roots, and make FrameLayerBuilder responsible for setting fixed-pos layer parameters instead of nsDisplayFixedPosition. r=mattwoodrow
...
This patch also makes FrameLayerBuilder responsible for setting the visible region
of a fixed-pos layer to the displayport intersected with the draw-region of
the layer. This will let us remove some displaylist code in later patches.
We add special handling to GetAnimatedGeometryRootFor for nsDisplayScrollLayers,
to match what nsDisplayList::IsFixedItem does.
2013-09-27 18:01:16 +12:00
Daniel Holbert
9160ca6e3a
Bug 937858: Rename border-only variable from "bp" to "border", to avoid confusion with border/padding. r=mats
2013-11-12 17:14:50 -08:00
Corey Ford
146def1776
Bug 925259: Avoid sticky positioning inner table elements. r=dholbert
2013-11-12 12:46:47 -08:00
Daniel Holbert
b1ef6d8d3a
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
6515e395dd
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
b9d834c917
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
2013-09-04 23:30:57 +12:00
Robert O'Callahan
5c1de00280
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
a2ef7eae17
Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
2013-10-28 23:38:02 -07:00
Robert O'Callahan
da1185d620
Bug 911889. Part 3: Create nsLayoutUtils::HasAnimations, and suppress opacity:0 optimizations whenever there's any opacity animation even if it's not using the compositor. r=dbaron
2013-09-04 23:30:57 +12:00
Robert O'Callahan
ccf9176e1c
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
Robert O'Callahan
59b3bb758a
Bug 928607. Ensure that nsGfxScrollFrameInner::UpdatePosition clips the overflow area of its children. r=tn
2013-10-22 14:10:31 +02:00
Benoit Girard
2d3cf8a5ce
Backout 9861229c1b15 for test. CLOSED TREE
2013-10-26 01:07:08 +02:00
Benoit Girard
ece5a2bfdd
Bug 931082 - LayerActivityTracker shouldn't force invalidate. r=roc
2013-10-25 22:45:51 +02:00
Arnaud Bienner
b5be97b0f6
Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert
2013-07-10 00:25:27 +02:00
Masayuki Nakano
385d2f53af
Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug
2013-10-22 17:55:20 +09:00
Masayuki Nakano
d5c2d2dd83
Bug 920425 part.27 Use mozilla::WidgetEvent::AsInputEvent() r=smaug
2013-10-18 15:10:26 +09:00
Birunthan Mohanathas
e30d39fc7a
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
2013-10-08 14:47:21 -04:00
Matt Woodrow
489e40d88c
Bug 916034 - remove + character from a broken rebase. r=bustage
2013-10-02 22:35:19 +13:00
Matt Woodrow
0f9977a71c
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
ed3fbdf704
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Daniel Holbert
c2cc2079db
Bug 919865: Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats
2013-10-01 22:02:23 -07:00
Masayuki Nakano
5fb6570056
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
8c4ece5434
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Matt Woodrow
84507c277c
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
7c63dd132d
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
Masayuki Nakano
65a801dd59
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Ehsan Akhgari
6cf84bf2d9
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
6390bcd208
Bug 913759 part 1: Treat buttonContent frames as block wrappers, so percent heights inside a button can resolve against button's height (minus focus border/padding). r=bz
2013-09-28 10:24:00 -07:00
L. David Baron
6f4539fad6
Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
...
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .
It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").
The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
Daniel Holbert
ec242f776c
Bug 919813 part 2: Upgrade NS_ERROR to MOZ_ASSERT in nsFrame's impl of SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. rs=mats
2013-09-25 10:54:56 -07:00
Daniel Holbert
7072642e85
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
faf27498d8
Bug 919729 - Remove unnecessary MOZILLA_INTERNAL_API checks from nsIFrame.h. r=bz
2013-09-25 09:48:20 -04:00
Mats Palmgren
636e2bb841
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
Masayuki Nakano
c23797df63
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Masayuki Nakano
4a5dc45e59
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Daniel Holbert
e881abc90a
Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats
2013-09-24 18:43:43 -07:00
Daniel Holbert
f67964eaec
(no bug) Replace two c-style casts in nsFrame.cpp with const_cast<>. (no review; trivial/non-functional)
2013-09-23 21:04:08 -07:00
Corey Ford
2001483389
Bug 904197 - Use the union of continuations' rects in sticky positioning calculations. r=dholbert
...
Reftest inline-3.html fails because handling the sticky element's margin correctly will take more work; similarly, border/padding on containing-block continuations won't be handled quite right. Reftest column-contain-1a fails because some of the anonymous blocks inside an nsColumnSetFrame have 0 height.
2013-09-13 16:53:48 -07:00