Bug 1159729 - Reftest to check that text decoration is properly offset when needed. r=smontagu
authorJonathan Kew <jkew@mozilla.com>
Mon, 11 May 2015 11:33:45 +0100
changeset 243346 f4be5f25b35ad130b570505932cbe896a40732dc
parent 243345 e03d014c257f845bc3bfc31ff1f336c76bde1bcf
child 243347 647d7c637c7b54b52696186d21bd407c6512d389
push id28738
push usercbook@mozilla.com
push dateTue, 12 May 2015 14:11:31 +0000
treeherdermozilla-central@bedce1b405a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmontagu
bugs1159729
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1159729 - Reftest to check that text decoration is properly offset when needed. r=smontagu
layout/reftests/text-decoration/1159729-offset-adjustment-notref.html
layout/reftests/text-decoration/1159729-offset-adjustment.html
layout/reftests/text-decoration/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-decoration/1159729-offset-adjustment-notref.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style type="text/css">
+p {
+  font: 12px Impact, Times, serif;
+}
+span {
+  background: black;
+}
+</style>
+</head>
+<body>
+<p>
+<span>abcxyz</span>
+</p>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-decoration/1159729-offset-adjustment.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<style type="text/css">
+p {
+  font: 12px Impact, Times, serif;
+}
+span {
+  background: black;
+  text-decoration: overline;
+  text-decoration-style: wavy;
+}
+</style>
+</head>
+<body>
+<p>
+<span>abcxyz</span>
+</p>
+</body>
+</html>
--- a/layout/reftests/text-decoration/reftest.list
+++ b/layout/reftests/text-decoration/reftest.list
@@ -103,8 +103,9 @@ skip-if(B2G||Mulet) == 641444-1.html 641
 != inline-baseline-almost-standards.html inline-baseline-almost-standards-ref.html
 != inline-baseline-quirks.html inline-baseline-quirks-ref.html
 == 676538-1.html 676538-1-ref.html
 == underline-button-1.html underline-button-1-ref.html
 == underline-button-2.html underline-button-2-ref.html
 == underline-select-1.html underline-select-1-ref.html
 == underline-select-2.html underline-select-2-ref.html
 == 1133392.html 1133392-ref.html
+!= 1159729-offset-adjustment.html 1159729-offset-adjustment-notref.html