Граф коммитов

114 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert ad52211150 Bug 1344398 part 2: React to some CSS 'overflow' changes on body/html by simply calling UpdateViewportScrollbarStylesOverride() instead of reframing. r=bz,tnikkel
MozReview-Commit-ID: Lpr9aNv9hAB

--HG--
extra : rebase_source : c8cccf8e6495ab1d57f9680c07b3e43a488e8691
2017-05-10 13:53:27 -07:00
Wes Kocher 8f6058b583 Backed out 3 changesets (bug 1344398) for assertion failures at Element.cpp a=backout
Backed out changeset d0e5a5ba01b5 (bug 1344398)
Backed out changeset d70f9de401d1 (bug 1344398)
Backed out changeset 647d0bb3714d (bug 1344398)

MozReview-Commit-ID: DTVWf28NcNb
2017-05-10 17:43:50 -07:00
Daniel Holbert b216b7b0e8 Bug 1344398 part 2: React to some CSS 'overflow' changes on body/html by simply calling UpdateViewportScrollbarStylesOverride() instead of reframing. r=bz,tnikkel
MozReview-Commit-ID: Lpr9aNv9hAB

--HG--
extra : rebase_source : c8cccf8e6495ab1d57f9680c07b3e43a488e8691
2017-05-10 13:53:27 -07:00
Xidorn Quan 2fdfbf90b0 Bug 1360467 - Change nsChangeHint and nsRestyleHint to use a fixed integer type. r=heycam
MozReview-Commit-ID: I2lZW01ylhr

--HG--
extra : rebase_source : 0d621ffe31ef447ef4b8226dccbfa6bdf521f888
2017-04-28 15:47:23 +08:00
Boris Chiou 892d75ecb7 Bug 1349834 - Remove eRestyle_SVGAttrAnimations declartion. r=xidorn
MozReview-Commit-ID: KhB4G7v3hn9

--HG--
extra : rebase_source : 3dcefbb99901c0e0c2d7f391f5a591ca409924fa
2017-03-24 10:59:54 +08:00
Mantaroh Yoshinaga 90f3d3d4d0 Bug 1062106 part 2 - Remove unused SVG Attribute Animations cascade level. r=birtles,dbaron,xidorn
The previous patch in this series converted all uses of mapped attributes
for animation to be animated as CSS properties (that is, to be treated
as presentation hints in the cascade).

As result, we no longer need the SVG Animation presentation hints level
of the cascade, the corresponding rule processor(SVGAttrAnimationRuleProcessor),
or the corresponding eRestyle_SVGAttrAnimations restyle hint. So this patch
removes these unused rule processor and restyle hint.

MozReview-Commit-ID: Hm8IDaqc3ym

--HG--
extra : rebase_source : 339ad209f37ea84857577001c7385323f2187d46
2017-03-21 15:43:26 +09:00
Cameron McCormack 767a077d73 Bug 1301258 - Part 2: Remove all subsumed hints when generating changes from restyles. r=dbaron
This changes ElementRestyler::CaptureChange so that it avoids generating the
current frame's entire set of change hints, if only some of the hints were
handled by ancestors, and instead to remove the hints that we know are
subsumed.

MozReview-Commit-ID: JvhxeQC6MmQ
2017-03-21 16:33:05 +08:00
Cameron McCormack 2a3ed57d71 Bug 1301258 - Part 1.5: Tweak some comments around change hints. r=dbaron
MozReview-Commit-ID: Gze6SFaXvSA
2017-03-21 16:33:05 +08:00
Cameron McCormack d2bf6adc7c Bug 1301258 - Part 1: Define macros for change hints always, never and sometimes handled for descendants. r=dbaron
MozReview-Commit-ID: 1lOl7U6rlC5
2017-03-21 16:33:05 +08:00
Bobby Holley eaee1dbb37 Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio
MozReview-Commit-ID: Bbk99ogILXC

