blob: bc94e2b19987dcc6c047751f509d493a5043ee5e [file] [log] [blame]
This test checks that the legacy -apple-opacity, -khtml-opacity and -webkit-opacity styles are mapped to the opacity style.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.getElementById('test-opacity').style.getPropertyValue('opacity') is '0.2'
PASS document.getElementById('test-opacity').style.getPropertyValue('-apple-opacity') is '0.2'
PASS document.getElementById('test-opacity').style.getPropertyValue('-khtml-opacity') is '0.2'
PASS document.getElementById('test-opacity').style.getPropertyValue('-webkit-opacity') is '0.2'
PASS document.getElementById('test-apple-opacity').style.getPropertyValue('opacity') is '0.4'
PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-apple-opacity') is '0.4'
PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-khtml-opacity') is '0.4'
PASS document.getElementById('test-apple-opacity').style.getPropertyValue('-webkit-opacity') is '0.4'
PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('opacity') is '0.6'
PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-apple-opacity') is '0.6'
PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-khtml-opacity') is '0.6'
PASS document.getElementById('test-khtml-opacity').style.getPropertyValue('-webkit-opacity') is '0.6'
PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('opacity') is '0.8'
PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-apple-opacity') is '0.8'
PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-khtml-opacity') is '0.8'
PASS document.getElementById('test-webkit-opacity').style.getPropertyValue('-webkit-opacity') is '0.8'
PASS successfullyParsed is true
TEST COMPLETE