Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10335 closed defect (fixed)

syntax highlighting background colour cuts off

Reported by: razorx@… Owned by: Evan Sosenko <razorx@…>
Priority: normal Milestone: 0.12.4
Component: rendering Version: 0.12.2
Severity: normal Keywords: syntax highlighting css xhtml bitesized
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If a code block contains long lines so that a horizontal scroll bar appears, the background colour gets cut off to the right of the edge of the box (before scrolling). This is most noticeable when using a style with a dark background. Example:

my_var = "Long text string that is bigger then the ticket and makes scroll bars appear but also cuts off the background color. More text now just to make sure this example works.";

Confirmed in Firefox 6.0 and Chrome 14.

Attachments (1)

syntax_highlighting_background_colour_cutoff.diff (551 bytes ) - added by Evan Sosenko <razorx@…> 13 years ago.
PATCH

Download all attachments as: .zip

Change History (6)

comment:1 by Remy Blank, 13 years ago

Keywords: bitesized added
Milestone: next-minor-0.12.x

Weird indeed. I have just played a few minutes with the background CSS, but I couldn't find a way to make work.

comment:2 by Evan Sosenko <razorx@…>, 13 years ago

Putting

div.code pre { overflow:auto; }

seems to fix it (at least in Firefox 6.0).

by Evan Sosenko <razorx@…>, 13 years ago

PATCH

comment:3 by razorx@…, 13 years ago

I added the css to the code.css file and submitted a patch.

comment:4 by Remy Blank, 13 years ago

Milestone: next-minor-0.12.x0.12.4
Resolution: fixed
Status: newclosed

Fixed in [11013], thanks. Sorry for the delay, I missed your earlier update.

comment:5 by Remy Blank, 13 years ago

Owner: set to Evan Sosenko <razorx@…>

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Evan Sosenko <razorx@…>.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Evan Sosenko <razorx@…> to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.