1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

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
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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