Skip to content

Commit

Permalink
Just use lowercase bgcolor
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed Oct 16, 2023
1 parent 8ed4b46 commit cf86b96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bundle/html.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void describe('bundle/html', () => {
p.title = 'A "special" title with <html> characters';
p.background = '#000000';
p.color = '#999999';
p.bgColor = '#000000';
p.bgcolor = '#000000';
p.codebase =
'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=12,0,0,112';
p.pluginspage = 'http://www.macromedia.com/shockwave/download/';
Expand Down
2 changes: 1 addition & 1 deletion src/projector/html.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void describe('projector/html', () => {
p.title = 'A "special" title with <html> characters';
p.background = '#000000';
p.color = '#999999';
p.bgColor = '#000000';
p.bgcolor = '#000000';
p.codebase =
'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=12,0,0,112';
p.pluginspage = 'http://www.macromedia.com/shockwave/download/';
Expand Down
6 changes: 3 additions & 3 deletions src/projector/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class ProjectorHtml extends Projector {
/**
* The movie background color.
*/
public bgColor: string | null = null;
public bgcolor: string | null = null;

/**
* The movie stretch style (none | meet | fill | stage).
Expand Down Expand Up @@ -224,7 +224,7 @@ export class ProjectorHtml extends Projector {
height,
id,
name,
bgColor,
bgcolor,
swStretchStyle,
swStretchHAlign,
swStretchVAlign,
Expand Down Expand Up @@ -283,7 +283,7 @@ export class ProjectorHtml extends Projector {
}

for (const [k, v] of [
['bgcolor', bgColor],
['bgcolor', bgcolor],
['swstretchstyle', swStretchStyle],
['swstretchhalign', swStretchHAlign],
['swStretchvalign', swStretchVAlign],
Expand Down

0 comments on commit cf86b96

Please sign in to comment.