mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:18:13 +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
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