Edgewall Software
Modify

Opened 12 years ago

Last modified 15 months ago

#10812 new defect

CSS conflict for .cp class in changeset view

Reported by: Christian Boos Owned by:
Priority: low Milestone: next-stable-1.6.x
Component: version control/changeset view Version: 1.0b1
Severity: minor Keywords: css
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If one has a #!cpp block in a changeset comment, then the Pygments highlighting can get disrupted by the CSS from diff.css, due to the reuse of the .cp class:

.chglist .copy, #overview .cp, .diff .legend .cp { background: #88f }

(in diff.css, line 24)

div.code pre .cp { color: #999999; font-weight: bold } /* Comment.Preproc */

(in pygments/trac.css)

The result, a gray #include ... on a light blue background is barely readable…

The #overview .cp should at least be renamed .copy or even .trac-copy.

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 12 years ago

Version: 1.0b1

comment:2 by Ryan J Ollos, 8 years ago

Milestone: next-stable-1.0.xnext-stable-1.2.x

Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.

comment:3 by Ryan J Ollos, 5 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.x

comment:4 by Ryan J Ollos, 15 months ago

Milestone: next-stable-1.4.xnext-stable-1.6.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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