Carsten "Tomcat" Book
bbac27f90e
Merge mozilla-central to mozilla-inbound
2016-10-06 12:28:03 +02:00
Jonathan Kew
7a3cd2abcc
Bug 924851 - patch 1 - Move definition of nsBidiLevel/nsBidiDirection and frame bidi properties from nsBidi.h to nsIFrame.h, in preparation for removal of nsBidi. r=xidorn
2016-10-06 09:49:14 +01:00
Hiroyuki Ikezoe
7b9de990cb
Bug 1304922 - Part 1: Rename nsLayoutUtils::HasCurrentAnimationOfProperty() to nsLayoutUtils::HasActiveAnimationOfProperty(). r=birtles
...
KeyframeEffectReadOnly::HasAnimationOfProperty() calls GetAnimationOfProperty()
which checks mWinsInCascade flag and the mWinsInCascade flag is set to true
only if the effect is in-effect.
That means nsLayoutUtils::HasCurrentAnimationOfProperty() actually represents
that a given frame has at least one animation which is current and *in-effect*
(i.e. active).
MozReview-Commit-ID: 93rMMmzrBMi
2016-10-05 14:25:41 +09:00
Brad Werth
1148c21217
Bug 1304012 -- Part 2: Rename nsStyleStruct Computed**Self functions to Used**Self. r=dholbert
...
MozReview-Commit-ID: FCBuT2Z7sy6
2016-09-30 09:15:57 -07:00
Xidorn Quan
793cd1a575
Bug 1266621 part 3 - Convert outline-color to store complex color. r=heycam
...
MozReview-Commit-ID: 70tre2pYqi3
2016-09-27 20:44:19 +10:00
Cameron McCormack
46699975f3
Bug 1305376 - Use nsTArray for cursor image list storage. r=xidorn
...
MozReview-Commit-ID: 2uRGInQmNYU
2016-09-29 10:55:55 +08:00
Joel Maher
dc82a36645
Backout 472858f465b0 (Bug 1290158) for perf regression.
...
MozReview-Commit-ID: 92eO5YtKLoj
2016-09-23 06:20:33 -04:00
Jonathan Kew
64bd7dfd63
Bug 1302734 - Don't restrict unicode-bidi:plaintext support to horizontal writing mode. r=dholbert
2016-09-15 10:36:28 +01:00
Neil Rashbrook
64d79b3dcf
Bug 1290158 Don't generate synthetic paint events for invisible documents r=mattwoodrow
2016-09-14 15:55:45 +01:00
Timothy Nikkel
8a33e3e097
Bug 1284350. Ensure that if a frame is painted it is added to the approximately visible list. r=mstange
...
This takes the second hunk of https://hg.mozilla.org/mozilla-central/rev/82c3b4b81d82 only, but instead of the "in displayport" list we are adding to the "approximately visible" list. The "in displayport" list doesn't exist after the backouts that need to be done.
This ensures that all visible frames are in the approximately visible list.
By not taking the first chunk of the aforementioned changeset we don't remove frames that aren't painted from the approximately visible list. So the list only grows during a paint. But the next time the we do a full update of approximately visible images it can shrink.
We need this because the video element uses visibility to start/stop decoding (bug 1282710, bug 1299065) and we want frames that are painted to for sure be marked as visible.
2016-09-12 00:19:08 -05:00
Timothy Nikkel
1df76568d8
Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
87e53ccf82
Bug 1284350. Backed out changeset 82c3b4b81d82 (Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
b41427ff1e
Bug 1284350. Backed out changeset d6a286242f2d (Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange)
2016-09-12 00:19:07 -05:00
Timothy Nikkel
94f662b139
Bug 1284350. Backed out changeset 4517cddd204e (Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange)
2016-09-12 00:19:07 -05:00
Carsten "Tomcat" Book
e426d2d1e9
Merge mozilla-central to autoland
2016-09-09 12:19:59 +02:00
Manish Goregaokar
49b3b83008
Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
2016-09-04 00:16:58 +05:30
cku
f757c7a4a9
Bug 1295094 - Part 15. (follow up) Correct comments.(DONTBUILD) r=me
...
MozReview-Commit-ID: Kw8rrduASI2
2016-09-09 11:24:15 +08:00
Carsten "Tomcat" Book
b95ddfd9ff
Merge mozilla-central to autoland
2016-09-07 17:26:11 +02:00
Jeremy Chen
351de41d83
Bug 1297306 - part6:replace NS_STYLE_CLEAR_* with StyleClear enum class. r=xidorn
...
After using enum class, a switch-case warning in CombineBreakType is caught.
This is one of such kind safty checks that we would like to gain.
Fix it by adding default case for switch-case in CombineBreakType.
MozReview-Commit-ID: BdS3LPN6qzX
2016-09-07 10:20:17 +08:00
Xidorn Quan
1ada2b0d24
Bug 1260031 - Not force break before a block when calculating intrinsic width if the current line is empty and the block cannot intersect floats. r=dbaron
...
MozReview-Commit-ID: 9rNUDK5t5jg
2016-08-23 09:29:45 +10:00
Wes Kocher
e7fa86c1d0
Merge m-c to autoland, a=merge
2016-09-02 13:34:45 -07:00
cku
862774e1e9
Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
...
MozReview-Commit-ID: CTzu7uhAaQM
2016-09-01 14:54:11 +08:00
cku
3d320c6e38
Bug 1295094 - Part 12. nsDisplayFilter creation flow. r=mstange
...
MozReview-Commit-ID: 3Ts8GqYyNej
2016-09-01 11:11:54 +08:00
cku
d02a0fab15
Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
...
MozReview-Commit-ID: Jk9B54WtThK
2016-08-16 13:56:11 +08:00
cku
35ee6e24a3
Bug 1295094 - Part 9. Implement nsDisplayMask. r=mstange
...
MozReview-Commit-ID: CBszApBehRE
2016-08-10 03:02:45 +08:00
Markus Stange
afbf602572
Bug 1298209 - Use Maybe<nsRect> for nsIFrame::GetClipPropClipRect. r=mattwoodrow
...
MozReview-Commit-ID: 3LhUk1Vapnj
2016-08-23 14:43:08 -04:00
Markus Stange
9d57098a3b
Bug 1298209 - Make clip capturing easier to understand. r=mattwoodrow
...
MozReview-Commit-ID: 6OmdH7WoFma
2016-08-23 17:34:33 -04:00
Markus Stange
3f3b187a0c
Bug 1298209 - Create variables for extend3DContext and hasPerspective. r=mattwoodrow
...
MozReview-Commit-ID: 9Dm7lnLQ4I4
2016-08-22 19:26:58 -04:00
cku
59e59aa41c
Bug 1300401 - Part 2. Add more comments and assertions. r=mstange
...
MozReview-Commit-ID: HywA9IrGhk2
2016-09-05 12:46:56 +08:00
cku
b96e10be7f
Bug 1300401 - Part 1. Handle opacity in nsDisplayFilter. r=mstange
...
MozReview-Commit-ID: D4JXkDm64fN
2016-09-05 11:47:18 +08:00
Ravi Shankar
181d48792f
Bug 1297982 - Replace NS_STYLE_BOX_DECORATION_BREAK_* with enum class; r=xidorn
...
MozReview-Commit-ID: 9Cli68UpKdz
2016-08-26 12:44:32 +05:30
Xidorn Quan
c3a29f2b5d
Bug 1200469 part 1 - Avoid using fallback cursor if from the same frame. r=tnikkel,smaug
...
MozReview-Commit-ID: A2Ku0TND66L
2016-08-19 23:37:14 +10:00
Bobby Holley
e55613ed13
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Nicholas Nethercote
8b8bd02a31
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Wes Kocher
de62d9c40d
Merge m-c to inbound, a=merge
2016-08-12 16:29:24 -07:00
Kearwood (Kip) Gilbert
f9fd286412
Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
...
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Carsten "Tomcat" Book
ce02c3ed29
merge mozilla-inbound to mozilla-central a=merge
2016-08-10 15:54:26 +02:00
Sebastian Hengst
03d6e9f367
Backed out changeset ff84b85aa1cb (bug 1291667) for asserting at nsRuleNode.cpp:1322 and failing mochitests and reftests. r=backout
2016-08-10 12:59:15 +02:00
Ravi Shankar
94124bd377
Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=Manishearth,heycam
...
MozReview-Commit-ID: 2qBMmQrtuR9
2016-08-10 13:57:32 +08:00
Matt Woodrow
75d4a848c5
Bug 1237102 - Make sure we don't generate invalidations for children of opacity:0 frames, even when plugins are present. r=tnikkel
2016-08-10 15:15:28 +12:00
Ting-Yu Lin
d42431d103
Bug 1293604 - Replace NS_STYLE_FLOAT_* with StyleFloat enum class. r=dbaron
...
MozReview-Commit-ID: 4K6TyIm6cs3
2016-08-09 17:32:54 +08:00
Matt Woodrow
0cabdc86cc
Bug 1287122 - Make sure we build nsDisplayOpacity if we need it, since useOpacity already takes svg effects into account. r=dbaron
2016-08-05 10:37:46 +12:00
Ravi Shankar
62a1eae26d
Bug 1291667 - Change NS_STYLE_USER_SELECT_* constants to enum classes; r=heycam,manishearth
...
MozReview-Commit-ID: IcDt3XYvdlj
2016-08-10 21:42:21 +05:30
Emilio Cobos Álvarez
cbf40d9237
Bug 1288938: Allow passing different reasons to dirty a non display SVG text frame. r=heycam
...
Otherwise, when a glyph changes, we might end up doing too much work, destroying
the text-run and the observer that dirtied the frame, causing an assertion when
trying to delete it from the observer set.
MozReview-Commit-ID: LMQVr6pYFVM
2016-08-03 10:53:37 -07:00
Daosheng Mu
c8b6afd953
Bug 1281215 - Make the outline of SVG container narrows to its children. r=heycam
...
MozReview-Commit-ID: Ct1mdwmHMw2
2016-07-29 07:35:58 +08:00
Matt Woodrow
c80cde7f7e
Bug 1282312 - Part 1: Invalidate direct rendering observers for a frame when we schedule a paint due to changes. r=mstange
2016-07-29 17:58:21 +12:00
Manish Goregaokar
d7eaba573c
Bug 1288383 - Replace NS_STYLE_USER_FOCUS_* with an enum class; r=heycam
...
MozReview-Commit-ID: A7BYcfsn1tI
2016-07-25 11:56:40 +05:30
Ting-Yu Lin
7e5a56b15d
Bug 1277129 Part 7c - Rename various RS variables to RI. r=dbaron
...
This patch is generated by the following script:
function rename() {
find layout\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename aChildRS aChildRI
rename aContainingBlockRS aContainingBlockRI
rename aFrameRS aFrameRI
rename aLastRS aLastRI
rename aOuterRS aOuterRI
rename aRS aRI
rename blockHtmlRS blockHtmlRI
rename captionRS captionRI
rename cellRS cellRI
rename childRS childRI
rename firstAncestorRS firstAncestorRI
rename flexContainerRS flexContainerRI
rename gridRS gridRI
rename innerRS innerRI
rename lastButOneRS lastButOneRI
rename LineContainerRS LineContainerRI
rename mBlockRS mBlockRI
rename parentRS parentRI
rename secondAncestorRS secondAncestorRI
rename lastRSSize lastRISize
rename lastRSPadding lastRIPadding
MozReview-Commit-ID: YEgZs3WMow
2016-07-21 18:36:39 +08:00