Astley Chen
ca13d10ee9
Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
...
MozReview-Commit-ID: KrSHLbmovTM
2016-06-16 13:14:08 +01:00
Masayuki Nakano
35646e4494
Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
...
MozReview-Commit-ID: 7AqeDbHxGE2
2016-06-09 20:58:56 +09:00
Masayuki Nakano
fdeb61aef7
Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
...
MozReview-Commit-ID: C2IW7nqjEkD
2016-06-09 20:47:48 +09:00
Masayuki Nakano
322b23236c
Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
...
MozReview-Commit-ID: BZxBnCDBghi
2016-06-09 20:35:20 +09:00
Masayuki Nakano
400a8761f1
Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
...
MozReview-Commit-ID: 4n2jEVax37O
2016-06-09 18:37:36 +09:00
Masayuki Nakano
09b74b02de
Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
...
MozReview-Commit-ID: AAdxTTKEvrk
2016-06-09 18:35:22 +09:00
Masayuki Nakano
4b3d1e8406
Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
...
This patch defines mozilla::SelectionType as an enum class. This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time. So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).
And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState. Therefore, implementing one of them may make hard to find them. On the other hand, nsSelection.cpp is a better file name to look for them.
Note that this patch creates mozilla::Selection::RawType() for binding. Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.
MozReview-Commit-ID: 81vX7A0hHQN
2016-06-11 11:06:37 +09:00
Masayuki Nakano
71befe7dcf
Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
...
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.
MozReview-Commit-ID: K8SO0bbpv0Y
2016-06-07 22:42:06 +09:00
Jonathan Watt
8a34815429
Bug 1279642 - Remove CachedBackgroundImage. r=dholbert
2016-06-09 21:14:36 +01:00
Matt Woodrow
83d113018a
Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt
2016-06-08 17:12:35 +12:00
Matt Woodrow
598bc37690
Bug 1278021 - Don't treat nsDisplayOpacity as participating in a preserve-3d context if it is an untransformed leaf. r=thinker
2016-06-07 19:47:06 +12:00
Hiroyuki Ikezoe
7691439096
Bug 1277991 - We don't need to check ShouldBlockAsyncTransformAnimations() when we just want to know whether the frame has transform animations or not. r=birtles
...
MozReview-Commit-ID: HYZCKoK62Fq
2016-06-06 11:27:27 +09:00
Kartikaya Gupta
684a33e791
Bug 1108052 - Remove empty event regions display items because they only slow things down and can add extraneous layers. r=mstange
...
MozReview-Commit-ID: JkXGiudjBpe
2016-06-03 10:20:38 -04:00
Matt Woodrow
227ddd2150
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
2016-06-03 14:26:40 +12:00
Matt Woodrow
280812a385
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
2016-06-03 14:26:26 +12:00
Matt Woodrow
7383e94aa2
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
2de2048078
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
0d09f3f26a
Back out 7 changesets (bug 1274962) for timeouts in browser_tableWidget_mouse_interaction.js
...
CLOSED TREE
Backed out changeset c5c9bc65a408 (bug 1274962)
Backed out changeset 15b5f8019521 (bug 1274962)
Backed out changeset 9ac50a46557b (bug 1274962)
Backed out changeset 9cda37e5a581 (bug 1274962)
Backed out changeset bb0230c4bb6d (bug 1274962)
Backed out changeset 56ededfbdee6 (bug 1274962)
Backed out changeset e081fc6f3f90 (bug 1274962)
2016-06-02 20:37:31 -07:00
Matt Woodrow
ae8236c0a6
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
2016-06-03 14:26:40 +12:00
Matt Woodrow
69b4df6b40
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
2016-06-03 14:26:26 +12:00
Matt Woodrow
9b536d8b81
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
2757a314f4
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Robert Longson
ddd89de2c8
Bug 1217266 - fix animation of filters in resource documents. r=jwatt
2016-06-02 07:35:31 +01:00
Hiroyuki Ikezoe
b53c654cbc
Bug 1273042 - Part 2: Create stacking context for transform animations whose style is transform:none. r=mattwoodrow
...
To create stacking context for transform animations whose style is
transform:none, we need to check the frame has transform animations
regardless of current transform style.
2016-06-01 16:24:34 +09:00
Ting-Yu Lin
16cc2366c3
Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
...
MozReview-Commit-ID: ETfT1Iow7kF
2016-05-31 17:40:31 +08:00
Timothy Nikkel
cfb0fea944
Bug 1275411. When descending into an out-of-flow without saved out of flow data we need to clear the scroll clip too. r=mattwoodrow
2016-05-26 01:54:48 -05:00
Carsten "Tomcat" Book
4e27c39420
Backed out changeset 4cfdd1649464 (bug 1263349)
2016-05-24 11:13:59 +02:00
Carsten "Tomcat" Book
1d31399ee9
Backed out changeset 1ae4cfe35d71 (bug 1263349)
2016-05-24 11:13:58 +02:00
Seth Fowler
2c5fedc3e5
Bug 1263349 (Part 3) - Only consider a frame IN_DISPLAYPORT if it's within the critical displayport, considering ancestors. r=botond
2016-05-24 01:12:48 -07:00
Seth Fowler
f7770de059
Bug 1263349 (Part 2) - Cache the current scroll parent and information about scrollports and displayports on nsDisplayListBuilder. r=botond,mstange
2016-05-24 01:12:48 -07:00
Hiroyuki Ikezoe
7654b12aa5
Bug 1166500 - Part 4: Add nsIFrame::IsScrolledOutOfView. r=mattwoodrow
...
IsScrolledOutOfView method checks that overflow rect for the frame is
scrolled out of view.
2016-05-24 12:57:42 +09:00
L. David Baron
1366def9fd
Back out bug 1271714 (changeset f66a5b9da35f and changeset 557c5dbd25a1) for causing unexpected assertions in Android debug crashtest and reftest.
...
In particular, the failures are, in crashtest 8:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/generic/crashtests/details-open-overflow-auto.html | assertion count 3 is more than expected 0 assertions
in reftest 11:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/bugs/301726-1.html | assertion count 8 is more than expected 0 assertions
and in reftest 22:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/overflow-auto-open-details.html | assertion count 8 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/mouse-click-overflow-auto-details.html | assertion count 10 is more than expected 0 assertions
In all cases the unexpected assertion is:
###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', file /builds/slave/m-in-and-api-15-d-000000000000/build/src/layout/base/FrameLayerBuilder.cpp, line 4929
MozReview-Commit-ID: K6wqEQfJxNF
2016-05-21 01:34:03 -07:00
Timothy Nikkel
78db54cb67
Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
...
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.
We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)
2016-05-20 22:00:57 -05:00
Daniel Holbert
6117b314eb
Bug 1272983 part 1: If GetUsed{Margin,Padding} get called for a value that can't be resolved & isn't cached, assert & return 0-sized nsMargin. r=dbaron
...
(This restores the behavior we had before bug 1269901 landed, for this scenario.)
MozReview-Commit-ID: Ir1TNM1CgwU
2016-05-20 15:05:31 -07:00
Matt Woodrow
bf56f1a52a
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Jonathan Kew
8f071a924e
Bug 1272997 - followup 1a - Add missing braces, because the style guide likes them. rs=dholbert
2016-05-18 21:07:54 +01:00
Mats Palmgren
549646b84c
Bug 1271492 - Rename nsIFrame::eUseAutoHeight to eUseAutoBSize. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
a8557e4839
Bug 1271392 part 1 - [css-grid] Make grid item 'stretch' not require an extra reflow. r=dholbert
...
This part removes the 'stretch' logic in AlignJustifySelf and implements
it in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions /
nsFrame::ComputeSize instead.
2016-05-18 13:49:33 +02:00
Sebastian Hengst
09a19b809a
Backed out changeset 0e40f51068b4 (bug 1141468)
2016-05-18 10:38:03 +02:00
Matt Woodrow
14cb19d6ca
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Hiroyuki Ikezoe
5c3ea8ae5a
Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
...
MozReview-Commit-ID: 3tTkDtxkHcT
2016-05-16 16:25:46 +09:00
CJKu
2ca6611b52
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
2016-05-13 00:08:53 +08:00
CJKu
17721f6781
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
2016-05-13 00:08:30 +08:00
Masayuki Nakano
94e8c148d6
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
2016-05-10 23:29:14 +09:00
Seth Fowler
69cb11364d
Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange
2016-05-11 19:27:27 -07:00
Seth Fowler
a897d09931
Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange
2016-05-11 19:27:27 -07:00
Matt Woodrow
89389606ea
Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange
2016-05-10 12:48:59 +12:00
CJKu
ffb8230926
bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
...
MozReview-Commit-ID: GbhxyY93Vur
2016-05-07 00:47:01 +08:00
Matt Woodrow
ce6f23af4a
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
2016-05-06 10:53:24 +12:00
Bobby Holley
4bab2201c8
Bug 1269901 - Remove mCachedMargin. r=dbaron
2016-05-04 16:56:17 -07:00