17 lines
1.0 KiB
Plaintext
17 lines
1.0 KiB
Plaintext
Test that directionality is re-evaluated when an element with dir=auto set, has its dir attribute changed.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
|
|
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
|
|
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
|
|
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
|
|
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
|
|
PASS document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color') is 'rgb(0, 128, 0)'
|
|
PASS document.defaultView.getComputedStyle(child2, null).getPropertyValue('border-right-color') is 'rgb(255, 0, 0)'
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|