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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .slider { -webkit-appearance: media-volume-slider-mute-button; }
4 *:first-letter { pointer-events: fill; }
5 </style>
6 <body style="-webkit-column-count: 2">
7 <div>
8 <button></button>
9 <table id="table" style="-webkit-column-span: all"></table>
10 </div>
11 <script>
12 document.body.offsetHeight;
13 document.body.appendChild(document.createElement('div'));
14 document.getElementById('table').className = 'slider'
15
16 if (window.testRunner)
17 testRunner.dumpAsText();
18
19 document.write("PASS. Test didn't crash.");
20 </script>
21 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698