Title: [253757] trunk/Source/WebInspectorUI
- Revision
- 253757
- Author
- drou...@apple.com
- Date
- 2019-12-19 09:33:12 -0800 (Thu, 19 Dec 2019)
Log Message
Web Inspector: Audit: importing a result with DOM nodes that don't match the inspected page appear as empty lines
https://bugs.webkit.org/show_bug.cgi?id=205437
Reviewed by Brian Burg.
* UserInterface/Views/AuditTestCaseContentView.js:
(WI.AuditTestCaseContentView.prototype.layout):
Call `refresh` on the `CodeMirror` instance after a timeout to give it a chance to be added
to the DOM tree.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (253756 => 253757)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-12-19 17:15:41 UTC (rev 253756)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-12-19 17:33:12 UTC (rev 253757)
@@ -1,3 +1,15 @@
+2019-12-19 Devin Rousso <drou...@apple.com>
+
+ Web Inspector: Audit: importing a result with DOM nodes that don't match the inspected page appear as empty lines
+ https://bugs.webkit.org/show_bug.cgi?id=205437
+
+ Reviewed by Brian Burg.
+
+ * UserInterface/Views/AuditTestCaseContentView.js:
+ (WI.AuditTestCaseContentView.prototype.layout):
+ Call `refresh` on the `CodeMirror` instance after a timeout to give it a chance to be added
+ to the DOM tree.
+
2019-12-18 Devin Rousso <drou...@apple.com>
Web Inspector: Elements: restrict showing paint flashing and compositing borders to the Web Inspector session
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.js (253756 => 253757)
--- trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.js 2019-12-19 17:15:41 UTC (rev 253756)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.js 2019-12-19 17:33:12 UTC (rev 253757)
@@ -241,6 +241,10 @@
}
}
}
+
+ setTimeout(() => {
+ codeMirror.refresh();
+ });
}
});
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes