LibWeb/CSS: Remove PropertyID::Invalid
This commit is contained in:
parent
56c7d838f0
commit
a098b5fcc4
3 changed files with 0 additions and 4 deletions
|
|
@ -820,8 +820,6 @@ RefPtr<StyleValue const> CSSStyleProperties::style_value_for_computed_property(L
|
|||
return KeywordStyleValue::create(Keyword::Normal);
|
||||
return get_computed_value(property_id);
|
||||
}
|
||||
case PropertyID::Invalid:
|
||||
return KeywordStyleValue::create(Keyword::Invalid);
|
||||
case PropertyID::Custom:
|
||||
dbgln_if(LIBWEB_CSS_DEBUG, "Computed style for custom properties was requested (?)");
|
||||
return nullptr;
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@ ErrorOr<void> generate_header_file(JsonObject& properties, JsonObject& logical_p
|
|||
namespace Web::CSS {
|
||||
|
||||
enum class PropertyID : @property_id_underlying_type@ {
|
||||
Invalid,
|
||||
Custom,
|
||||
)~~~");
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ TEST_CASE(is_inherited_property_test)
|
|||
EXPECT(!CSS::is_inherited_property(CSS::PropertyID::Border));
|
||||
|
||||
// Edge cases
|
||||
EXPECT(!CSS::is_inherited_property(CSS::PropertyID::Invalid));
|
||||
EXPECT(!CSS::is_inherited_property(CSS::PropertyID::All));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue