mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 23:26:36 +00:00
Browser: Add output styles to JS source printed in the console
This patch uses the new JS::MarkupGenerator to stylize all of the source code and runtime values printed in the console's output panel. This also does away with the Console's global style sheet, as all styling is handled by the MarkupGenerator and the System Palette.
This commit is contained in:
parent
941b028ca3
commit
d2b493b74e
Notes:
sideshowbarker
2024-07-19 06:08:12 +09:00
Author: https://github.com/FalseHonesty
Commit: d2b493b74e
Pull-request: https://github.com/SerenityOS/serenity/pull/2375
4 changed files with 54 additions and 100 deletions
|
@ -45,8 +45,6 @@ public:
|
|||
private:
|
||||
ConsoleWidget();
|
||||
|
||||
String create_document_style();
|
||||
|
||||
RefPtr<GUI::TextBox> m_console_input;
|
||||
RefPtr<Web::HtmlView> m_console_output_view;
|
||||
RefPtr<Web::Element> m_console_output_container;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue