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

Unified Diff: LayoutTests/editing/pasteboard/insert-font-weight2.html

Issue 1284313002: Assert should not be reached failure in fontWeightIsBold (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/pasteboard/insert-font-weight2.html
diff --git a/LayoutTests/editing/pasteboard/insert-font-weight2.html b/LayoutTests/editing/pasteboard/insert-font-weight2.html
new file mode 100644
index 0000000000000000000000000000000000000000..c72b31f7e8080233df7ba4f0aaf683371fccc928
--- /dev/null
+++ b/LayoutTests/editing/pasteboard/insert-font-weight2.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+a
+<style>
+* {
+ font-weight:lighter;
+}
+</style>
+a
+<style>
+* {
+ font-weight:900;
+}
+</style>
+<div id="log"></div>
+<script>
+test(function() {
+ document.designMode = 'on';
+ document.execCommand("selectAll");
+ document.execCommand("insertOrderedList");
+});
+</script>
« no previous file with comments | « no previous file | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698