зеркало из https://github.com/mozilla/popcorn-js.git
Remove default width test for soundcloud because it autoscales to the screen width by default [#231]
This commit is contained in:
Родитель
2d2db78398
Коммит
e5af0d1862
|
@ -61,7 +61,7 @@ asyncTest( "API", function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
asyncTest( "Default Attribute Functionality", function () {
|
asyncTest( "Default Attribute Functionality", function () {
|
||||||
var expects = 5,
|
var expects = 4,
|
||||||
count = 0,
|
count = 0,
|
||||||
playerDefault,
|
playerDefault,
|
||||||
playerOverride,
|
playerOverride,
|
||||||
|
@ -123,9 +123,6 @@ asyncTest( "Default Attribute Functionality", function () {
|
||||||
plus();
|
plus();
|
||||||
});
|
});
|
||||||
|
|
||||||
equal( playerDefault.width, playerDefault.offsetWidth+"px", "Width is stringified version of offsetWidth" );
|
|
||||||
plus();
|
|
||||||
|
|
||||||
equal( playerOverride.width, "90%", "Width has been overridden" );
|
equal( playerOverride.width, "90%", "Width has been overridden" );
|
||||||
plus();
|
plus();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче