[#8827] CSS compressor getting inheritance wrong
Summary CSS compressor getting inheritance wrong
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Assigned
Priority 1. Low
Owners Michael Slusarz <slusarz (at) horde (dot) org>
Requester Jan Schneider <jan (at) horde (dot) org>
Created 01/14/10 (55 days ago)
Due
Updated 01/14/10 (55 days ago)
Assigned
Resolved
Attachments screen.css Download
Milestone
Patch No

History
01/14/10 Jan Schneider New Attachment: screen.css Download
 
01/14/10 Jan Schneider Comment #1
State ⇒ Assigned
Patch ⇒
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Framework Packages
Summary ⇒ CSS compressor getting inheritance wrong
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
See the attached theme for Kronolith, the "span#kronolithQuickEvent" 
rule. It's being merged with the base css, so that the "height: 16px" 
is used from the base theme.
But the sapo theme also specifies "#kronolithAddEvents span" which has 
a lower precedence than "span#kronolithQuickEvent" from the theme, but 
a higher than "span#kronolithQuickEvent" from the base css (according 
to firebug). If loading the css files separately, the browser sorts 
this out, and renders the object with the "height: 20px" from the 
theme's "#kronolithAddEvents span". This doesn't work when the css are 
merged.