mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Serialize StringStyleValue with quotes
In order to access the string's contents, use the new `StringStyleValue::string_value()` method. I think I found all the existing places that relied on `StringStyleValue::to_string()` returning an unquoted string, but it's hard to know for sure until things break.
This commit is contained in:
parent
77ae510319
commit
ff02de4ad0
5 changed files with 28 additions and 9 deletions
|
@ -0,0 +1,8 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const e = document.createElement("div");
|
||||
e.style.content = '"wheeee"';
|
||||
println(e.style.content);
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue