mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
This commit is contained in:
parent
3f07cfec7c
commit
578498ba24
4001 changed files with 159517 additions and 30260 deletions
|
@ -1,21 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>valid contextmenus</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu id='foo'>
|
||||
<menuitem id='com' label='The Command'/>
|
||||
</menu>
|
||||
<menu id='bar'>
|
||||
<menuitem id='com2' label='The Command'/>
|
||||
</menu>
|
||||
<menu id='foo2'>
|
||||
<menuitem id='com3' label='The Command'/>
|
||||
</menu>
|
||||
<menu id='bar2'>
|
||||
<menuitem id='com4' label='The Command'/>
|
||||
</menu>
|
||||
<p contextmenu='foo'>foo</p>
|
||||
<p contextmenu='bar'>bar</p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,14 +0,0 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid contextmenu</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu id='foo'>
|
||||
<menuitem id='com' label='The Command'/>
|
||||
</menu>
|
||||
<menu id='bar'>
|
||||
<menuitem id='com2' label='The Command'/>
|
||||
</menu>
|
||||
<p contextmenu='baz'>foo</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,12 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>valid embed contextmenu</title>
|
||||
</head>
|
||||
<body>
|
||||
<embed contextmenu='foo'/>
|
||||
<!-- Since contextmenu is no longer a global attribute,
|
||||
it is allowed on embed like any other unknown attribute,
|
||||
and shouldn't give a warning or error about not matching
|
||||
the ID of a <menu type='context'> etc. -->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu containing hr</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu>
|
||||
<hr/>
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu containing menu</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu>
|
||||
<menu/>
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu containing text</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu>
|
||||
hello
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu type='context'</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu type='context'/>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu type='popup'</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu type='popup'/>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menu type='toolbar'</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu type='toolbar'/>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>valid menu</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu/>
|
||||
<menu><li/></menu>
|
||||
<menu><script/></menu>
|
||||
<menu><script/><li/></menu>
|
||||
<menu><li/><script/></menu>
|
||||
<menu><li/><script/><li/></menu>
|
||||
<menu><script/><li/><script/></menu>
|
||||
<menu id='foo' class='bar' dir='ltr' lang='en' style='' title='foo'>
|
||||
<li>
|
||||
hello
|
||||
<menu>
|
||||
<li>nested</li>
|
||||
<li>menu</li>
|
||||
</menu>
|
||||
</li>
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menuitem children</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu>
|
||||
<menuitem>The Command</menuitem>
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid menuitem label</title>
|
||||
</head>
|
||||
<body>
|
||||
<menu>
|
||||
<menuitem label='The Command'/>
|
||||
</menu>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>invalid contextmenu attribute</title>
|
||||
</head>
|
||||
<body>
|
||||
<p contextmenu='foo'>foo</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue