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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html

Issue 2752163003: Clear pseudoElement from ElementRareData when FirstLetterPseudoElement doesn't have a LayoutObject (Closed)
Patch Set: Created 3 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/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html b/third_party/WebKit/LayoutTests/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html
new file mode 100644
index 0000000000000000000000000000000000000000..a52f490430d3ae549f28bdb56caf6ffd03d6c96f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/crash-in-attachFirstLetterTextLayoutObjects.html
@@ -0,0 +1,15 @@
+<style>
esprehn 2017/04/06 00:08:59 Can we add a <!DOCTYPE html>
nainar 2017/04/06 00:20:45 Done.
+.c3 { -webkit-appearance: button; }
+.c3:nth-last-child(even) { display: table-row; }
+.c14 { float: left; }
+.c14::first-letter { float: inherit; }
+</style>
+
+<div id="div" class="c14">
+ <div class="c3">
+ Test passes if it doesn't crash.
+ </div>
+</div>
+<script>
+setTimeout('div.appendChild(document.createElement("div"));', 0);
+</script>

Powered by Google App Engine
This is Rietveld 408576698