Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 45733010: Add pointer-events="bounding-box" for svg content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make assert more specific Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index e2326689303bd74b74e99c27a4f2daa08d42c94a..4b5b0a4c8493ad9548173f1ff8e6c1a91db761cc 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -3336,6 +3336,9 @@ template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EPointerEvents e)
case PE_ALL:
m_value.valueID = CSSValueAll;
break;
+ case PE_BOUNDINGBOX:
+ m_value.valueID = CSSValueBoundingBox;
+ break;
}
}
@@ -3363,6 +3366,8 @@ template<> inline CSSPrimitiveValue::operator EPointerEvents() const
return PE_FILL;
case CSSValueStroke:
return PE_STROKE;
+ case CSSValueBoundingBox:
+ return PE_BOUNDINGBOX;
default:
break;
}
« no previous file with comments | « Source/core/css/CSSParser-in.cpp ('k') | Source/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698