Skip to content

Commit 4ca5ef7

Browse files
committed
[css2] Now correctly deals with multiple properties defined on the same line
in the property database. --HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401913
1 parent 161dfab commit 4ca5ef7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

css2/bin/chksample

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# 1) All properties are correct
44
# 2) All properties are represented
55
# Ian Jacobs - ij@w3.org
6-
# $Id: chksample,v 1.2 1998-05-19 20:40:40 ijacobs Exp $
6+
# $Id: chksample,v 1.3 2002-07-31 19:25:41 bbos Exp $
77

88
# To use long names like $INPUT_RECORD_SEPARATOR.
99
use English;
@@ -49,7 +49,10 @@ sub readdbfile {
4949
while (/$blockst$patt;;.*?$blocket/s) {
5050
$placeholder = $';
5151
# Initialize each property to "False"
52-
$propdb{$1} = "False";
52+
my @propnames = split(/\s+/, $1);
53+
foreach my $i (@propnames) {
54+
$propdb{$i} = "False";
55+
}
5356
$_ = $placeholder;
5457
}
5558
}

0 commit comments

Comments
 (0)