Skip to content

Commit

Permalink
8282150: Drop redundant <br> elements from tables in java.desktop HTM…
Browse files Browse the repository at this point in the history
…L files

Reviewed-by: jdv, dmarkov
  • Loading branch information
aivanov-jdk committed Mar 1, 2022
1 parent 941e97c commit b86a8c0
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 168 deletions.
58 changes: 29 additions & 29 deletions src/java.desktop/share/classes/java/awt/doc-files/Modality.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</style>
</head>
<!--
Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -379,61 +379,61 @@ <h2>Compatibility</h2>

<h3>Example 1</h3>
<ol style="float: left">
<li>Frame F is shown<br>
<li>Document-modal dialog D<sub>i</sub> is shown<br>
<li>F becomes blocked by D<sub>i</sub> &mdash; it's in the same document<br>
<li>Document-modal dialog D<sub>ii</sub> is shown<br>
<li>Frame F is shown
<li>Document-modal dialog D<sub>i</sub> is shown
<li>F becomes blocked by D<sub>i</sub> &mdash; it's in the same document
<li>Document-modal dialog D<sub>ii</sub> is shown
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> &mdash; it's in the
same document<br>
same document
</ol>
<p style="float: left; margin-left: 1em">
<img src="modal-example1.gif" alt="Example 1">
</p>

<h3 style="clear: left">Example 2</h3>
<ol style="float: left">
<li>Frame F is shown<br>
<li>Document-modal dialog D<sub>i</sub> is shown<br>
<li>F becomes blocked by D<sub>i</sub> &mdash; it's in the same document<br>
<li>Document-modal dialog D<sub>ii</sub> is shown<br>
<li>Frame F is shown
<li>Document-modal dialog D<sub>i</sub> is shown
<li>F becomes blocked by D<sub>i</sub> &mdash; it's in the same document
<li>Document-modal dialog D<sub>ii</sub> is shown
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> &mdash; it's in the
same document<br>
same document
</ol>
<p style="float: left; margin-left: 1em">
<img src="modal-example2.gif" alt="Example 2">
</p>

<h3 style="clear: left">Example 3</h3>
<ol style="float: left">
<li>Frame F is shown<br>
<li>Toolkit-modal dialog D<sub>i</sub> is created, but not shown<br>
<li>Document-modal dialog D<sub>ii</sub> is shown<br>
<li>F becomes blocked by D<sub>ii</sub> &mdash; it's in the same document<br>
<li>Application-modal dialog D<sub>iii</sub> is shown<br>
<li>Frame F is shown
<li>Toolkit-modal dialog D<sub>i</sub> is created, but not shown
<li>Document-modal dialog D<sub>ii</sub> is shown
<li>F becomes blocked by D<sub>ii</sub> &mdash; it's in the same document
<li>Application-modal dialog D<sub>iii</sub> is shown
<li>D<sub>ii</sub> becomes blocked by D<sub>iii</sub> &mdash;
it's in the same application<br>
<li>D<sub>i</sub> is shown<br>
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> &mdash; it's its owner<br>
it's in the same application
<li>D<sub>i</sub> is shown
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> &mdash; it's its owner
<li>D<sub>iii</sub> remains unblocked &mdash; it blocks D<sub>ii</sub> and
D<sub>ii</sub> blocks D<sub>i</sub><br>
D<sub>ii</sub> blocks D<sub>i</sub>
</ol>
<p style="float: left; margin-left: 1em">
<img src="modal-example3.gif" alt="Example 3">
</p>

<h3 style="clear: left">Example 4</h3>
<ol style="float: left">
<li>Frame F is shown<br>
<li>Toolkit-modal dialog D<sub>i</sub> is created, but not shown<br>
<li>Document-modal dialog D<sub>ii</sub> is shown<br>
<li>F becomes blocked by D<sub>ii</sub> &mdash; it's in the same document<br>
<li>Application-modal dialog D<sub>iii</sub> is shown<br>
<li>Frame F is shown
<li>Toolkit-modal dialog D<sub>i</sub> is created, but not shown
<li>Document-modal dialog D<sub>ii</sub> is shown
<li>F becomes blocked by D<sub>ii</sub> &mdash; it's in the same document
<li>Application-modal dialog D<sub>iii</sub> is shown
<li>D<sub>ii</sub> becomes blocked by D<sub>iii</sub> &mdash; it's in the
same application<br>
<li>D<sub>i</sub> is shown<br>
same application
<li>D<sub>i</sub> is shown
<li>D<sub>iii</sub> becomes blocked by D<sub>i</sub> &mdash; D<sub>i</sub>
is not blocked<br>
<li>D<sub>i</sub> remains unblocked<br>
is not blocked
<li>D<sub>i</sub> remains unblocked
</ol>
<p style="float: left; margin-left: 1em">
<img src="modal-example4.gif" alt="Example 4">
Expand Down
Loading

1 comment on commit b86a8c0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.