Index: third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html |
diff --git a/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html b/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html |
index 5538c8855015aa322a6705c0dfffb1fde56b4bb1..898487570531aa828a596fefa036b4fce6d18259 100644 |
--- a/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html |
+++ b/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html |
@@ -22,7 +22,7 @@ function removeFontName(text) |
{ |
if (!text) |
return text; |
- return text.replace(/font-family: [^;]+;/g, ''); |
+ return text.replace(/font-family: .+;; /, ''); |
Timothy Loh
2016/03/14 23:25:11
I don't get this, what does the text argument look
rwlbuis
2016/03/15 18:34:15
You are right, this is tricky. core/editing/serial
|
} |
function handleEvent(data) |