Commit Graph

801 Commits

Author SHA1 Message Date
Markus Stange
561744eb98 Bug 1302551 - Add nsDisplaySolidColorRegion and create it for elements that have the cutoutregion property set on them. r=mattwoodrow
MozReview-Commit-ID: LtXrks9Su73
2016-09-14 23:18:30 -04:00
cku
0839cdc3da Bug 1300401 - Part 4. Correct indent. r=me
MozReview-Commit-ID: HyWOE3F4C7n
2016-09-07 11:46:12 +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
cku
135f3f3b56 Bug 1295094 - Part 11. Implement nsDisplayFilter. r=mstange
MozReview-Commit-ID: 1V6dxJsejsi
2016-08-16 15:23:33 +08:00
cku
35ee6e24a3 Bug 1295094 - Part 9. Implement nsDisplayMask. r=mstange
MozReview-Commit-ID: CBszApBehRE
2016-08-10 03:02:45 +08:00
Timothy Nikkel
e6a3c2af90 Bug 1298100. Remove nsDisplayListBuilder::mHadToIgnoreSuppression because it is unused. r=cjku 2016-08-26 18:02:51 -05:00
Nathan Froyd
6b5f12063a 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
63041461e3 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
03eccd26e7 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
23ccd0531f 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
2016-08-09 16:28:19 -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
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
Matt Woodrow
5bf72df871 Bug 1237097 - Don't invalidate opacity:0 nsDisplayOpacity items. r=tnikkel 2016-08-10 15:12:27 +12:00
Andi-Bogdan Postelnicu
e67d18833e Bug 1289407 - initialise |mForceNotVisible| in explicit ctor. r=tnikkel
MozReview-Commit-ID: AUvZBGk6j1L
2016-07-26 16:07:04 +03:00
Kartikaya Gupta
68edabd58a 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
707e109efa 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
fe0c87b94d Bug 1278136 - Part 0: Clean up frame->StyleDisplay()->BackfaceIsHidden() usage. r=mattwoodrow
We already have a wrapper named nsIFrame::BackfaceIsHidden().

MozReview-Commit-ID: 5L49W6wtXs1
2016-07-08 13:01:31 +09:00
Matt Woodrow
dd176e3cb3 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
a43c7ffc4e Bug 1269321: Part 2 - Add a new constructor option to nsDisplayOwnLayer that doesn't force active layers. r=thinker 2016-06-30 18:09:08 +02:00
Bill McCloskey
48fe44d618 Bug 1282153 - Remove retaining outparam to GetLayerManager (r=dvander) 2016-06-30 14:30:30 -07:00
Brad Werth
69ccb7e3db 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
ae1f6b874d Back out changeset 0bb00282a4c2 (bug 1243559) for widespread SVG assertion failures
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
665cd94da6 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
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
c3d71f4710 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
a868a0adaf 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
2016-05-30 20:01:04 -04:00
Wes Kocher
f5fc4c4717 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
ea221f913f 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
2016-05-30 20:01:04 -04: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
6ed40c9f17 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
8e0f69f4c2 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
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
b2b24e6115 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
60c2397303 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
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
Sebastian Hengst
c41460eca6 Backed out changeset 8df1bde7eafd (bug 1276107) 2016-06-02 22:54:31 +02:00
Botond Ballo
7cbc11afea 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
2016-05-30 20:01:04 -04:00
Carsten "Tomcat" Book
4e27c39420 Backed out changeset 4cfdd1649464 (bug 1263349) 2016-05-24 11:13:59 +02: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
Kan-Ru Chen
61c6c69c00 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
2016-05-19 16:07:52 +08:00
Matt Woodrow
3d79e22f76 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
bf56f1a52a 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
40f381ecb5 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
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
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
Markus Stange
0560a12833 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
***
2016-04-28 14:09:06 -04:00