--HG--
extra : rebase_source : 2998f39a67c39073ea66e3e12815e1a7a25f7c9d
2017-02-15 19:36:57 -08:00
Bobby Holley f8c9d884fc Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. r=emilio
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-25 10:06:39 -08:00
L. David Baron 13bc05d1b6 Bug 1301500 - Separate change hint for adding/removing transform from UpdateContainingBlock. r=heycam
MozReview-Commit-ID: FwEQDA327EI

--HG--
extra : transplant_source : a0cf%B4b%0FXxq%A2ZP%A5G%D1%E7H%E1%C0
2016-09-29 14:15:32 -07:00
L. David Baron 611f172de6 Bug 1251075 - Optimize away nsChangeHint_UpdateContainingBlock in nsStyleContext::CalcStyleDifference when possible. r=bz
MozReview-Commit-ID: 4Owobm1vZLn
2016-08-29 11:43:29 -07:00
Xidorn Quan ff0f0fef3b Bug 1295111 part 2 - Add static_assert to ensure that is updated properly. r=dbaron
MozReview-Commit-ID: G2RNUcXs4yQ

--HG--
extra : rebase_source : 0ecbe3e09a8783c7149959c3580116d9e3ecd449
2016-08-15 20:52:05 +10:00
Jeremy Chen 3f03fe838d Bug 1287308 - part2: remove old NS_STYLE_HINT_NONE constant. r=dbaron
Remove NS_STYLE_HINT_NONE definition in nsChangeHint.
Fix related debug log in RestyleManager.

MozReview-Commit-ID: 4pA8u8MQDnv

--HG--
extra : rebase_source : 66bbfa54eb35f1de2318787a610b6e401262b28a
2016-07-17 22:20:22 +08:00
Jeremy Chen 9d8ddf9b2d Bug 1287308 - part1: replace uses of NS_STYLE_HINT_NONE with nsChangeHint(0). r=dbaron
MozReview-Commit-ID: CN66AimiuEu

--HG--
extra : rebase_source : 6caaa30e9afa8645ea31c4918230ba2ec53bc74a
2016-07-17 22:20:21 +08:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Jeremy Chen a02cef6a08 Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
MozReview-Commit-ID: IXPWY2B6k48

--HG--
extra : rebase_source : 0156bbbc463a6e532cfdc0e007b470cb595c52d1
2016-07-06 13:06:14 +08:00
Jeremy Chen 0094cd236f Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame. r=dbaron
The comment for nsChangeHint_ReconstructFrame is out-of-date.

In RestyleManager::ProcessRestyledFrames, we actually ignore all of the other
hints if ReconstructFrame is set. The old version was written when
ReconstructFrame was listed last. So, update the comment.

MozReview-Commit-ID: 97wMrW6S6ID

--HG--
extra : rebase_source : d76815f8cadd7ddc6babc65e24d197717269625f
2016-07-06 13:06:13 +08:00
Carsten "Tomcat" Book de3628dc26 Backed out changeset d84c0edb6912 (bug 906116) 2016-07-06 05:40:08 +02:00
Carsten "Tomcat" Book c9dc6a368d Backed out changeset 1ec6e0357c42 (bug 906116) 2016-07-06 05:40:05 +02:00
Jeremy Chen b915e25c11 Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
MozReview-Commit-ID: IXPWY2B6k48

--HG--
extra : rebase_source : 63c31419f19c6fdfaebab4947cb881fe9ed7a820
2016-07-06 09:59:56 +08:00
Jeremy Chen 010cb33d92 Bug 906116 - part2: Fix comment for nsChangeHint_ReconstructFrame. r=dbaron
The comment for nsChangeHint_ReconstructFrame is out-of-date.

In RestyleManager::ProcessRestyledFrames, we actually ignore all of the other
hints if ReconstructFrame is set. The old version was written when
ReconstructFrame was listed last. So, update the comment.

MozReview-Commit-ID: 97wMrW6S6ID

--HG--
extra : rebase_source : f1556012073e088af96c2e389532f1ae04b165af
2016-07-06 09:59:55 +08:00
Hiroyuki Ikezoe eec4931934 Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron 2016-05-24 12:57:42 +09:00
Jeremy Chen 685cf4c3d8 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl

--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Jeremy Chen 0f24420a8f Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
MozReview-Commit-ID: 1UX1wZJNnat

