mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 8da19eeb64e1dbcc32cabc2961a44e15635d116f
This commit is contained in:
parent
b32bff3b97
commit
120d9aa5dc
298 changed files with 9286 additions and 3047 deletions
|
@ -2,9 +2,10 @@
|
|||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test dynamically changing dir attribute</title></head>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#cssproperties">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom">
|
||||
<title>Test dynamically changing dir attribute</title>
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#css-styling">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements">
|
||||
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#dom-and-javascript">
|
||||
<meta name="assert" content="The dir attribute should update direction map to css properties dynamically">
|
||||
<link rel="match" href="dynamic-dir-1-ref.html">
|
||||
<script>
|
||||
|
@ -16,10 +17,10 @@
|
|||
["math", "mstyle", "mrow"].forEach((tag) => {
|
||||
let elements = document.getElementsByTagName(tag);
|
||||
|
||||
// set an explcit rtl where there was none
|
||||
// set an explicit rtl where there was none
|
||||
elements[0].setAttribute("dir", "rtl");
|
||||
|
||||
// change explcit ltr to rtl
|
||||
// change explicit ltr to rtl
|
||||
elements[1].setAttribute("dir", "rtl");
|
||||
|
||||
// remove an explicitly set dir="rtl"
|
||||
|
@ -99,4 +100,4 @@
|
|||
</math>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue