Opened 11 years ago
Closed 11 years ago
#8827 closed defect (fixed)
HTML rendering differ if run before or after having launched Help Browser
Reported by: | brycenesbitt | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
1> Bring up the new Download Location error dialog, it should look OK. Do this as many times as you like.
2> Now hit "help"
3) Now then bring up the same dialog, it will be missing spacing.
Attachments (3)
Change History (12)
by , 11 years ago
Attachment: | Download Location_07.png added |
---|
by , 11 years ago
Attachment: | findSummaryDocumentation_table.diff added |
---|
Patch to add proper <table></table> to findSummaryDocumentation
by , 11 years ago
Attachment: | Download Location_06.png added |
---|
After patch applied (note table borders).
comment:1 by , 11 years ago
comment:3 by , 11 years ago
Priority: | normal → minor |
---|
comment:4 by , 11 years ago
There are two separate parts to the bug report:
1) The existing implementation has <tr> rows without an enclosing <table> (that's the patch).
2) Activating HELP for the first time causes the table tags to be ignored completely (that the observable bug).
The provision of <table border=1> or <table border=0> is an implementation choice once you have a table tag to work with. Another very compact solution is to use <td valign=top> on the task name cells.
comment:5 by , 11 years ago
Mmm I was pretty sure to have put <table> tag, and finally forgotten it :D
However adding it with your patch does not solve the issue, I am able to reproduce it with valid HTML 3.2, I don't see why.
comment:6 by , 11 years ago
Very odd.
Is the HELP inserting some CSS into the mix to set formatting?
Does the internal HTML system even support CSS?
comment:7 by , 11 years ago
Found why. Yes we are using stylesheets in Help Browser.
The odd point is this method of Java:
Set the set of styles to be used to render the various HTML elements. These styles are specified in terms of CSS specifications. Each document produced by the kit will have a copy of the sheet which it can add the document specific styles to. By default, the StyleSheet specified is shared by all HTMLEditorKit instances. This should be reimplemented to provide a finer granularity if desired.
Seriously ?? I wonder what Sun had in mind when they did this o_O
comment:8 by , 11 years ago
Summary: | [Patch] bug in #8809 - no table → HTML rendering differ if run before or after having launched Help Browser |
---|
Dialog showing bug triggered by HELP button.