Edgewall Software

Opened 10 years ago

Last modified 3 years ago

#10812 new defect

CSS conflict for .cp class in changeset view

Reported by: Christian Boos Owned by:
Priority: low Milestone: next-stable-1.4.x
Component: version control/changeset view Version: 1.0b1
Severity: minor Keywords: css
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (3)

comment:1 by Christian Boos, 10 years ago

Version: 1.0b1

comment:2 by Ryan J Ollos, 6 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, 3 years ago

Milestone: next-stable-1.2.xnext-stable-1.4.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. 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.