L. David Baron
710616ca5c
Bug 898329 patch 5: Create and use ElementRestyler::mResolvedChild. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
91506255f9
Bug 898329 patch 4: Avoid using newContext outside of what will be in RestyleManager::RestyleSelf. r=heycam
...
This replaces newContext with mFrame->StyleContext(), which is a valid
replacement since all of the replacements are inside a test that we
don't have a framechange hint. If we have a framechange hint, then
mFrame still has its old style context.
2013-07-30 17:36:11 -07:00
L. David Baron
3975fd1525
Bug 898329 patch 3.5: Don't check undisplayed content if we're going to reframe. r=heycam
...
This avoids doing work that is unnecessary; if we're going to reframe
anyway, the frame destruction will clear the undisplayed content list,
and we'll then rebuild it when we recreate the frame (if needed).
It is also a prerequisite for patch 4, which replaces some uses of
newContext with mFrame->StyleContext(). These are the same as long as
we don't have a framechange hint, since when we do have a framechange
hint we leave the old style context on the frame to avoid violating
invariants. This patch ensures that all such uses replaced in patch 4
are actually inside a check that we don't have a framechange hint.
(Most of them already were.)
2013-07-30 17:36:11 -07:00
L. David Baron
d0a38cd3d7
Bug 898329 patch 3: Create and use ElementRestyler::mWasFrameVisible. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
d9183ecce5
Bug 898329 patch 2: Fix indentation in ReParentStyleContext from patch 1. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
bf823bc2af
Bug 898329 patch 1: Remove null-checks on oldContext and newContext and avoid manual reference counting. r=heycam
2013-07-30 17:36:11 -07:00
L. David Baron
adc472405b
Bug 898209 patch 15: Use constructor flags on ElementRestyler's regular constructor to avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the second of two patches added on top to address review
comments on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
2b712678c7
Bug 898209 patch 14: Add constructor flags to ElementRestyler's regular constructor so we can avoid manipulating mHintsHandled from the outside. r=heycam
...
This is the first of two patches added on top to address review comments
on patch 2.
2013-07-30 17:36:10 -07:00
L. David Baron
44f4309783
Bug 898209 patch 13: Create and use ElementRestyler::mTreeMatchContext. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
5c401f6edc
Bug 898209 patch 12: Create and use ElementRestyler::mVisibleKidsOfHiddenElement. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
6b2087e3e9
Bug 898209 patch 11: Create and use member variables for accessibility notifications. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
52da8b2e0f
Bug 898209 patch 10: Create and use ElementRestyler::mRestyleTracker. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
ffab6ee16c
Bug 898209 patch 9: Create and use ElementRestyler::mParentFrameHintsNotHandledForDescendants and mHintsNotHandledForDescendants. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
ab9add6061
Bug 898209 patch 8: Create and use ElementRestyler::mChangeList. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
18534428b7
Bug 898209 patch 7: Fix remaining variable shadowing warning. r=heycam
2013-07-30 17:36:10 -07:00
L. David Baron
529ddab6a0
Bug 898209 patch 6: Create and use ElementRestyler::mParentContent and mContent. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
a376d8d7e4
Bug 898209 patch 5: Remove the localContent variable in favor of writing mFrame->GetContent(). r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
68918352db
Bug 898209 patch 4: Remove aPresContext parameter to ElementRestyler::Restyle. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
3cc8ad7edd
Bug 898209 patch 3: Create and use ElementRestyler::mFrame. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
d809931f96
Bug 898209 patch 2: Create and use ElementRestyler::mHintsHandled. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
7ad914dbc3
Bug 898209 patch 1: Add ElementRestyler class to begin refactoring ReResolveStyleContext. r=heycam
2013-07-30 17:36:09 -07:00
L. David Baron
75e4462ced
Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
...
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion
--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
861d8da5a3
Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
...
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07: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
L. David Baron
dec690eacf
Bug 896138 patch 10: Move beginning and ending of ProcessPendingRestyles into helper functions on the RestyleManager. r=heycam
2013-07-30 17:36:08 -07:00
Gregory Szorc
99a10229ff
Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
...
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.
The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.
Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Gregory Szorc
507d0ff97f
Bug 899241 - Add process_install_manifest build action; r=glandium
2013-07-30 16:58:33 -07:00
Wes Kocher
b1aa18a472
Backed out changeset 675ea8aeb804 (bug 884897) for breaking builds on a CLOSED TREE
2013-07-30 15:31:10 -07:00
Ryan VanderMeulen
2ebd22d781
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Olli Pettay
84f18d6364
Bug 899089 - Improve event listener reporting in CC graphs, r=khuey
2013-07-31 01:04:38 +03:00
David Zbarsky
0b54272f14
Bug 893117: Remove nsIDOMHTMLDListElement r=bz
2013-07-30 14:55:13 -07:00
David Zbarsky
795f349564
Bug 893117: Remove nsIDOMHTMLMeterElement r=bz
2013-07-30 14:55:13 -07:00
David Zbarsky
29e80e44e4
Bug 893117: Remove nsIDOMHTMLParamElement r=bz
2013-07-30 14:55:13 -07:00
David Zbarsky
4bdec1896b
Bug 893117: Remove nsIDOMHTMLLabelElement r=bz
2013-07-30 14:55:13 -07:00
David Zbarsky
558bb6bc20
Bug 893117: Remove nsIDOMHTMLFontElement r=bz
2013-07-30 14:55:13 -07:00
David Zbarsky
0246c16dd7
Bug 893117: Remove nsIDOMHTMLLegendElement r=bz
2013-07-30 14:55:12 -07:00
David Zbarsky
7e71039f57
Bug 893117: Remove nsIDOMHTMLHeadingElement r=bz
2013-07-30 14:55:12 -07:00
David Zbarsky
7df71cccae
Bug 893117: Remove nsIDOMHTMLModElement r=bz
2013-07-30 14:55:12 -07:00
David Zbarsky
da666f858f
Bug 893117: Remove xpidl for nsIDOMHTMLDirectoryElement r=bz
2013-07-30 14:55:12 -07:00
David Zbarsky
bbc43bc08d
Bug 893117: Remove nsIDOMHTMLOutputElement r=bz
2013-07-30 14:55:11 -07:00
David Zbarsky
4fae1d580c
Bug 893117: Remove nsIDOMHTMLDataListElement r=bz
2013-07-30 14:55:11 -07:00
David Zbarsky
e848b5694c
Bug 893117: Remove nsIDOMHTMLUnknownElement r=peterv
2013-07-30 14:55:11 -07:00
David Zbarsky
4a6c9a63c0
Bug 893117: Remove nsIDOMHTMLProgressElement r=peterv
2013-07-30 14:55:11 -07:00
David Zbarsky
2f83251914
Bug 893117: Remove nsIDOMHTMLTableColElement r=peterv
2013-07-30 14:55:11 -07:00
David Zbarsky
8106932083
Bug 893117: Remove nsIDOMHTMLTableRowElement r=peterv
2013-07-30 14:55:10 -07:00
David Zbarsky
85457b1c6e
Bug 893117: Remove nsIDOMHTMLTableSectionElement r=peterv
2013-07-30 14:55:10 -07:00
David Zbarsky
7f927d60e3
Bug 893117: Remove xpidl for nsIDOMHTMLTableElement r=peterv
2013-07-30 14:55:10 -07:00
David Zbarsky
ae6d482ec6
Bug 893117: Remove nsIDOMHTMLTableCellElement r=peterv
2013-07-30 14:55:10 -07:00
Nicholas Cameron
841a60fca7
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Nicholas Cameron
ddb4a0b4c4
Bug 897409. Use a temporary surface instead of forcing image surfaces. r=mattwoodrow
2013-07-31 09:45:31 +12:00