Skip to content

Commit a9bdcc1

Browse files
annevkdomenic
authored andcommittedAug 31, 2015
Remove <picture>-specific processing
whatwg/html#61 includes <picture> directly. No need for html-build to care anymore. Part two towards fixing whatwg/html#52.
1 parent ae28248 commit a9bdcc1

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed
 

Diff for: ‎.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ entities-unicode.inc
66
entities.inc
77
entities.json
88
json-entities-unicode.inc
9-
middle-picture-spec
109
unicode.xml
1110
w3cbugs.csv

Diff for: ‎.pre-process-annotate-attributes.pl

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
my @lines = ();
1010
my %instances = ();
1111
while (defined($_ = <>)) {
12-
s/element-dfn-/concept-element-/og; # for <picture>
1312
my $line = \"$_";
1413
push(@lines, $line);
1514
if ($_ eq " <h3 class=\"no-num\">Attributes</h3>\n") {

Diff for: ‎.pre-process-main.pl

+1-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@
3838
$lastProgress = $progress;
3939
}
4040

41-
if ($line =~ m/^ *<!-- this is where zcorpan's <picture> spec goes --> *\n$/os) {
42-
unshift @lines, split("\n", `cat middle-picture-spec`);
43-
next;
44-
} elsif ($line =~ m|^(.*)<!--BOILERPLATE ([-.a-z0-9]+)-->(.*)\n$|os) {
41+
if ($line =~ m|^(.*)<!--BOILERPLATE ([-.a-z0-9]+)-->(.*)\n$|os) {
4542
unshift @lines, split("\n", $1 . `cat $2` . $3);
4643
next;
4744
} elsif ($line =~ m!^( *)<pre>EXAMPLE (offline/|workers/|canvas/)((?:[-a-z0-9]+/){1,2}[-a-z0-9]+.[-a-z0-9]+)</pre> *\n$!os) {

Diff for: ‎build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ if [ unicode.xml -nt entities-unicode.inc ]; then
2626
perl -Tw .entity-to-dtd.pl < entities-unicode.inc > entities-dtd.url
2727
fi
2828

29-
rm -rf caniuse.json w3cbugs.csv middle-picture-spec
30-
wget -o /dev/null -O middle-picture-spec --no-check-certificate https://raw.githubusercontent.com/ResponsiveImagesCG/picture-element/gh-pages/source
29+
rm -rf caniuse.json w3cbugs.csv
3130
wget -o /dev/null -O caniuse.json --no-check-certificate https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json
3231
wget -o /dev/null -O w3cbugs.csv 'https://www.w3.org/Bugs/Public/buglist.cgi?columnlist=bug_file_loc,short_desc&query_format=advanced&resolution=---&ctype=csv'
3332

0 commit comments

Comments
 (0)