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> |