layout/reftests/text-decoration/decoration-style-standards.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html>
michael@0 2 <p style="-moz-text-decoration-style: dotted;">
michael@0 3 Here is specified the decoration style as dotted but no decoration lines,
michael@0 4 however,
michael@0 5 <span style="font-size: 2em;
michael@0 6 text-decoration: underline line-through overline;">
michael@0 7 here has solid decoration lines</span>, and here has no decoration lines.
michael@0 8 </p>
michael@0 9 <p style="-moz-text-decoration-style: dashed;">
michael@0 10 Here is specified the decoration style as dashed but no decoration lines,
michael@0 11 however,
michael@0 12 <span style="font-size: 2em;
michael@0 13 text-decoration: underline line-through overline;
michael@0 14 -moz-text-decoration-style: inherit;">
michael@0 15 here has inherited decoration lines</span>,
michael@0 16 and here has no decoration lines.
michael@0 17 </p>
michael@0 18 <p style="text-decoration: underline line-through overline;
michael@0 19 -moz-text-decoration-style: double;">
michael@0 20 Here has double decoration lines,
michael@0 21 <span style="font-size: 2em;
michael@0 22 -moz-text-decoration-style: dashed;">
michael@0 23 here is specified as dashed decoration lines but should be ignored</span>,
michael@0 24 and here has double decoration lines.
michael@0 25 </p>
michael@0 26 <p style="text-decoration: underline line-through overline;
michael@0 27 -moz-text-decoration-style: -moz-none;">
michael@0 28 Here is specified the decoration style as -moz-none.
michael@0 29 </p>
michael@0 30 <p style="-moz-text-decoration-style: dotted;
michael@0 31 text-decoration: underline line-through overline;">
michael@0 32 Here has solid decoration lines even if its style is specified as dotted
michael@0 33 before text-decoration.
michael@0 34 </p>

mercurial