Revert "Bug 1977019 - re-enable hw video decoding testing. r=media-playback-reviewers,jolin" for causing win mda failures on test_hw_video_decoding.html
This reverts commit 158474bdc0cf585b701bc47921f0a7d84f7bb84d.
<!DOCTYPE html><html><head><title>CSS Test: getComputedStyle</title><linkrel="author"title="Bear Travis"href="mailto:betravis@adobe.com"><linkrel="help"href="http://www.w3.org/TR/cssom-1/#extensions-to-the-window-interface"><linkrel="help"href="http://www.w3.org/TR/cssom-1/#the-cssstyledeclaration-interface"><linkrel="help"href="http://www.w3.org/TR/cssom-1/#resolved-values"><metaname="flags"content="dom"><metaname="assert"content="getComputedStyle returns a readonly CSSStyleDeclaration with resolved values"><scriptsrc="/resources/testharness.js"type="text/javascript"></script><scriptsrc="/resources/testharnessreport.js"type="text/javascript"></script><style>#outside{width:200px;height:200px;}#outsidediv{font-size:100px;}#inside{width:50%;height:100px;}</style></head><body><noscript>Test not run - javascript required.</noscript><divid="log"></div><divid="outside"><divid="inside"></div></div><scripttype="text/javascript">varouter=document.getElementById("outside");varinner=document.getElementById("inside");varinnerStyle;// do not allow modifications to a computed CSSStyleDeclarationtest(function(){innerStyle=window.getComputedStyle(inner);assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR",function(){innerStyle.cssText="color: blue;";},"do not allow setting cssText on a readonly CSSStyleDeclaration");assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR",function(){innerStyle.setProperty("color","blue");},"do not allow calling setProperty on a readonly CSSStyleDeclaration");assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR",function(){innerStyle.color="blue";},"do not allow setting a property on a readonly CSSStyleDeclaration");},"read_only");// Directly set properties are resolvedtest(function(){assert_equals(innerStyle.getPropertyValue("height"),"100px");},"property_values");// Inherited properties are resolvedtest(function(){assert_equals(innerStyle.getPropertyValue("font-size"),"100px");},"inherited_property_values");// Relative properties are resolvedtest(function(){assert_equals(innerStyle.getPropertyValue("width"),"100px");},"relative_property_values");</script></body></html>