mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7
This commit is contained in:
parent
728ebcc932
commit
8c46b67f8e
456 changed files with 10561 additions and 5108 deletions
|
@ -0,0 +1,6 @@
|
|||
<!doctype html>
|
||||
<title>CSS Test Reference</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<div dir="rtl"> 123 456 <span><span> 789 101112 </span></span></div>
|
||||
<div dir="rtl"> 123 456 <span dir="ltr"><span> 789 101112 </span></span></div>
|
||||
<div dir="rtl"> 123 456 <span><span> 789 101112 </span></span></div>
|
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<title>Test: directionality propagation in Shadow DOM.</title>
|
||||
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/#the-dir-attribute">
|
||||
<link rel="help" href="https://github.com/whatwg/html/issues/3699">
|
||||
<link rel="match" href="directionality-001-ref.html">
|
||||
<div id="host0" dir="rtl"><span> 789 101112 </span></div>
|
||||
<div id="host1" dir="rtl"><span> 789 101112 </span></div>
|
||||
<div id="host2" dir="rtl"><span> 789 101112 </span></div>
|
||||
<script>
|
||||
host0.attachShadow({mode: 'closed'}).innerHTML =
|
||||
'<div> 123 456 <span><slot></slot></span></div>';
|
||||
|
||||
host1.attachShadow({mode: 'closed'}).innerHTML =
|
||||
'<div> 123 456 <span dir="ltr"><slot></slot></span></div>';
|
||||
|
||||
host2.attachShadow({mode: 'closed'}).innerHTML =
|
||||
'<div> 123 456 <span><slot dir="ltr"></slot></span></div>';
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue