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

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: Patch for landing 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..02ae756f5a4fc06d358474c25869431c93348c9d
--- /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";
+ document.execCommand("selectAll");
+ document.execCommand("italic");
+ document.execCommand("justifyLeft");
+ document.documentElement.removeAttribute("hidden");
+</script>
+<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