Markus Stange
b8c33eb763
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
2017-06-18 21:04:40 -04:00
Cameron McCormack
95368ca21c
Backout bug 1291457 and bug 1370034 for bustage.
2017-06-19 13:55:15 +08:00
Markus Stange
39724e9b46
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
2017-06-18 21:04:40 -04:00
Daniel Holbert
3666e93a66
Bug 1367568 part 2: Rewrite nsChangeHint_ReflowHintsForBSizeChange in terms of nsChangeHint_AllReflowHints. r=bz
...
This patch doesn't affect behavior at all. It's simply adjusting the way we
express a bitmask, without modifying the actual value of that bitmask. The
intent of this change is to make this bitmask's definition as similar as
possible to the definition for its ISize (inline-axis) analog, so that it's
easy to compare the two.
MozReview-Commit-ID: FUJnBQm8hmJ
2017-05-25 17:53:23 -04:00
Daniel Holbert
ac6f71ade1
Bug 1367568 part 1: Create reusable macros that represent our change hints for tweaks to CSS width or height (ISize/BSize). r=bz
...
This patch doesn't affect behavior at all; it's simply moving code (and
moving/extending some associated code comments).
MozReview-Commit-ID: JiX53R9e9GW
2017-05-25 17:46:03 -04:00
Daniel Holbert
5066835c91
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
2017-05-10 13:53:27 -07:00
Wes Kocher
1be726284d
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
4fdbcddca9
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
2017-05-10 13:53:27 -07:00
Xidorn Quan
0d16a6a63f
Bug 1360467 - Change nsChangeHint and nsRestyleHint to use a fixed integer type. r=heycam
...
MozReview-Commit-ID: I2lZW01ylhr
2017-04-28 15:47:23 +08:00
Boris Chiou
f64e26c088
Bug 1349834 - Remove eRestyle_SVGAttrAnimations declartion. r=xidorn
...
MozReview-Commit-ID: KhB4G7v3hn9
2017-03-24 10:59:54 +08:00
Mantaroh Yoshinaga
ceae2f02e8
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
2017-03-21 15:43:26 +09:00
Cameron McCormack
b20354f841
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
c6d69cd97c
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
e445b05a51
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
542eaa6e67
Bug 1340022 - Implement "handled for descendants" tracking for RestyleDamage. r=emilio
...
MozReview-Commit-ID: Bbk99ogILXC
2017-02-15 19:36:57 -08:00
Bobby Holley
3775205e64
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
782a7e5b57
Bug 1301500 - Separate change hint for adding/removing transform from UpdateContainingBlock. r=heycam
...
MozReview-Commit-ID: FwEQDA327EI
2016-09-29 14:15:32 -07:00
L. David Baron
3cc8a0cc39
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
fae04c117a
Bug 1295111 part 2 - Add static_assert to ensure that is updated properly. r=dbaron
...
MozReview-Commit-ID: G2RNUcXs4yQ
2016-08-15 20:52:05 +10:00
Jeremy Chen
4163429c03
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
2016-07-17 22:20:22 +08:00
Jeremy Chen
a8e6c93d07
Bug 1287308 - part1: replace uses of NS_STYLE_HINT_NONE with nsChangeHint(0). r=dbaron
...
MozReview-Commit-ID: CN66AimiuEu
2016-07-17 22:20:21 +08:00
Chris Peterson
c35faf4632
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Jeremy Chen
c98eb0d732
Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
...
MozReview-Commit-ID: IXPWY2B6k48
2016-07-06 13:06:14 +08:00
Jeremy Chen
a1017c77b1
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
2016-07-06 13:06:13 +08:00
Carsten "Tomcat" Book
05278d0025
Backed out changeset d84c0edb6912 (bug 906116)
2016-07-06 05:40:08 +02:00
Carsten "Tomcat" Book
8456942611
Backed out changeset 1ec6e0357c42 (bug 906116)
2016-07-06 05:40:05 +02:00
Jeremy Chen
e3259ed9f8
Bug 906116 - part4: Remove NS_STYLE_HINT_FRAMECHANGE. r=dbaron
...
MozReview-Commit-ID: IXPWY2B6k48
2016-07-06 09:59:56 +08:00
Jeremy Chen
a630507619
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
2016-07-06 09:59:55 +08:00
Hiroyuki Ikezoe
ec367fed24
Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron
2016-05-24 12:57:42 +09:00
Jeremy Chen
e18b390d40
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
2016-05-23 11:26:03 +08:00
Jeremy Chen
7f5f219f9b
Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
...
MozReview-Commit-ID: 1UX1wZJNnat
2016-05-23 11:26:03 +08:00
Jeremy Chen
ae9b673d54
Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
...
MozReview-Commit-ID: CWlyjREgoEk
2016-05-23 11:26:03 +08:00
Markus Stange
feefd17b7e
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
2016-04-28 13:01:22 -04:00
Phil Ringnalda
a821e6f3f5
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
4b2612a531
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
2016-04-28 13:01:22 -04:00
Phil Ringnalda
65d27cf8fc
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
e51736e71a
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
2016-04-28 13:01:22 -04:00
Trevor Saunders
0dd8296892
bug 1253265 - make some nsRestyleHint operators constexpr r=dholbert
2016-03-09 18:01:58 -05:00
L. David Baron
00f01419cd
Bug 1228921 patch 2 - Fix nsRestyleHint constants to match the same style. r=xidorn
2015-11-30 21:37:08 -08:00
L. David Baron
0a8a865a78
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.
2015-11-30 21:37:08 -08:00
L. David Baron
9262d2ab6d
Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
2015-11-30 21:25:54 -08:00
Carsten "Tomcat" Book
61ef45f0a5
Backed out changeset 5c4a581885e4 (bug 1224251)
2015-11-30 12:10:44 +01:00
L. David Baron
9a2c3eb658
Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
2015-11-29 23:15:00 -08:00
Cameron McCormack
779ed8d4f7
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
84cfe98999
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
be6da9fc3c
Bug 1180118 - Followup warning-as-error build fix.
2015-08-04 17:49:53 +10:00
Cameron McCormack
6116efb0b7
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
3c24956d47
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
0ddcac28d8
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
3d782b2682
Bug 1187851 patch 2 - Rename nsChangeHint_AddOrRemoveTransform to nsChangeHint_UpdateContainingBlock. r=roc
2015-08-02 21:03:09 -07:00