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

Unified Diff: LayoutTests/editing/style/justify-left-crash.html

Issue 960353002: Handle null baseStyle in getPropertiesNotIn (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test Created 5 years, 10 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: LayoutTests/editing/style/justify-left-crash.html
diff --git a/LayoutTests/editing/style/justify-left-crash.html b/LayoutTests/editing/style/justify-left-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..5be259ddb818f3ece8c3bd2abb297f2f8942ad66
--- /dev/null
+++ b/LayoutTests/editing/style/justify-left-crash.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<HTML hidden>
+<style>
+html, head, style {
+ display: block;
+}
+</style>
+<script>
+ document.designMode = 'on';
+ document.execCommand("selectAll", true , null);
yosin_UTC9 2015/03/10 05:27:07 nit: We don't need to have |true| and |null|. "Sel
rwlbuis 2015/03/10 23:44:21 Done.
+ document.execCommand("italic", false , null);
yosin_UTC9 2015/03/10 05:27:07 nit: We don't need to have |false| and |null|. The
rwlbuis 2015/03/10 23:44:21 Done.
+ document.execCommand("justifyLeft", false , null);
yosin_UTC9 2015/03/10 05:27:07 nit: We don't need to have |false| and |null|. The
rwlbuis 2015/03/10 23:44:21 Done.
+</script>
yosin_UTC9 2015/03/10 05:27:07 Could you add output of this test to avoid empty e
rwlbuis 2015/03/10 23:44:21 I tried but it is hard, the hidden attribute in ht
« no previous file with comments | « no previous file | LayoutTests/editing/style/justify-left-crash-expected.html » ('j') | Source/core/editing/EditingStyle.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698