| Index: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| index ab8a65045d90f6d22913eef4949d64bfcaaaae52..556d2778516a4dfbe5c42a3e3590d84dd738f942 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| @@ -296,7 +296,8 @@ void StyleSheetHandler::observeComment(unsigned startOffset, unsigned endOffset)
|
| if (commentPropertyData.size() != 1)
|
| return;
|
| CSSPropertySourceData& propertyData = commentPropertyData.at(0);
|
| - if (propertyData.range.length() != commentText.length())
|
| + bool parsedOk = propertyData.parsedOk || propertyData.name.startsWith("-moz-") || propertyData.name.startsWith("-o-") || propertyData.name.startsWith("-webkit-") || propertyData.name.startsWith("-ms-");
|
| + if (!parsedOk || propertyData.range.length() != commentText.length())
|
| return;
|
|
|
| m_currentRuleDataStack.last()->styleSourceData->propertyData.append(
|
|
|