Skip to content

Commit

Permalink
fix text blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
luchenlin authored Jul 4, 2024
1 parent 26e13e2 commit 46ac028
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions test/jdk/javax/swing/text/html/StyleSheet/bug4803145.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@

public class bug4803145 {

private static final String INSTRUCTIONS = """
A JEditorPane with some html list in Hebrew appears.
The bullets should be on the left side of the list items.
Press the "switch text orientation" button.
After the text relayouts:
- If the bullets are to the right of the list items then test PASSED.
- If the bullets remained on the left side then test FAILED.""";
private static final String INSTRUCTIONS =
"A JEditorPane with some html list in Hebrew appears.\n" +
"The bullets should be on the left side of the list items.\n" +
"Press the \"switch text orientation\" button.\n" +
"After the text relayouts:\n" +
"- If the bullets are to the right of the list items then test PASSED.\n" +
"- If the bullets remained on the left side then test FAILED.";

public static void main(String[] args) throws Exception {
PassFailJFrame.builder()
Expand Down

0 comments on commit 46ac028

Please sign in to comment.