mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 12:17:52 +00:00
LibWeb/CSS: Preserve original source text for ComponentValues
This requires a little bit of ad-hoc tracking of start/end Tokens for Function and SimpleBlock.
This commit is contained in:
parent
04939d68f0
commit
ea164124de
Notes:
github-actions[bot]
2024-10-16 12:23:48 +00:00
Author: https://github.com/AtkinsSJ
Commit: ea164124de
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1795
5 changed files with 41 additions and 7 deletions
|
@ -41,6 +41,7 @@ public:
|
|||
|
||||
String to_string() const;
|
||||
String to_debug_string() const;
|
||||
String original_source_text() const;
|
||||
|
||||
private:
|
||||
Variant<Token, Function, SimpleBlock> m_value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue