Edgewall Software

Opened 6 years ago

Last modified 23 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.2.x
Component: version control/changeset view Version: 1.0b1
Severity: minor Keywords: css
Release Notes:
API Changes:


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 (2)

comment:1 Changed 6 years ago by Christian Boos

Version: 1.0b1

comment:2 Changed 23 months ago by Ryan J Ollos

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.

Modify Ticket

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

Add Comment

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