Edgewall Software
Modify

Opened 9 years ago

Last modified 9 years ago

#12262 new defect

CSS rules for wiki controls can conflict with wiki content

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: wiki system Version: 1.0.9
Severity: normal Keywords: css
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to reproduce:

  1. Edit any wiki page
  1. Add two headings to the page, one called 'save', the other 'Save'
    = save
    = Save
    
  1. Preview the page
  1. Notice how the 'save' heading is indented, while 'Save' is not.

wiki.css has the rule

#delete, #rename, #save { margin-left: 3em }

to indent the 'Submit Changes' input element among others, but headings are given the ID of their content, so there's a conflict here with the 'save' heading, and a number of other possible heading titles.

This could be fixed by adding a element selector to the wiki CSS rules

input#save

or using a new class for wiki controls and divs and adding it to the CSS rules, or renaming the ID of the controls, or any number of other ways.

Attachments (0)

Change History (1)

comment:1 by figaro, 9 years ago

Keywords: css added

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.