Page MenuHomePhabricator

User style editing preview not correct in Camino
Closed, ResolvedPublic

Description

Author: timwi

Description:
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=990689&group_id=34373&atid=411192
Originally submitted by kelvSYC (kelvsyc) 2004-07-14 08:30

In Camino 0.8 for OSX 10.3.4, I discovered a really
weird bug while editing my monobook.css file.

I go to the edit page, and press preview without
actually changing anything, and the rendering is all of
a sudden different (in the sense that before, some of
my rules overrided those provided by MediaWiki, while
after, those rules were being overridden by those
provided by MediaWiki). I haven't tried what would
happen if I saved this "change" (even though I did not
change anything).

The only significant changes in the source is the
following:

Before clicking preview:

<style type="text/css">/*<![CDATA[*/ @import

"/w/wiki.phtml?title=-&action=raw&gen=css";
@import
"/w/wiki.phtml?title=-&action=raw&gen=css&smaxage=0";
@import
"/w/wiki.phtml?title=User:KelvSYC/monobook.css&action=raw&ctype=text/css";
/*]]>*/</style>

After clicking preview:

<style type="text/css">/*<![CDATA[*/ @import

"/w/wiki.phtml?title=-&action=raw&gen=css&smaxage=0&maxage=0);
a {
text-decoration: underline;
color: #0000FF !important;
}

/* CSS2.1 uses one colon for pseudo-classes, while the
proposed namespace-aware CSS3 uses two (to distinguish
it from an element inside another namespace). So that
it is both backwards and forwards compatible, I have
both here. */
a::visited { color: #7F007F !important; }
a::active { color: #FF0000 !important; }
a:visited { color: #7F007F !important; }
a:active { color: #FF0000 !important; }

a.new { color: #FF0000 !important; }
a.interwiki, a.external { color: #3366BB !important; }
a.stub { color: #772233 !important; }

#bodyContent ul > li, #p-nav ul > li, #p-tb ul > li,
#p-lang ul > li {
list-style-image: none;
line-height: normal !important;
}

#p-tb, #p-nav, #p-lang, #p-personal, #p-logo {
position:fixed;
z-index:3;
width:12.3em;
}

#p-search {
width: 100%;
position:absolute;
left: 0;
top: 0;
z-index: 0;
background:none;
}
#p-search h5 { display: none; }
#p-search .pBody { background: none; text-align:right;
border: none; }

#p-cactions { font-size: 100%; }
#p-cactions ul { margin: 0; }

#p-cactions li.selected { font-weight: bold; }
#p-cactions li a { text-transform: none; }
#p-cactions li { padding: 1px; }

/* hack until bug is fixed */
#p-cactions li.new a { color: #FF0000 !important; }

#p-personal { top: 155px; }
#p-nav { top: 235px; }
#p-tb { top: 340px; }
#p-lang { top: 410px; }

#p-lang .pBody { height: 185px; overflow: auto; }

#p-personal .pBody {

margin: 0;
background: White;
border: 1px solid #aaaaaa;
padding: 0 0.8em 0.3em 0.5em;

}

#p-personal ul {

list-style-type: square;
margin: 0.3em 0 0 1.5em;
padding:0;
text-align:left;
text-transform: none;

}

#p-personal li {

display: list-item;
padding:0;
margin: 0 0 0 0;

color:#000000;
}

#p-personal a {
text-decoration:underline !important;
}

li#pt-userpage { background: none }

#footer {

float: right;

position:absolute;
left:12.2em;
right:0;
}

#globalWrapper { font-size:100%; }

h1, h2, h3, h4, h5, h6 {
font-family: "Bitstream Vera Sans", "Lucida Grande",
Verdana, Lucida, Helvetica, Arial, sans-serif;
}

#bodyContent * {
line-height:normal !important;
}

body {
font: x-small "Bitstream Vera Sans", Verdana, "Lucida
Grande", Lucida, Helvetica, Arial, sans-serif;
background-attachment: fixed;
}
/*]]>*/</style>

Screenshots can be provided on request.

en:User:kelvSYC

  • Additional comments ------------------------

Date: 2004-07-29 08:04
Sender: SF user vibber

Can you please narrow this down to a minimal case, test in another
browser, and provide screenshots?

Also be sure that you've got the current styles loaded; there
are awful
horrid cache issues with this stuff.


Version: unspecified
Severity: normal

Details

Reference
bz86

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:43 PM
bzimport set Reference to bz86.
bzimport added a subscriber: Unknown Object (MLST).

rowan.collins wrote:

*** Bug 99 has been marked as a duplicate of this bug. ***

timwi wrote:

The error was this:

<style type="text/css">/*<![CDATA[*/ @import

"/w/wiki.phtml?title=-&action=raw&gen=css&smaxage=0&maxage=0);

Notice: @import " ... );

I already fixed this a few months ago.

Adding brion to CC list because he replied to the SourceForge instance of this bug.

timwi wrote:

I meant a few *weeks* ago. :)