Closed Bug 246022 Opened 21 years ago Closed 15 years ago

Black rectangle is displayed in phpgroupware calendar dayview instead of rows for every time slot

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: remco, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a1) Gecko/20040520 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a1) Gecko/20040520 When viewing the dayview of the calendar shipped with phpgroupware, a black retangle is displayed. I expected to see different colored rows for every timeslot. Any appointments are shown in the rectangle. This problem also appears in mozilla 1.7b under Linux. Both Opera en IE display the dayview correctly. The URL above is a saved version of the real site. It has exact the same problems. Of course I can't provide a login to the real page, but I can supply more info/data in necessary. Reproducible: Always Steps to Reproduce: 1. Load the URL above 2. 3. Actual Results: Black rectangle drawn Expected Results: Draw colored rows.
here is a simplified testcase, sorry for inlining it but the fileupload didn't work for me :-( <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <style type="text/css"> <!-- .event-off { background: EEEEEE; color: 000000;} .time { background: 9999FF; color: 000000;} --> </style> <title></title> </head> <body style="background-color: rgb(255, 255, 255);"> <table bgcolor="#000000" width="100%"> <tbody><tr><td> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td class="event-off">&nbsp;</td> <td class="time">&nbsp;<br></td> </tr> </tbody></table> </td> </tr> </tbody> </table> </body></html> This testcase shows the layout problems mentioned in comment 0
Not an HTML parser issue. The page has invalid CSS like "background: DDDDDDD"; note the lack of at '#' before the color spec. We fix up such things in quirks mode except for shorthand properties. Unfortunately, "background" is a shorthand property. So the CSS is ignored (as it should be per spec) and the black background of the parent table is all you see). Over to evangelism. We should contact the phpgroupware people to fix their CSS... Remco Poelstra, could you do the same?
Assignee: parser → english-us
Status: UNCONFIRMED → NEW
Component: HTML: Parser → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: english-us
Version: Trunk → unspecified
I'll contact the phgroupware team and point them to this bug, since I don't know anything about CSS. Remco Poelstra
INCOMPLETE due to lack of activity since the end of 2009. If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself. Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.