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

Side by Side Diff: LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html

Issue 1124313004: Remove special handling of ::before and ::after on RUBY elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2
3 <style> 2 <style>
4 ruby:after { 3 ruby::after {
5 display: block; 4 display: block;
6 content: ""; 5 content: "";
7 } 6 }
7 ruby {
8 display: block;
9 }
8 </style> 10 </style>
9 11
10 <p>
11 Bug 106384: Heap-use-after-free in WebCore::LayoutObject::willBeRemovedFromT ree.
12 </p>
13
14 <script> 12 <script>
15 if (window.testRunner) 13 if (window.testRunner)
16 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
17 15
18 onload = function() { 16 onload = function() {
19 var ruby = document.createElement('ruby'); 17 var ruby = document.createElement('ruby');
20 document.body.appendChild(ruby); 18 document.body.appendChild(ruby);
21 // Cause a layout. 19 document.body.offsetTop;
22 document.body.offsetLeft;
23 ruby.appendChild(document.createTextNode('Passed if this test did not crash or assert.')); 20 ruby.appendChild(document.createTextNode('Passed if this test did not crash or assert.'));
24 }; 21 }
25 </script> 22 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698