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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html
diff --git a/LayoutTests/fast/css-generated-content/bug-106384.html b/LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html
similarity index 60%
copy from LayoutTests/fast/css-generated-content/bug-106384.html
copy to LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html
index 693c38d2c8bac993bf90b0cf1d2089cf2381d3cc..8048d6d6d1215eff396238e2a7ee540260b3ab51 100644
--- a/LayoutTests/fast/css-generated-content/bug-106384.html
+++ b/LayoutTests/fast/ruby/add-text-to-block-ruby-with-after-pseudo-crash.html
@@ -1,16 +1,14 @@
<!DOCTYPE html>
-
<style>
-ruby:after {
- display: block;
- content: "";
-}
+ ruby::after {
+ display: block;
+ content: "";
+ }
+ ruby {
+ display: block;
+ }
</style>
-<p>
- Bug 106384: Heap-use-after-free in WebCore::LayoutObject::willBeRemovedFromTree.
-</p>
-
<script>
if (window.testRunner)
testRunner.dumpAsText();
@@ -18,8 +16,7 @@ if (window.testRunner)
onload = function() {
var ruby = document.createElement('ruby');
document.body.appendChild(ruby);
- // Cause a layout.
- document.body.offsetLeft;
+ document.body.offsetTop;
ruby.appendChild(document.createTextNode('Passed if this test did not crash or assert.'));
-};
+}
</script>
« 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