Neerja Pancholi
b12bf0cae2
Bug 1389029 - Create custom change hint and post restyle event for rowspan, colspan attribute changes. r=dbaron
...
MozReview-Commit-ID: IwUlgDa3DAj
--HG--
extra : rebase_source : e99732f1173eba16f2cf42453c6418d72591ce7e
2017-09-05 13:30:40 -07:00
Brad Werth
dce3ff515e
Bug 1359834 Part 2: Define a new nsChangeHint_ReflowHintsForFloatAreaChange hint and use it for float changes. r=dholbert
...
MozReview-Commit-ID: 692GBiRUTab
--HG--
extra : rebase_source : 4b3413bb0468037ab5eb25101b7c2a54cdc63d9e
2017-07-14 17:20:35 -07:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Markus Stange
ccaf464b9e
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
--HG--
extra : rebase_source : b8c5f267f99fb7bab560af82a386cd3f3a9af5f3
2017-06-18 21:04:40 -04:00
Cameron McCormack
1849ea4995
Backout bug 1291457 and bug 1370034 for bustage.
2017-06-19 13:55:15 +08:00
Markus Stange
9ec017c7c6
Bug 1370034 - Add -moz-window-opacity property, style system parts (excluding stylo). r=dbaron
...
MozReview-Commit-ID: J2SPMzh0I9C
--HG--
extra : rebase_source : b8c5f267f99fb7bab560af82a386cd3f3a9af5f3
2017-06-18 21:04:40 -04:00
Daniel Holbert
69eda9c026
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
--HG--
extra : rebase_source : 400972b9af447721183769b603eedb9a9fd4c939
2017-05-25 17:53:23 -04:00
Daniel Holbert
a84ae4bec1
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
--HG--
extra : rebase_source : 96fca2c0ca59cc5bbfc48cf81abe5515bb62f372
2017-05-25 17:46:03 -04:00
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