Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items.html

Issue 1778743003: Make <custom-ident> not insert quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also fix FontFace.cpp Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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)

Powered by Google App Engine