LibWeb: Update the CSS prefix to -libweb

This commit is contained in:
Sergey Bugaev 2020-05-21 15:05:55 +03:00 committed by Andreas Kling
parent 80f43ffc27
commit c00076de82
Notes: sideshowbarker 2024-07-19 06:17:26 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ li {
}
a:link {
color: -libhtml-link;
color: -libweb-link;
text-decoration: underline;
}

View file

@ -49,7 +49,7 @@ String IdentifierStyleValue::to_string() const
case CSS::ValueID::Invalid:
return "(invalid)";
case CSS::ValueID::VendorSpecificLink:
return "-libhtml-link";
return "-libweb-link";
default:
ASSERT_NOT_REACHED();
}

View file

@ -158,7 +158,7 @@ NonnullRefPtr<StyleValue> parse_css_value(const StringView& string)
if (color.has_value())
return ColorStyleValue::create(color.value());
if (string == "-libhtml-link")
if (string == "-libweb-link")
return IdentifierStyleValue::create(CSS::ValueID::VendorSpecificLink);
return StringStyleValue::create(string);