stylecontext: Handle querying the wrong state better
stylecontext: Handle querying the wrong state better

When a getter function (like get_color()) is called and the passed in
state doesn't match the current state returned via get_state(), we used
to do a trick: We called save()/set_state() on the context before
getting the values.

Unfortunately, since 3a337156d11a86c7a88f1f30a09276fdf6f63008 this
has the unfortunate side effect that it also creates a child element.
This breaks various old codebases (spinbutton has been fixed in
998feeb2bc3e37275cfe915e128179d2704ca9c8, Webkit is fixed in
https://bugs.webkit.org/show_bug.cgi?id=137803 ) unfortunately.

So instead, look up the values manually ensuring that no child element
is created but the correct state is used.

grubersjoe/adwaita,jadahl/gtk,Lyude/gtk-,ahodesuka/gtk,Lyude/gtk-,ahodesuka/gtk,ahodesuka/gtk,jadahl/gtk,Adamovskiy/gtk,Lyude/gtk-,jadahl/gtk,alexlarsson/gtk,chergert/gtk,Adamovskiy/gtk,chergert/gtk,jadahl/gtk,Adamovskiy/gtk,grubersjoe/adwaita,Lyude/gtk-,jigpu/gtk,Lyude/gtk-,jigpu/gtk,grubersjoe/adwaita,jigpu/gtk,alexlarsson/gtk,Adamovskiy/gtk,jigpu/gtk,chergert/gtk,Adamovskiy/gtk,grubersjoe/adwaita,ahodesuka/gtk,davidgumberg/gtk,jigpu/gtk,davidgumberg/gtk,Lyude/gtk-,alexlarsson/gtk,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,chergert/gtk,alexlarsson/gtk,grubersjoe/adwaita,jigpu/gtk,alexlarsson/gtk,davidgumberg/gtk,davidgumberg/gtk,davidgumberg/gtk,jadahl/gtk,Adamovskiy/gtk,davidgumberg/gtk,Lyude/gtk-,grubersjoe/adwaita,jadahl/gtk,chergert/gtk,Adamovskiy/gtk,alexlarsson/gtk,ahodesuka/gtk,chergert/gtk,jigpu/gtk,Adamovskiy/gtk,ahodesuka/gtk,jadahl/gtk,grubersjoe/adwaita,jadahl/gtk,ahodesuka/gtk,ahodesuka/gtk,jigpu/gtk,chergert/gtk,Lyude/gtk-,davidgumberg/gtk,grubersjoe/adwaita,alexlarsson/gtk