https://bugzilla.wikimedia.org/show_bug.cgi?id=19416





--- Comment #5 from Splarka <[email protected]>  2009-06-29 23:15:03 UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> 
> > Read original report for why this isn't easy, 
> 
> Not seeing it, but I assume you mean that Geshi sometimes outputs more than 
> one
> stacked div? 

No, it is because the skins have different methods of styling <pre>. See:

http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=chick
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=standard
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=cologneblue
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=modern
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=monobook
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=myskin
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=nostaliga
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=simple
http://test.wikipedia.org/w/index.php?title=Foo&oldid=75366&useskin=vector

The first two boxes are <pre>, the rest are <source> in various configurations.
Note that Monobook.css on test.wp has (at this time): 
div.mw-geshi {padding: 1em; margin:1em 0; border: 1px dashed #2fab6f;}

> "divs produced by Geshi should look the same as <pre> tags in whatever 
> skin you happen to be using" is the ultimate idea, no?

No, because half the skins do not have any borders around <pre>. The
"consistent" in the bug summary refers to a hypothetical consistent border for
GeSHi output across all skins, not consistency with <pre> in each skin.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to