diff options
Diffstat (limited to 'src/libserver/css/css_property.hxx')
-rw-r--r-- | src/libserver/css/css_property.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/css/css_property.hxx b/src/libserver/css/css_property.hxx index 82ef9808c..0e17e39fe 100644 --- a/src/libserver/css/css_property.hxx +++ b/src/libserver/css/css_property.hxx @@ -126,6 +126,10 @@ struct alignas(int) css_property { return type == css_property_type::PROPERTY_DISPLAY; } + auto is_visibility(void) const -> bool { + return type == css_property_type::PROPERTY_VISIBILITY; + } + auto operator==(const css_property &other) const { return type == other.type; } }; |