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

Unified Diff: LayoutTests/fast/css-generated-content/empty-first-letter-with-columns-crash.html

Issue 26315006: Avoid creating first-letter RenderTextFragments for unsuitable text nodes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/fast/css-generated-content/empty-first-letter-with-columns-crash.html
diff --git a/LayoutTests/fast/css-generated-content/empty-first-letter-with-columns-crash.html b/LayoutTests/fast/css-generated-content/empty-first-letter-with-columns-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..706bd8f7942c76a53bed38d81610d3ac1092d1b7
--- /dev/null
+++ b/LayoutTests/fast/css-generated-content/empty-first-letter-with-columns-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+.slider { -webkit-appearance: media-volume-slider-mute-button; }
+*:first-letter { pointer-events: fill; }
+</style>
+<body style="-webkit-column-count: 2">
+ <div>
+ <button></button>
+ <table id="table" style="-webkit-column-span: all"></table>
+ </div>
+<script>
+document.body.offsetHeight;
+document.body.appendChild(document.createElement('div'));
+document.getElementById('table').className = 'slider'
+
+if (window.testRunner)
+ testRunner.dumpAsText();
+
+document.write("PASS. Test didn't crash.");
+</script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698