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

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: Address review comments Created 5 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
« no previous file with comments | « no previous file | LayoutTests/editing/style/justify-left-crash-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e2ec9ee182b449748b476bf3dabe7026ff8564f3
--- /dev/null
+++ b/LayoutTests/editing/style/justify-left-crash.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html hidden>
+<head>
+<style>
+html, head, style {
+ display: block;
+}
+</style>
+</head>
+<script>
+ document.designMode = 'on';
yosin_UTC9 2015/03/12 04:13:36 nit: Let's use double quote, since other statement
+ document.execCommand("selectAll");
+ document.execCommand("italic");
+ document.execCommand("justifyLeft");
+ document.documentElement.removeAttribute("hidden");
+</script>
Yuta Kitamura 2015/03/12 06:01:39 We generally follow the Blink C++ coding style in
+<body>
+This test passes if it does not crash.
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/editing/style/justify-left-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698