Yup its legal. The minraise amount is the amount the last person raised BY on that betting round, NOT the amount they raised TO.

In this case it went from 100 to 300 so thats a raise of 200. A minraise is a raise of another 200 so thats to 500.