Target selector arguments x_rotation and y_rotation don't fully respect ranges if only one end of the range is given
The Bug
Target selector arguments x_rotation and y_rotation don't fully respect ranges if only one end of the range is given.
How To Reproduce
Look into the sky, your x_rotation is <0. Use this command:
/execute if entity @s[x_rotation=80..]
The feedback is Test passed, count:1, but your x_rotation (the last number on the `Facing` line on the F3 screen, it changes when you look up and down) is <0, not >=80.
This command only fails if your x_rotation is between 0 and 80.
This bug also exists for the y_rotation argument, but doesn't exist for other times ranges are used.
Workaround
Define both ends of the range.
/execute if entity @s[x_rotation=80..90]