mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibWebView: Clear the style and font tabs when the Inspector is reset
This commit is contained in:
parent
5233f9c8e6
commit
440f40fde6
Notes:
github-actions[bot]
2024-09-07 09:12:03 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/440f40fde6b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1302
1 changed files with 9 additions and 0 deletions
|
@ -103,6 +103,15 @@ inspector.reset = () => {
|
|||
let accessibilityTree = document.getElementById("accessibility-tree");
|
||||
accessibilityTree.innerHTML = "";
|
||||
|
||||
let styleSheetPicker = document.getElementById("style-sheet-picker");
|
||||
styleSheetPicker.replaceChildren();
|
||||
|
||||
let styleSheetSource = document.getElementById("style-sheet-source");
|
||||
styleSheetSource.innerHTML = "";
|
||||
|
||||
let fontsList = document.getElementById("fonts-list");
|
||||
fontsList.innerHTML = "";
|
||||
|
||||
selectedDOMNode = null;
|
||||
pendingEditDOMNode = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue