mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-24 23:23:58 +00:00
LibWeb: Update the CSS prefix to -libweb
This commit is contained in:
parent
80f43ffc27
commit
c00076de82
Notes:
sideshowbarker
2024-07-19 06:17:26 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/c00076de829 Pull-request: https://github.com/SerenityOS/serenity/pull/2317
3 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ li {
|
|||
}
|
||||
|
||||
a:link {
|
||||
color: -libhtml-link;
|
||||
color: -libweb-link;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue