Skip to content

Commit

Permalink
[#816] Opera doesn't append ';' onto last style innerhtml
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenaw committed Nov 7, 2011
1 parent 7dda833 commit 63bf5e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/flickr/popcorn.flickr.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test( "Popcorn Flickr Plugin", function() {

popped.exec( 2, function() {

ok( /display: inline;/.test( flickrdiv.innerHTML ), "Div contents are displayed" );
ok( /display: inline\b;?/.test( flickrdiv.innerHTML ), "Div contents are displayed" );
plus();
ok( /img/.test( flickrdiv.innerHTML ), "An image exists" );
plus();
Expand All @@ -59,13 +59,13 @@ test( "Popcorn Flickr Plugin", function() {

var numberOfImages = document.getElementById( "flickrdiv" ).childNodes[ 1 ].getElementsByTagName( "a" ).length;

ok( /display: inline;/.test( flickrdiv.innerHTML ), "Div contents are displayed" );
ok( /display: inline\b;?/.test( flickrdiv.innerHTML ), "Div contents are displayed" );
plus();

ok( /img/.test( flickrdiv.innerHTML ), "An image exists" );
plus();

ok( /display: inline;/.test( flickrdiv.innerHTML ), "Images tagged 'georgia' are displayed in div" );
ok( /display: inline\b;?/.test( flickrdiv.innerHTML ), "Images tagged 'georgia' are displayed in div" );
plus();

equal( numberOfImages, 8, "There are 8 images tagged 'georgia' being displayed" );
Expand All @@ -74,7 +74,7 @@ test( "Popcorn Flickr Plugin", function() {

popped.exec( 11, function() {

ok( /display: none;/.test( flickrdiv.innerHTML ), "Div contents are hidden again" );
ok( /display: none\b;?/.test( flickrdiv.innerHTML ), "Div contents are hidden again" );
plus();

popped.pause().removeTrackEvent( setupId );
Expand Down

0 comments on commit 63bf5e3

Please sign in to comment.