@@ -78443,8 +78443,7 @@ interface <dfn data-export="" data-dfn-type="interface">Window</dfn> : <span>Eve
78443
78443
[Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-personalbar">personalbar</span>;
78444
78444
[Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-scrollbars">scrollbars</span>;
78445
78445
[Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-statusbar">statusbar</span>;
78446
- [Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-toolbar">toolbar</span>;<!--
78447
- [Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-directories">directories</span>; // legacy (Gecko-only) -->
78446
+ [Replaceable] readonly attribute <span>BarProp</span> <span data-x="dom-window-toolbar">toolbar</span>;
78448
78447
attribute DOMString <span data-x="dom-window-status">status</span>;
78449
78448
void <span data-x="dom-window-close">close</span>();
78450
78449
readonly attribute boolean <span data-x="dom-window-closed">closed</span>;
@@ -79203,7 +79202,6 @@ interface <dfn>BarProp</dfn> {
79203
79202
};</code></pre>
79204
79203
79205
79204
<dl class="domintro">
79206
-
79207
79205
<dt><var>window</var> . <code subdfn data-x="dom-window-locationbar">locationbar</code> . <code subdfn data-x="dom-BarProp-visible">visible</code></dt>
79208
79206
<dd>
79209
79207
<p>Returns true if the location bar is visible; otherwise, returns false.</p>
@@ -79215,7 +79213,6 @@ interface <dfn>BarProp</dfn> {
79215
79213
</dd>
79216
79214
79217
79215
<dt><var>window</var> . <code subdfn data-x="dom-window-personalbar">personalbar</code> . <code data-x="dom-BarProp-visible">visible</code></dt>
79218
- <!--<dt><var>window</var> . <code subdfn data-x="dom-window-directories">directories</code> . <code data-x="dom-BarProp-visible">visible</code></dt>-->
79219
79216
<dd>
79220
79217
<p>Returns true if the personal bar is visible; otherwise, returns false.</p>
79221
79218
</dd>
@@ -79234,45 +79231,45 @@ interface <dfn>BarProp</dfn> {
79234
79231
<dd>
79235
79232
<p>Returns true if the toolbar is visible; otherwise, returns false.</p>
79236
79233
</dd>
79237
-
79238
79234
</dl>
79239
79235
79240
79236
<div w-nodev>
79241
79237
79242
- <p>The <dfn data-x="dom-BarProp-visible">visible</dfn> attribute, on getting, must return either
79243
- true or a value determined by the user agent to most accurately represent the visibility state of
79244
- the user interface element that the object represents, as described below.</p>
79238
+ <p>The <dfn data-x="dom-BarProp-visible">visible</dfn> attribute's getter must run these
79239
+ steps:</p>
79245
79240
79246
- <p>The following <code>BarProp</code> objects exist for each <code>Document</code> object in a
79247
- <span>browsing context</span>. Some of the user interface elements represented by these objects
79248
- might have no equivalent in some user agents; for those user agents, except when otherwise
79249
- specified, the object must act as if it was present and visible (i.e. its <code
79250
- data-x="dom-BarProp-visible">visible</code> attribute must return true).</p>
79241
+ <ol>
79242
+ <li><p>If this <code>BarProp</code> object's <span>relevant global object</span>'s <span
79243
+ data-x="window bc">browsing context</span> is null, then return false.</p></li>
79251
79244
79252
- <dl>
79245
+ <li><p>If the user agent does not have a user interface element that the object represents, as
79246
+ described below, then return true.</p></li>
79253
79247
79254
- <dt><dfn>The location bar <code>BarProp</code> object</dfn></dt>
79248
+ <li><p>Return true or a value determined by the user agent to most accurately represent the
79249
+ visibility state of the user interface element that the object represents, as described
79250
+ below.</p></li>
79251
+ </ol>
79255
79252
79253
+ <p>The following <code>BarProp</code> objects must exist for each <code>Window</code> object:</p>
79254
+
79255
+ <dl>
79256
+ <dt><dfn>The location bar <code>BarProp</code> object</dfn></dt>
79256
79257
<dd>Represents the user interface element that contains a control that displays the
79257
79258
<span>URL</span> of the <span>active document</span>, or some similar interface concept.</dd>
79258
79259
79259
79260
<dt><dfn>The menu bar <code>BarProp</code> object</dfn></dt>
79260
-
79261
79261
<dd>Represents the user interface element that contains a list of commands in menu form, or some
79262
79262
similar interface concept.</dd>
79263
79263
79264
79264
<dt><dfn>The personal bar <code>BarProp</code> object</dfn></dt>
79265
-
79266
79265
<dd>Represents the user interface element that contains links to the user's favorite pages, or
79267
79266
some similar interface concept.</dd>
79268
79267
79269
79268
<dt><dfn>The scrollbar <code>BarProp</code> object</dfn></dt>
79270
-
79271
79269
<dd>Represents the user interface element that contains a scrolling mechanism, or some similar
79272
79270
interface concept.</dd>
79273
79271
79274
79272
<dt><dfn>The status bar <code>BarProp</code> object</dfn></dt>
79275
-
79276
79273
<dd>Represents a user interface element found immediately below or after the document, as
79277
79274
appropriate for the user's media, which typically provides information about ongoing network
79278
79275
activity or information about elements that the user's pointing device is current indicating. If
@@ -79281,14 +79278,12 @@ interface <dfn>BarProp</dfn> {
79281
79278
data-x="dom-BarProp-visible">visible</code> attribute may return false).</dd>
79282
79279
79283
79280
<dt><dfn>The toolbar <code>BarProp</code> object</dfn></dt>
79284
-
79285
79281
<dd>Represents the user interface element found immediately above or before the document, as
79286
79282
appropriate for the user's media, which typically provides <span>session history</span> traversal
79287
79283
controls (back and forward buttons, reload buttons, etc). If the user agent has no such user
79288
79284
interface element, then the object may act as if the corresponding user interface element was
79289
79285
absent (i.e. its <code data-x="dom-BarProp-visible">visible</code> attribute may return
79290
79286
false).</dd>
79291
-
79292
79287
</dl>
79293
79288
79294
79289
<p>The <dfn><code data-x="dom-window-locationbar">locationbar</code></dfn> attribute must return
@@ -79309,11 +79304,6 @@ interface <dfn>BarProp</dfn> {
79309
79304
<p>The <dfn><code data-x="dom-window-toolbar">toolbar</code></dfn> attribute must return <span>the
79310
79305
toolbar <code>BarProp</code> object</span>.</p>
79311
79306
79312
- <!--
79313
- <p>For legacy reasons, the <dfn><code data-x="dom-window-directories">directories</code></dfn>
79314
- attribute must also return <span>the personal bar <code>BarProp</code> object</span>.</p>
79315
- -->
79316
-
79317
79307
<hr>
79318
79308
79319
79309
<p>For historical reasons, the <dfn><code data-x="dom-window-status">status</code></dfn> attribute
0 commit comments