--HG--
extra : rebase_source : e74d1cf5ca0866897634339a0fe6df65e0d249ae
2016-05-23 11:26:03 +08:00
Jeremy Chen 1a607ceb9d Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
MozReview-Commit-ID: CWlyjREgoEk

--HG--
extra : rebase_source : 452a425fe4c722d7d5e15118ecb0e59c54908f37
2016-05-23 11:26:03 +08:00
Markus Stange 0aa0fa1e2b Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO

--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Phil Ringnalda f74761a568 Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
CLOSED TREE

Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Markus Stange ea8e203822 Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO

--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Phil Ringnalda 5387bf0160 Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange 6ae2cdbdd0 Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO

--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Trevor Saunders a879c2430c bug 1253265 - make some nsRestyleHint operators constexpr r=dholbert 2016-03-09 18:01:58 -05:00
L. David Baron 7dc263f595 Bug 1228921 patch 2 - Fix nsRestyleHint constants to match the same style. r=xidorn
--HG--
extra : commitid : EwDr20MLKlQ
2015-11-30 21:37:08 -08:00
L. David Baron 3ad29c50ac Bug 1228921 - Write nsChangeHint constants using left shifts. r=xidorn
This means I don't have to carefully count (or copy and paste) 0s when
adding new constants.

--HG--
extra : commitid : CpIATm1bRj9
2015-11-30 21:37:08 -08:00
L. David Baron ea2560fb45 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 54U9yWksA8Q
2015-11-30 21:25:54 -08:00
Carsten "Tomcat" Book b26ab66204 Backed out changeset 5c4a581885e4 (bug 1224251) 2015-11-30 12:10:44 +01:00
L. David Baron 7dcb2bf7c7 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 4W2ejOSubfo
2015-11-29 23:15:00 -08:00
Cameron McCormack a51940e7a6 Bug 1180118 - Part 2: Add eRestyle_SomeDescendants restyle hint and pass associated restyle hint data into restyle methods. r=bzbarsky 2015-08-05 22:42:20 +10:00
Carsten "Tomcat" Book 94b10d301f 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 2811bf3638 Bug 1180118 - Followup warning-as-error build fix. 2015-08-04 17:49:53 +10:00
Cameron McCormack 456e7234ef 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
L. David Baron e3af3797d8 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).

--HG--
extra : commitid : DF2FByhoo7E
2015-08-03 20:18:00 -07:00
L. David Baron 70c88b7d2c 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 .
--HG--
extra : commitid : BV4uUnaUOht
2015-08-02 22:34:49 -07:00
L. David Baron 990ae820cf Bug 1187851 patch 2 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
--HG--
extra : commitid : 60f2ryYqjzB
2015-08-02 21:03:09 -07:00
Robert O'Callahan 148e0aa769 Bug 1172239. Use nsChangeHint_UpdateComputedBSize to only dirty intrinsic sizes when necessary. r=bz
--HG--
extra : commitid : 48WN0ELkG8f
extra : rebase_source : 25524e9b82251263a88584d81b31f522a3ab5709
2015-07-22 16:36:56 +12:00
L. David Baron c874e3c159 Bug 1169440 patch 3 - Add nsChangeHint_ReflowChangesSizeOrPosition. r=heycam 2015-06-20 21:54:15 -07:00
L. David Baron 1cc4969746 Bug 1169440 patch 1 - Add bitwise operators to nsChangeHint. r=heycam
I'm fed up with having to use the NS_*Hint functions, and I also have
trouble reading/writing some of them since I don't remember the order of
parameters.

(At some point I think we should convert existing callers, but I don't
plan to do that here.)
2015-06-20 21:54:15 -07:00
L. David Baron 3f721f200d Bug 1133439 patch 1 - Split eRestyle_StyleAttribute into eRestyle_StyleAttribute and eRestyle_StyleAttributeAnimations. r=birtles 2015-02-19 21:22:05 +13:00
L. David Baron 43c2cd3af5 Bug 960465 patch 22 - Remove implementation of nsRestyleHint_ChangeAnimationPhase. r=birtles 2015-02-17 11:15:06 +13:00