Fix order-first and order-last for Firefox
#16266
+5
−4
Merged