gecko-dev/layout/reftests/bugs/1364280-1.html

13 строки
283 B
HTML

<!DOCTYPE html>
<style>
div { color: red; }
div:dir(ltr) { color: green }
</style>
<body dir="rtl"
onload="window.oldColor = getComputedStyle(document.querySelector('div')).color;
document.body.dir = 'ltr'">
<div>
This should be green.
</div>
</body>