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

Unified Diff: LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.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
Index: LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.html
diff --git a/LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.html b/LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.html
index b7427821353677c3c8d23b1d1807589035497fab..50780e1aa0047b7984b6234b2727cdbc161d6db4 100644
--- a/LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.html
+++ b/LayoutTests/fast/ruby/ruby-block-style-not-updated-with-before-after-content.html
@@ -1,28 +1,26 @@
-<!-- The orange, blue, yellow and green text boxes should not overlap -->
-<html>
-<body style="font: 1em/1 Ahem, sans-serif;">
+<!DOCTYPE html>
+<p>The orange, blue, yellow and green text boxes should not overlap.</p>
<style>
-#test::before
-{
- content: "1234";
- color: orange;
-}
-#test::after
-{
- content: "4578";
- color: yellow;
-}
+ #test::before {
+ content: "1234";
+ color: orange;
+ }
+ #test::after {
+ content: "4578";
+ color: yellow;
+ }
+ ruby, div {
+ font: 1em/1 Ahem, sans-serif;
+ }
</style>
-<ruby id="test" style="display: block; color: blue">
-ABCD
+<ruby id="test" style="display:block; color:blue;">
+ ABCD
</ruby>
-<div style="font-size: 800%; color: green">
-EFGH
+<div style="font-size:500%; color:green;">
+ EFGH
</div>
<script>
document.body.offsetTop;
var test = document.getElementById("test");
- test.style.fontSize = "800%";
+ test.style.fontSize = "500%";
</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698