Robert O'Callahan
aa626cf4e0
Bug 1190635. Don't early-return for an mHeight change, since width changes can add extra change hints. r=heycam
...
Don't return early for an mWidth change either.
2015-08-04 16:41:50 +12:00
Carsten "Tomcat" Book
7000b5644d
Backed out 13 changesets (bug 1180118) for crashes on a CLOSED TREE
...
Backed out changeset c65d298d7cfa (bug 1180118)
Backed out changeset 7c5ebadc3fc9 (bug 1180118)
Backed out changeset 91a3e2205388 (bug 1180118)
Backed out changeset 15ad6049b940 (bug 1180118)
Backed out changeset 9b41cd9f2bc5 (bug 1180118)
Backed out changeset 37493f6eef20 (bug 1180118)
Backed out changeset b7ec8d4d2d7e (bug 1180118)
Backed out changeset cfeeae42d514 (bug 1180118)
Backed out changeset 9bcc3233f3c8 (bug 1180118)
Backed out changeset b99c358a6fea (bug 1180118)
Backed out changeset 4a7b79980353 (bug 1180118)
Backed out changeset 20984dfa4302 (bug 1180118)
Backed out changeset ef165b896cf4 (bug 1180118)
2015-08-04 12:20:20 +02:00
Cameron McCormack
0ae1e016d7
Bug 1180118 - Second followup warning-as-error build fix.
2015-08-04 17:50:32 +10:00
Cameron McCormack
24a254e719
Bug 1180118 - Followup warning-as-error build fix.
2015-08-04 17:49:53 +10:00
Cameron McCormack
d6bb9fde44
Bug 1180118 - Part 11: Use ReparentStyleContext even if eRestyle_SomeDescendants is used. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
81468893c6
Bug 1180118 - Part 10: Logging. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
46f63f2520
Bug 1180118 - Part 9: Clear nsCSSSelector pointers in the pending restyle tracker if they might be stale. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
9d7b2eba2c
Bug 1180118 - Part 8: Keep track of the closest restyle root in AddPendingRestylesForDescendantsMatchingSelectors. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
646aa7a94b
Bug 1180118 - Part 7: Split out FindClosestRestyleRoot and allow passing in a pre-computed restyle root to AddPendingRestyle. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
fe05a2c400
Bug 1180118 - Part 6: Return eRestyle_SomeDescendants from HasAttributeDependentStyle where appropriate. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
00bb536c8c
Bug 1180118 - Part 5: Add a RestyleHintData outparam to HasAttributeDependentStyle for use with eRestyle_SomeDescendants. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
1967eea948
Bug 1180118 - Part 4: Store pointer to the rightmost selector for class, ID and attribute selectors in the rule cascade. r=bzbarsky
2015-08-04 17:27:53 +10:00
Cameron McCormack
b478e3119b
Bug 1180118 - Part 3: Convert eRestyle_SomeDescendants into eRestyle_Self for elements that match selectors. r=bzbarsky
2015-08-04 17:27:52 +10:00
Cameron McCormack
535001e4ae
Bug 1180118 - Part 2: Add eRestyle_SomeDescendants restyle hint and pass associated restyle hint data into restyle methods. r=bzbarsky
2015-08-04 17:27:52 +10:00
Cameron McCormack
26cab7b377
Bug 1180118 - Part 1: Add a method to match a single nsCSSSelector (without pseudo-elements) against an Element. r=bzbarsky
2015-08-04 17:27:52 +10:00
Nicholas Nethercote
953689e82d
Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
...
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)
2015-07-30 21:19:57 -07:00
Nicholas Nethercote
4a526ace27
Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
...
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)
And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().
2015-07-29 01:50:52 -07:00
L. David Baron
86c6ca5045
Bug 1187851 patch 3 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
...
This is because patch 4 now uses AddAndRemoveTransform hints for changes
that are other than adding and removing a transform. There's still a
little bit of transform-related stuff there too (which I did make
conditional in patch 2).
2015-08-03 20:18:00 -07:00
L. David Baron
3266ba066f
Bug 1187851 patch 2 - Cleanup to prepare for making dynamic changes to filter and perspective change fixed position containing block for descendants. r=roc
2015-08-03 20:18:00 -07:00
L. David Baron
35adbeae88
Bug 1187851 patch 1 - Tests for making dynamic changes to filter and perspective change fixed position containing block for descendants. r=roc
...
As expected, without the patch in patch 4, the filter and perspective
tests fail, but the added transform test passes. All the tests pass
locally with patch 4.
2015-08-03 20:18:00 -07:00
Daniel Holbert
040a72c06f
Bug 1183786 - Part 4: Drop unnecessary '!!' boolification. r=tn
2015-08-03 17:13:08 -07:00
Daniel Holbert
3dfc6d6fef
Bug 1183786 - Part 3: Make nsPresContext helper-function return already_AddRefed instead of bool+outparam. r=tn
2015-08-03 17:13:07 -07:00
Eric Rahm
b946d4b913
Bug 1183786 - Part 2: Delay updating after prefs changed if detached. r=tn r=dholbert
2015-07-30 20:47:26 -07:00
Eric Rahm
dab6599c07
Bug 1183786 - Part 1: Refactor timer setup code into a helper function. r=dholbert
2015-07-30 14:24:51 -07:00
Robert O'Callahan
705dfb62af
Bug 1184842. Restyling should consider only the classes that have changed. r=heycam
2015-07-25 17:56:58 +12:00
Robert O'Callahan
79b91c410e
Bug 1184842. Route aOldValue/aNewValue to AttributeData. r=heycam
2015-07-22 15:54:07 +12:00
Robert O'Callahan
d10c4321ce
Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
2015-07-25 18:05:19 +12:00
Robert O'Callahan
b8868a0cf4
Bug 1184842. Pass preparsed attribute values to nsNodeUtils::AttributeWillChange. r=peterv
2015-07-22 15:53:35 +12:00
Robert O'Callahan
d67ff5c3b6
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
2015-07-25 18:01:19 +12:00
Robert O'Callahan
7dcf907261
Bug 1184842. Remove frameset mVisibilityOverride since it's always false now. r=mats
2015-07-21 16:22:02 +12:00
Robert O'Callahan
20e9aeac9f
Bug 1184842. Remove layout.frames.force_resizability pref. r=mats
2015-07-21 16:18:17 +12:00
Ryan VanderMeulen
3fff8b0583
Merge m-c to inbound. a=merge
2015-08-03 15:03:34 -04:00
Ryan VanderMeulen
a33aca0872
Merge inbound to m-c. a=merge
2015-08-03 15:02:19 -04:00
Carsten "Tomcat" Book
72c7fdb152
Merge mozilla-central to fx-team
2015-08-03 16:16:12 +02:00
L. David Baron
51cc6acda9
Backed out changeset f24dbdeeaef1 (Bug 1187851 patch 1) for reflow counting failures in Gaia integration tests apps/system/test/marionette/edges_gesture_test.js and apps/system/test/marionette/homescreen_navigation_test.js .
2015-08-02 22:35:28 -07:00
L. David Baron
2c57dd85f2
Backed out changeset 5dcb38c7f1b8 (Bug 1187851 patch 2) for reflow counting failures in Gaia integration tests apps/system/test/marionette/edges_gesture_test.js and apps/system/test/marionette/homescreen_navigation_test.js .
2015-08-02 22:34:49 -07:00
L. David Baron
557afb66f2
Bug 1187851 patch 2 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
2015-08-02 21:03:09 -07:00
L. David Baron
403abc7f4e
Bug 1187851 patch 1 - Make dynamic changes to filter and perspective change fixed position containing block for descendants. r=roc
...
Note that this now uses AddAndRemoveTransform hints for changes that are
other than adding and removing a transform. Since there's still a
little bit of transform-related stuff there too (which I did make
conditional), I figure it's probably best to leave the name as-is,
although I'd be open to renaming it as well.
As expected, without the patch, the filter and perspective tests fail,
but the added transform test passes. All the tests pass locally with
the patch.
2015-08-02 21:03:09 -07:00
L. David Baron
bdfefc6a91
Bug 538194 patch 2 - Redo block reflow below floats when the height of a block that does not intersect floats pushes it into the way of other floats. r=roc
...
This adds an additional retry loop in block reflow that we can only
trigger when reflowing a block formatting context (replacedBlock
non-null). It can retry in two different ways, either with a narrower
width but at the same vertical position (when
ReplacedBlockFitsInAvailSpace is still true) or at a new vertical
position (which is treated as a form of clearance).
Fortunately we don't have to worry about margins collapsing *through*
such a boundary since we're dealing with a new block formatting context.
Note that Chromium passes all of the new bfc-displace-* tests, although
it moves the block formating context down unnecessarily in
bfc-shrink-1.html (which we do neither before nor after the patch),
though agrees with the width we have after the patch (but not before the
patch).
2015-08-02 21:03:09 -07:00
L. David Baron
554d404844
Bug 538194 patch 1 - Refactor some code dealing with fitting block formatting contexts around floats into separate functions. r=roc
2015-08-02 21:03:09 -07:00
Kartikaya Gupta
5e21c4b9d0
Bug 1188172 - Don't update the resolution/SPCSPS for meta-viewport changes before the first-paint. r=botond
2015-08-02 22:50:54 -04:00
dominique vincent
30f7490d25
Bug 1188185 - Zoomed View appears when the two links are the same link. r=kats
2015-07-31 15:22:46 +02:00
Mike Taylor
809c8321fa
Bug 1189922. Add a preference to enable global whitelisting of the CSSUnprefixingService. r=dholbert
...
This is a temporary preference to allow for testing-in-the-wild by a larger
audience, for nightly builds. When 1177263 is fixed this can be removed.
---
layout/style/nsCSSParser.cpp | 14 ++++++++++++++
modules/libpref/init/all.js | 6 ++++++
2 files changed, 20 insertions(+)
2015-08-02 10:27:44 -07:00
Daniel Holbert
336af46e86
Bug 1023344: Tweak asserts() annotation for crashtest 876074-1.html, to allow for occasional no-assertion & extra-assertion.
2015-07-31 16:29:50 -07:00
Drew Willcoxon
a60b159636
Bug 1188665 - Make nsIDOMWindowUtils.disableDialogs() disable onbeforeunload dialogs. r=bz
2015-07-31 16:13:01 -07:00
Neil Rashbrook
7f87283b4b
Bug 1187846 Stack layout doesn't honour min/max sizes for positioned elements r=Enn
2015-07-31 23:21:28 +01:00
Daniel Holbert
ee65a72042
Bug 1185491: Annotate reftest decoration-color-override-quirks.html as having 5 fuzzy pixels on Mac. (no review)
2015-07-31 12:28:45 -07:00
Ting-Yu Lin
216903e6a8
Bug 1189224 - Add BUG_COMPONENT for AccessibleCaret and others to moz.build. r=roc
2015-07-30 02:33:00 -04:00
Carsten "Tomcat" Book
25d1763553
Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE
2015-07-31 14:49:40 +02:00
Jonathan Kew
98ffae0b88
Bug 1187605 pt 2 - Make the <select> dropdown arrow respect the 'orientation' attribute, if present. r=smontagu
2015-08-03 18:45:24 +01:00