layout/reftests/text-decoration/decoration-style-quirks.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.

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

mercurial