mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 23:52:57 +00:00
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.
8 lines
203 B
HTML
8 lines
203 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const e = document.createElement("div");
|
|
e.style.content = '"wheeee"';
|
|
println(e.style.content);
|
|
});
|
|
</script>
|