Ticket #525 (closed defect: fixed)
CSS background not applied to whole iframe
| Reported by: | Michael Hosse <michael.hosse@…> | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | iframe body background |
| Cc: |
Description (last modified by gogo) (diff)
If you have a page with some form elements and a xinha, you can not switch from xinha to the other form elements without having a white rectangle in the upper left corner of the window. The reason for this is the missing background-color for the body of the xinha doc. Here is the patch to change this in htmlarea.js it just adds a white background-color which is overwritten if the page has a background color itself.
--- htmlarea.js (Revision 342)
+++ htmlarea.js (Arbeitskopie)
@@ -1881,7 +1881,7 @@
+ ".htmtableborders, .htmtableborders td, .htmtableborders th {border : 1px dashed lightgrey ! important;} \n"
+ "</style>\n";
html += "<style type=\"text/css\">"
- + "html, body { border: 0px; } \n"
+ + "html, body { border: 0px; background-color: #ffffff;} \n"
+ "span.macro, span.macro ul, span.macro div, span.macro p {background : #CCCCCC;}\n"
+ "</style>\n";
Change History
Note: See
TracTickets for help on using
tickets.
