/[suikacvs]/markup/html/whatpm/t/CSS-Parser-1.t
Suika

Diff of /markup/html/whatpm/t/CSS-Parser-1.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by wakaba, Sat Feb 2 13:42:42 2008 UTC revision 1.16 by wakaba, Sun Feb 3 06:00:40 2008 UTC
# Line 97  for my $file_name (map {"t/$_"} qw( Line 97  for my $file_name (map {"t/$_"} qw(
97        push @actual_error, join ';',        push @actual_error, join ';',
98            $uri, $opt{token}->{line}, $opt{token}->{column},            $uri, $opt{token}->{line}, $opt{token}->{column},
99            $opt{level},            $opt{level},
100            $opt{type} . (defined $opt{value} ? ','.$opt{value} : '');            $opt{type} . (defined $opt{value} ? ';'.$opt{value} : '');
101      };      };
102    
103      my $ss = $p->parse_char_string ($test->{data});      my $ss = $p->parse_char_string ($test->{data});
# Line 165  BEGIN { Line 165  BEGIN {
165      border-top-color border-top-style border-top-width bottom      border-top-color border-top-style border-top-width bottom
166      caption-side clear clip color content counter-increment counter-reset      caption-side clear clip color content counter-increment counter-reset
167      cursor direction display empty-cells float      cursor direction display empty-cells float
168      font-family font-size font-style font-variant font-weight height left      font-family font-size font-size-adjust font-stretch
169        font-style font-variant font-weight height left
170      letter-spacing line-height      letter-spacing line-height
171      list-style-image list-style-position list-style-type      list-style-image list-style-position list-style-type
172      margin-bottom margin-left margin-right margin-top      margin-bottom margin-left margin-right margin-top marker-offset
173      max-height max-width min-height min-width opacity -moz-opacity      marks max-height max-width min-height min-width opacity -moz-opacity
174      orphans outline-color outline-style outline-width overflow-x overflow-y      orphans outline-color outline-style outline-width overflow-x overflow-y
175      padding-bottom padding-left padding-right padding-top      padding-bottom padding-left padding-right padding-top
176      page-break-after page-break-before page-break-inside      page page-break-after page-break-before page-break-inside
177      position quotes right table-layout      position quotes right size table-layout
178      text-align text-decoration text-indent text-transform      text-align text-decoration text-indent text-transform
179      top unicode-bidi vertical-align visibility white-space width widows      top unicode-bidi vertical-align visibility white-space width widows
180      word-spacing z-index      word-spacing z-index
# Line 203  BEGIN { Line 204  BEGIN {
204    float: none;    float: none;
205    font-family: -manakai-default;    font-family: -manakai-default;
206    font-size: 16px;    font-size: 16px;
207      font-size-adjust: none;
208      font-stretch: normal;
209    font-style: normal;    font-style: normal;
210    font-variant: normal;    font-variant: normal;
211    font-weight: 400;    font-weight: 400;
# Line 214  BEGIN { Line 217  BEGIN {
217    list-style-position: outside;    list-style-position: outside;
218    list-style-type: disc;    list-style-type: disc;
219    margin: 0px;    margin: 0px;
220      marker-offset: auto;
221      marks: none;
222    max-height: none;    max-height: none;
223    max-width: none;    max-width: none;
224    min-height: 0px;    min-height: 0px;
# Line 223  BEGIN { Line 228  BEGIN {
228    outline: 0px none invert;    outline: 0px none invert;
229    overflow: visible;    overflow: visible;
230    padding: 0px;    padding: 0px;
231      page: auto;
232    page-break-after: auto;    page-break-after: auto;
233    page-break-before: auto;    page-break-before: auto;
234    page-break-inside: auto;    page-break-inside: auto;
235    position: static;    position: static;
236    quotes: -manakai-default;    quotes: -manakai-default;
237    right: auto;    right: auto;
238      size: auto;
239    table-layout: auto;    table-layout: auto;
240    text-align: begin;    text-align: begin;
241    text-decoration: none;    text-decoration: none;
# Line 309  sub get_parser ($) { Line 316  sub get_parser ($) {
316      block clip inline inline-block inline-table list-item none      block clip inline inline-block inline-table list-item none
317      table table-caption table-cell table-column table-column-group      table table-caption table-cell table-column table-column-group
318      table-header-group table-footer-group table-row table-row-group      table-header-group table-footer-group table-row table-row-group
319        compact marker
320    /;    /;
321    $p->{prop_value}->{position}->{$_} = 1 for qw/    $p->{prop_value}->{position}->{$_} = 1 for qw/
322      absolute fixed relative static      absolute fixed relative static
# Line 321  sub get_parser ($) { Line 329  sub get_parser ($) {
329    /;    /;
330    $p->{prop_value}->{direction}->{ltr} = 1;    $p->{prop_value}->{direction}->{ltr} = 1;
331    $p->{prop_value}->{direction}->{rtl} = 1;    $p->{prop_value}->{direction}->{rtl} = 1;
332      $p->{prop_value}->{marks}->{crop} = 1;
333      $p->{prop_value}->{marks}->{cross} = 1;
334    $p->{prop_value}->{'unicode-bidi'}->{$_} = 1 for qw/    $p->{prop_value}->{'unicode-bidi'}->{$_} = 1 for qw/
335      normal bidi-override embed      normal bidi-override embed
336    /;    /;
# Line 336  sub get_parser ($) { Line 346  sub get_parser ($) {
346      disc circle square decimal decimal-leading-zero      disc circle square decimal decimal-leading-zero
347      lower-roman upper-roman lower-greek lower-latin      lower-roman upper-roman lower-greek lower-latin
348      upper-latin armenian georgian lower-alpha upper-alpha none      upper-latin armenian georgian lower-alpha upper-alpha none
349        hebrew cjk-ideographic hiragana katakana hiragana-iroha
350        katakana-iroha
351    /;    /;
352    $p->{prop_value}->{'list-style-position'}->{outside} = 1;    $p->{prop_value}->{'list-style-position'}->{outside} = 1;
353    $p->{prop_value}->{'list-style-position'}->{inside} = 1;    $p->{prop_value}->{'list-style-position'}->{inside} = 1;
# Line 352  sub get_parser ($) { Line 364  sub get_parser ($) {
364    /;    /;
365    $p->{prop_value}->{'background-attachment'}->{scroll} = 1;    $p->{prop_value}->{'background-attachment'}->{scroll} = 1;
366    $p->{prop_value}->{'background-attachment'}->{fixed} = 1;    $p->{prop_value}->{'background-attachment'}->{fixed} = 1;
367      $p->{prop_value}->{'font-size'}->{$_} = 1 for qw/
368        xx-small x-small small medium large x-large xx-large
369        -manakai-xxx-large -webkit-xxx-large
370        larger smaller
371      /;
372    $p->{prop_value}->{'font-style'}->{normal} = 1;    $p->{prop_value}->{'font-style'}->{normal} = 1;
373    $p->{prop_value}->{'font-style'}->{italic} = 1;    $p->{prop_value}->{'font-style'}->{italic} = 1;
374    $p->{prop_value}->{'font-style'}->{oblique} = 1;    $p->{prop_value}->{'font-style'}->{oblique} = 1;
375    $p->{prop_value}->{'font-variant'}->{normal} = 1;    $p->{prop_value}->{'font-variant'}->{normal} = 1;
376    $p->{prop_value}->{'font-variant'}->{'small-caps'} = 1;    $p->{prop_value}->{'font-variant'}->{'small-caps'} = 1;
377      $p->{prop_value}->{'font-stretch'}->{$_} = 1 for
378          qw/normal wider narrower ultra-condensed extra-condensed
379            condensed semi-condensed semi-expanded expanded
380            extra-expanded ultra-expanded/;
381    $p->{prop_value}->{'text-align'}->{$_} = 1 for qw/    $p->{prop_value}->{'text-align'}->{$_} = 1 for qw/
382      left right center justify begin end      left right center justify begin end
383    /;    /;
# Line 370  sub get_parser ($) { Line 391  sub get_parser ($) {
391      none blink underline overline line-through      none blink underline overline line-through
392    /;    /;
393    $p->{prop_value}->{'caption-side'}->{$_} = 1 for qw/    $p->{prop_value}->{'caption-side'}->{$_} = 1 for qw/
394      top bottom      top bottom left right
395    /;    /;
396    $p->{prop_value}->{'table-layout'}->{auto} = 1;    $p->{prop_value}->{'table-layout'}->{auto} = 1;
397    $p->{prop_value}->{'table-layout'}->{fixed} = 1;    $p->{prop_value}->{'table-layout'}->{fixed} = 1;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24