Title: [184792] trunk/Source/WebCore
- Revision
- 184792
- Author
- [email protected]
- Date
- 2015-05-22 13:31:47 -0700 (Fri, 22 May 2015)
Log Message
Web Inspector: Unable to get cursor in new Rule section after creating multiple New Rules
https://bugs.webkit.org/show_bug.cgi?id=145294
Patch by Joseph Pecoraro <[email protected]> on 2015-05-22
Reviewed by Timothy Hatcher.
* inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyleSheet::ensureParsedDataReady):
Allow stylesheets with mutations for the inspector stylesheet
which we control mutations of.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (184791 => 184792)
--- trunk/Source/WebCore/ChangeLog 2015-05-22 20:30:36 UTC (rev 184791)
+++ trunk/Source/WebCore/ChangeLog 2015-05-22 20:31:47 UTC (rev 184792)
@@ -1,3 +1,15 @@
+2015-05-22 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Unable to get cursor in new Rule section after creating multiple New Rules
+ https://bugs.webkit.org/show_bug.cgi?id=145294
+
+ Reviewed by Timothy Hatcher.
+
+ * inspector/InspectorStyleSheet.cpp:
+ (WebCore::InspectorStyleSheet::ensureParsedDataReady):
+ Allow stylesheets with mutations for the inspector stylesheet
+ which we control mutations of.
+
2015-05-22 Eric Carlson <[email protected]>
[Mac] Device picker menu should be persistent
Modified: trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp (184791 => 184792)
--- trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp 2015-05-22 20:30:36 UTC (rev 184791)
+++ trunk/Source/WebCore/inspector/InspectorStyleSheet.cpp 2015-05-22 20:31:47 UTC (rev 184792)
@@ -1077,7 +1077,8 @@
bool InspectorStyleSheet::ensureParsedDataReady()
{
- return !styleSheetMutated() && ensureText() && ensureSourceData();
+ bool allowParsedData = m_origin == Inspector::Protocol::CSS::StyleSheetOrigin::Inspector || !styleSheetMutated();
+ return allowParsedData && ensureText() && ensureSourceData();
}
bool InspectorStyleSheet::ensureText() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes