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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html

Issue 1805773002: Disable FontName, FontSize, and FontSizeDelta commands in contenteditable=plaintext-only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix fast/forms/plaintext-mode-1.html Created 4 years, 9 months 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
Index: third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html b/third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html
index 4f9851f97e4c8b7de5d1b352321a8dc24bc238bb..82ecc4f2dff6cd6919ae64b1d61e2911adccd5b3 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/plaintext-mode-1.html
@@ -38,9 +38,9 @@ assert("document.queryCommandEnabled", "Copy", true);
assert("document.queryCommandEnabled", "CreateLink", false);
assert("document.queryCommandEnabled", "Cut", true);
assert("document.queryCommandEnabled", "Delete", true);
-assert("document.queryCommandEnabled", "FontName", true); // Shouldn't this be false?
-assert("document.queryCommandEnabled", "FontSize", true); // Shouldn't this be false?
-assert("document.queryCommandEnabled", "FontSizeDelta", true); // Shouldn't this be false?
+assert("document.queryCommandEnabled", "FontName", false);
+assert("document.queryCommandEnabled", "FontSize", false);
+assert("document.queryCommandEnabled", "FontSizeDelta", false);
assert("document.queryCommandEnabled", "ForeColor", false);
assert("document.queryCommandEnabled", "ForwardDelete", true);
assert("document.queryCommandEnabled", "Indent", false);

Powered by Google App Engine
This is Rietveld 408576698