pzdn2009 / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

CSS Styles can be overridden by Layout CSS #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem (simply one example of many)?
1. Create a page whose CSS layout sets LI elements to have a
list-style-position to "outside".

What is the expected output? What do you see instead?
Expected: Line numbering from gutter outside the green border.
Unexpected reality: Numbers from gutter become part of the LI content. 
Margin/padding may also be proven incorrect.

What version of the product are you using? On what operating system?
v1.5.0

Please provide any additional information below.
While implementing a plugin for Serendipity (blog script/application), I
chose a new theme (Andreas Viklund's Andreas08) which overrode many of
SyntaxHighlighter's default settings.  Due to cascading and unforeseen CSS
issues, the highlighter box was askew.  I had to make many minor
tests/modifications to get it to work properly across a few tested themes.
 There are still probably quite a few I did not find.

I also fixed up many of the W3C's CSS warning messages on the CSS file in
the process (I did not use any browser based hacks).  The altered CSS file
should be attached.  (Also applied was the other CSS typo issue previously
reported.)

Also, somewhat related, Brian Beck has made modifications to the
sfBrushPython.js and CSS files which look like a nice (albeit overdone)
improvement:
http://blog.case.edu/bmb12/2006/09/making_dpsyntaxhighlighter_for_python_not_suc
k

Original issue reported on code.google.com by BrendonKoz on 28 May 2007 at 7:30

Attachments:

GoogleCodeExporter commented 9 years ago
Note: There was one visual change from this version in comparison to the 
original: I
set ".dp-highlighter .tools" property of text-align to "left" as opposed to 
"right",
as with the invalid CSS setting, all examples show it set to the left 
anyhow...I've
come to prefer it; but my preference isn't what counts for release versions.  ;)

Original comment by BrendonKoz on 28 May 2007 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by alex.gor...@gmail.com on 28 Jun 2007 at 11:00

GoogleCodeExporter commented 9 years ago
I implemented most of the changes.

Original comment by alex.gor...@gmail.com on 5 Aug 2007 at 1:31

GoogleCodeExporter commented 9 years ago

Original comment by alex.gor...@gmail.com on 5 Aug 2007 at 2:52