mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-08 01:19:12 +00:00
19 lines
755 B
HTML
19 lines
755 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Web Notifications Test: notification - dir (dir attribute set to "rtl")</title>
|
|
<link rel="author" title="Intel" href="http://www.intel.com/">
|
|
<link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com">
|
|
<link rel="help" title="4.1 Direction" href="http://www.w3.org/TR/notifications/#direction-0">
|
|
<meta name="flags" content="interact">
|
|
<meta name="assert" content="The dir attribute set 'rtl', then the notification's direction is the right edge.">
|
|
<body>
|
|
<p>Test passes if a notification popups and the notification's direction is the right edge.</p>
|
|
<script>
|
|
var notification = new Notification("New Email Received", {
|
|
body: "Room 101",
|
|
dir: "rtl"
|
|
});
|
|
</script>
|
|
</body>
|
|
|