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:
parent
80f43ffc27
commit
c00076de82
3 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ li {
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link {
|
a:link {
|
||||||
color: -libhtml-link;
|
color: -libweb-link;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue