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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/script-tests/enabling-and-selection.js

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/editing/execCommand/script-tests/enabling-and-selection.js
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/enabling-and-selection.js b/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/enabling-and-selection.js
index 4b1c516ea1820cf78571f3862947af13fc4f9590..43e646038e24bb96cefe7c5facb09fc3780e366b 100644
--- a/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/enabling-and-selection.js
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/script-tests/enabling-and-selection.js
@@ -85,9 +85,9 @@ shouldBe("whenEnabled('Cut')", "'editable range'");
shouldBe("whenEnabled('RemoveFormat')", "'editable range'");
shouldBe("whenEnabled('Delete')", "'editable'");
-shouldBe("whenEnabled('FontName')", "'editable'");
-shouldBe("whenEnabled('FontSize')", "'editable'");
-shouldBe("whenEnabled('FontSizeDelta')", "'editable'");
+shouldBe("whenEnabled('FontName')", "'richly editable'");
+shouldBe("whenEnabled('FontSize')", "'richly editable'");
+shouldBe("whenEnabled('FontSizeDelta')", "'richly editable'");
shouldBe("whenEnabled('ForwardDelete')", "'editable'");
shouldBe("whenEnabled('InsertHTML')", "'editable'");
shouldBe("whenEnabled('InsertParagraph')", "'editable'");

Powered by Google App Engine
This is Rietveld 408576698