Index: LayoutTests/fast/multicol/shadow-breaking.html |
diff --git a/LayoutTests/fast/multicol/shadow-breaking.html b/LayoutTests/fast/multicol/shadow-breaking.html |
index befec9e9a47a1be431267d5071a785d1c7373f45..2eae9e9d36f7f0e0488ba2c142504eb4d4d02346 100644 |
--- a/LayoutTests/fast/multicol/shadow-breaking.html |
+++ b/LayoutTests/fast/multicol/shadow-breaking.html |
@@ -1,37 +1,11 @@ |
<!DOCTYPE html> |
-<html> |
- <head> |
- <style> |
- p { |
- position:absolute; |
- border:2px solid black; |
- max-width:420px; |
- -webkit-column-gap:20px; |
- -webkit-column-width:200px; |
- -webkit-column-rule:1px dotted white; |
- font-size:16px; |
- top:20px; |
- left:20px; |
- text-align:justify; |
- font-weight:bold; |
- text-shadow:1px 1px 10px black; |
- } |
- |
- p:first-letter { |
- font-size:36px; |
- margin-right:4px; |
- margin-bottom:-6px; |
- float:left; |
- } |
- |
- |
- |
- </style> |
- </head> |
- |
- <body> |
- <div class="mag"> |
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras pharetra mollis pharetra. Suspendisse lacinia orci et felis tristique sit amet semper massa tempus. Suspendisse consectetur tempor pulvinar. Proin dui eros, ultricies vel malesuada vel, tempor at ante. Nam eget nisl dui. Donec molestie lectus a nunc scelerisque blandit. Nam non ligula massa, sed suscipit turpis. Etiam eget ligula sit amet turpis venenatis dictum in eleifend augue. Duis tellus lectus, volutpat et adipiscing a, pellentesque eu metus. Aenean suscipit congue mauris at gravida. Integer lectus ligula, consectetur sit amet venenatis id, scelerisque eget nisl. Nunc dapibus posuere risus, vitae tempor nibh iaculis et.</p> |
- </div> |
- </body> |
-</html> |
+<script src="../../resources/check-layout.js"></script> |
+<p>Test that text-shadow doesn't mess up the line positions.</p> |
+<div style="position:relative; font:20px/1 Ahem; width:420px; -webkit-columns:2; -webkit-column-gap:20px; text-shadow:1px 100px 50px;"> |
+ <span class="testee" data-offset-y="0" data-offset-x="0">line</span><br> |
+ <span class="testee" data-offset-y="0" data-offset-x="220">line</span><br> |
+</div> |
+<p id="result"></p> |
+<script> |
+ checkLayout('.testee', document.getElementById('result')); |
+</script> |