mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibWeb: Use serialize_a_url() to serialize @import url(...)
This commit is contained in:
parent
fbfb70f81a
commit
9c1c7720c5
1 changed files with 1 additions and 4 deletions
|
@ -65,10 +65,7 @@ String CSSImportRule::serialized() const
|
|||
builder.append("@import "sv);
|
||||
|
||||
// 2. The result of performing serialize a URL on the rule’s location.
|
||||
// FIXME: Look into the correctness of this serialization
|
||||
builder.append("url("sv);
|
||||
builder.append(m_url.to_deprecated_string());
|
||||
builder.append(')');
|
||||
serialize_a_url(builder, MUST(m_url.to_string()));
|
||||
|
||||
// FIXME: 3. If the rule’s associated media list is not empty, a single SPACE (U+0020) followed by the result of performing serialize a media query list on the media list.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue