Pending orders are executed once the price reaches or surpasses your pending order price. If a market gap surpasses your pending order price, then the order would still be triggered and opened at the available market price since the price you requested is not available in the market.