Corners of blocks can't detect Entity
What I expected to happen was...:
Whole block should detect entity if he is standing on it **
What actually happened was...:
If entity (or player) is standing on the corner of some block, he can't be detected with any command that can detect entity standing on the block.
Steps to Reproduce:
1. Stand on some block
2. Use sneak to move to the corner of the block
3. Use some command, which should detect you For stone you can {}use: /execute as @p at @s if block ~ ~-0.1 ~stone run say @s
You're not above stone then... at/positioned as a player runs at the center of the feet, not the whole area (it it'd need to run a command for every point below the player).
This is not a bug, but you misunderstanding the command.