| Index: Source/core/css/StyleSheetContents.cpp
|
| diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
|
| index 328cf80cc95b5ca97db57d8e6c35806663716e79..5c7304253063c8bdda010bf1297a5f51fe3003cf 100644
|
| --- a/Source/core/css/StyleSheetContents.cpp
|
| +++ b/Source/core/css/StyleSheetContents.cpp
|
| @@ -274,7 +274,9 @@ void StyleSheetContents::parserAddNamespace(const AtomicString& prefix, const At
|
| const AtomicString& StyleSheetContents::determineNamespace(const AtomicString& prefix)
|
| {
|
| if (prefix.isNull())
|
| - return nullAtom; // No namespace. If an element/attribute has a namespace, we won't match it.
|
| + return defaultNamespace();
|
| + if (prefix.isEmpty())
|
| + return emptyAtom; // No namespace. If an element/attribute has a namespace, we won't match it.
|
| if (prefix == starAtom)
|
| return starAtom; // We'll match any namespace.
|
| return m_namespaces.get(prefix);
|
|
|