The test case below creates one trigger (after insert) on the master and another trigger (before insert) on the slave.
The master trigger writes into a different table. The slave trigger modifies the values on its own table (sets 2nd column := 1st column).
Here is the result of the test case on slave:
That is, the first row is not updated, while the other two are.