Nathan Froyd
bd964c2136
Bug 1295192 - part 3 - remove CPP_THROW_NEW from display list code; r=dholbert
...
nsDisplayListBuilder::Allocate is infallible. Therefore,
nsDisplayListItem::operator new, which calls Allocate to obtain memory,
does not need to declare itself as throwing. And so on for functions
that call nsDisplayListBuilder::Allocate.
2016-08-17 15:28:45 -04:00
Wes Kocher
57773cd69e
Backed out 4 changesets (bug 1295192) for being a possible cause of crashtest assertions CLOSED TREE
...
Backed out changeset 7f10779fe019 (bug 1295192)
Backed out changeset e683dce4197a (bug 1295192)
Backed out changeset 67d12eaa8074 (bug 1295192)
Backed out changeset 44f143a01f78 (bug 1295192)
2016-08-16 11:22:04 -07:00
Nathan Froyd
e9d0c9e656
Bug 1295192 - part 3 - remove CPP_THROW_NEW from display list code; r=dholbert
...
nsDisplayListBuilder::Allocate is infallible. Therefore,
nsDisplayListItem::operator new, which calls Allocate to obtain memory,
does not need to declare itself as throwing. And so on for functions
that call nsDisplayListBuilder::Allocate.
2016-08-16 17:05:38 -04:00
Jonathan Chan
9c62a2c11c
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Kearwood (Kip) Gilbert
2c3a6a5f88
Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
...
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Matt Woodrow
193414f9a8
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
Matt Woodrow
5c967cf2fc
Bug 1237097 - Don't invalidate opacity:0 nsDisplayOpacity items. r=tnikkel
2016-08-10 15:12:27 +12:00
Andi-Bogdan Postelnicu
6ef6a625d6
Bug 1289407 - initialise |mForceNotVisible| in explicit ctor. r=tnikkel
...
MozReview-Commit-ID: AUvZBGk6j1L
--HG--
extra : rebase_source : 80058036536d5d86c09bb0914ce522f070971bea
2016-07-26 16:07:04 +03:00
Kartikaya Gupta
879f91bb9c
Bug 1286957 - Because combining touch-action areas into the event regions is fraught with peril, dump them into the dispatch-to-content region. r=tnikkel
...
MozReview-Commit-ID: FOyCEFP3Hw6
2016-07-20 19:02:09 -04:00
Timothy Nikkel
8b8ea4c0be
Bug 1276467. Enforce that any items creating when we descend into an out-of-flow for which we don't have the proper clip are invisible. r=mattwoodrow
...
Just giving them an empty visible rect isn't enough because the initial visible rect can be ignored when we compute visibility.
When we enter an out of flow without saved clip data we set a flag on the builder indicating all items created should be invisible. When we enter a visible out of flow (ie one with saved clip data) inside the first out of flow we clear the flag so items created inside the second out of flow can be visible.
2016-07-12 00:49:11 -05:00
Hiroyuki Ikezoe
7cc7e32a9b
Bug 1278136 - Part 0: Clean up frame->StyleDisplay()->BackfaceIsHidden() usage. r=mattwoodrow
...
We already have a wrapper named nsIFrame::BackfaceIsHidden().
MozReview-Commit-ID: 5L49W6wtXs1
--HG--
extra : rebase_source : d3be8d028453e63fb2d3d96b5956262d352385ef
2016-07-08 13:01:31 +09:00
Matt Woodrow
b4b0f124bf
Bug 1283827 - Flatten transform-style:preserve-3d when combined with opacity. r=dbaron
...
This matches the behaviour required by the latest editor's draft spec and matches what blink is planning on shipping soon.
It may not be an entirely web compatible change, but we expect only a small number of websites to be affected. See
the bug for more details.
2016-07-02 14:47:12 +02:00
Matt Woodrow
420e856aa7
Bug 1269321: Part 2 - Add a new constructor option to nsDisplayOwnLayer that doesn't force active layers. r=thinker
...
--HG--
extra : rebase_source : b972a28220de54eb3f2af6ef4dc1c748860b11f9
2016-06-30 18:09:08 +02:00
Bill McCloskey
b8ababd5ee
Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander)
2016-06-30 14:30:30 -07:00
Brad Werth
bb6b3396a0
Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Phil Ringnalda
28ae5ce216
Back out changeset 0bb00282a4c2 (bug 1243559) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
179aa18d0d
Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
...
--HG--
extra : rebase_source : fd19554f1611f8028a364ce93e833d8939688bfb
2016-06-21 13:17:11 -07:00
Matt Woodrow
565f5ee9a1
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
2cdd2a5840
Bug 1263829 - Part 1: Allow static checking of whether we want an active opacity layer. r=mstange
2016-06-08 17:12:20 +12:00
Botond Ballo
2f0dad8fb6
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : rebase_source : 5817e50d64a1211e224c9b6dbd3e3efdcd5e48f0
extra : intermediate-source : 6f03149a7565e317156cc7218120f39c9fb41915
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Wes Kocher
086c164bf6
Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
...
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Botond Ballo
5a82b92113
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : rebase_source : 5817e50d64a1211e224c9b6dbd3e3efdcd5e48f0
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Kartikaya Gupta
f04e92726d
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
--HG--
extra : rebase_source : a1eecb5705e79c992b0531711b4c0d40092712c4
2016-06-03 10:20:38 -04:00
Matt Woodrow
421203143a
Bug 1274962 - Part 5: Don't trust the visible region for opacity within preserve-3d. r=mstange
2016-06-03 14:24:38 +12:00
Matt Woodrow
64b86ea169
Bug 1274962 - Part 4: Reorder how we compute transforms for preserve-3d. r=mstange,thinker
2016-06-03 14:23:27 +12:00
Matt Woodrow
a3ac199d7f
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
d388fe3f47
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
f00b6395cb
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
30ccb1ee89
Bug 1274962 - Part 5: Don't trust the visible region for opacity within preserve-3d. r=mstange
...
--HG--
extra : rebase_source : 268eff6ba5410f78ae5920ff0d74fe975efea0b6
2016-06-03 14:24:38 +12:00
Matt Woodrow
29be323a2b
Bug 1274962 - Part 4: Reorder how we compute transforms for preserve-3d. r=mstange,thinker
...
--HG--
extra : rebase_source : dac903a9f2881aac952ea380ac821238bb18293b
2016-06-03 14:23:27 +12:00
Matt Woodrow
d5e2d1e05c
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
...
--HG--
extra : rebase_source : 579ec5e1ac8e5b31123504b53c5b280d7a2e10a1
2016-06-03 14:22:57 +12:00
Matt Woodrow
4b9ab44334
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
...
--HG--
extra : rebase_source : 1c4c8615bb5ca52b731646bb9594b618ae4b6a98
2016-06-03 14:22:23 +12:00
Sebastian Hengst
58605fbcd6
Backed out changeset 8df1bde7eafd (bug 1276107)
2016-06-02 22:54:31 +02:00
Botond Ballo
5067bf046b
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Carsten "Tomcat" Book
6dc6665bce
Backed out changeset 4cfdd1649464 (bug 1263349)
2016-05-24 11:13:59 +02:00
Seth Fowler
1cb3c53e11
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
Kan-Ru Chen
d5a5ebb1c5
Bug 1271931 - Make DisplayItem::IsUniform to return Maybe<nscolor>. r=tnikkel
...
Maybe<nscolor> ensures that correct value is returned and also makes the
error checking clearer than using a out param.
MozReview-Commit-ID: 39uHIFCZzqn
--HG--
extra : rebase_source : 1885906646ebc9739c86aecb2b8e4bd0ee02e97f
2016-05-19 16:07:52 +08:00
Matt Woodrow
55e4b39110
Bug 1141468 - Don't report that we need component alpha for svg filters, since text within it will never have subpixel-AA. r=mstange
2016-05-18 15:14:38 +12:00
Matt Woodrow
ecff14fb35
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Matt Woodrow
2e5a9db070
Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange
2016-05-18 15:12:14 +12:00
CJKu
31d52bc0c4
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
--HG--
extra : rebase_source : 271b8d2aae82c02678637bcbbb3a77bc7c5b43f8
2016-05-13 00:08:53 +08:00
CJKu
ea85bf6191
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
--HG--
extra : rebase_source : 2b6205ad119265679b28d06056c3b433aab445c8
2016-05-13 00:08:30 +08:00
Matt Woodrow
fec269f78c
Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange
2016-05-10 12:48:59 +12:00
Markus Stange
dcc87ebff1
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 0735ea7651803769721d109d52ca83cddad65aa7
2016-04-28 14:09:06 -04:00
Markus Stange
7a09990486
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 990d5724e70858525ebd5732e184b96e1c75d7f3
2016-05-04 14:14:23 -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
4fdd26bfa9
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 5ae32cc1b9b7eadf4b28f6b64f0cf26f50f761f7
2016-04-28 14:09:06 -04:00
Markus Stange
6231d39a7c
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : da85ec302345a64424e08693f3909c185364d913
2016-05-03 15:16:11 -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
1a6baf6d28
Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
...
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.
MozReview-Commit-ID: 2zmlxVRLIqe
***
--HG--
extra : rebase_source : 8093b69502ad849a4b8bb6d254967a6051f1909d
2016-04-28 14:09:06 -04:00