Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
Garland theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Sep 2008 at 16:45 UTC
Updated:
7 Jun 2013 at 07:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
darren ohComment #2
dvessel commentedThe RTL overrides aren't needed. The changes in style.css is good enough to let it cascade through.
Comment #3
dvessel commentedNever mind that.. My bad. It is needed but the patch isn't diffed from root.
Comment #4
darren ohI keep forgetting that.
Comment #5
dries commentedNot sure I understand this patch. What do you mean with "an ordered list in an unordered list". Can you provide a screenshot to help me understand? That would be really useful. Thanks!
Comment #6
darren ohComment #7
damien tournoud commentedIf I understand this correctly, we have CSS selectors for
ul lithat change the list-style-type to bullet. But in the following situation:... the
<li>tags inside the<ol>tag also matchul libecause there are also children of the enclosing<ul>tag.If I understand the patch correctly, it adds a selector to
ol lito reverse that behavior. But it means that unordered lists inside ordered lists will now get overriden!We will need a CSS guru here, but I'm not sure this issue can be solved cleanly without CSS 2.1 "child selector" (
ol > liandul > li), which are not supported by IE 6 (source).Comment #8
damien tournoud commentedThis means this needs work.
Comment #9
dvessel commentedYour right Damien. This stems from the fact that Garland uses a background image instead of bullet images.
If we can get Stefan to comment on why this is, maybe we can get it back to using the image in the bullets and not the background without worries.
Comment #10
dvessel commentedTo be a little more clear on the fix, if the bullet image is applied to the enclosing "ul" tag, it will cascade to the child "li". This applies in IE too and would bypass the need for the ">" modifier. Then it would be a matter of setting "list-style-image" to "none" for the "ol" tag and this would be fixed.
There's a lot of spacing in those lists and any changes there need to be sorted out without breaking anything else.
@Dries, here's an example:
List item c contains an ordered list. Due to the way Garland uses images and its selectors for unordered lists, the ordered list will omit the numbers on the left.
Comment #11
dvessel commentedThe list items bullets are no longer using the background image property. It's using "list-style-image" as I mentioned before. There were a few unneeded styles due to the change so they've been removed.
There was a missing book module style for RTL flow. I tested this in both directions and it seems to be working just fine.
Comment #12
dvessel commentedForgot about IE6..
Comment #13
Anonymous (not verified) commentedThe last submitted patch failed testing.
Comment #14
darren ohRe-test needed.
Comment #15
darren ohPatch produces correct results in my tests.
Comment #16
dries commentedI committed this to CVS HEAD but it should probably go into Drupal 6 as well. Updating version.
Comment #17
darren ohDrupal 6 version. Works in my tests.
Comment #18
damien tournoud commentedThe alignment of lists is now a little messed-up (Firefox 3 here):
Comment #19
dvessel commentedNice catch. Cleaned up and ready to go!
Comment #20
dvessel commentedExcept for IE of course. Thought I could clean some of the selectors up but it was needed for IE. I put them back.
Comment #21
dvessel commentedOne more try. "ul" and "ol" without any classes applied didn't indent properly.
Comment #22
dvessel commentedwhoops
Comment #23
dvessel commentedDid I say one more try.? err.
Comment #24
catchLooks fine visually, could we get a screenshot to see the changes?
Comment #26
jrabeemer commentedIn non-IE browsers, this patch caused Garland to use black solid bullets in the login form where it used to be white circle bullets. This affects D7 head.
Comment #27
jrabeemer commentedI believe I'm fixing the fallout caused by the patch in #394670: Bullet on UL lists showing up incorrectly.
Comment #28
j45on commentedCan I have the patched style.css and style-rtl.css that fix the Garland ordered and unordered list for Drupal 6.12?
Edit I selected 6.12 but this forum gives me 7.x dev. ???
Comment #29
darren ohComment #30
darren ohI'm not seeing an alignment problem in any browser now.
Comment #31
darren ohmomendo, I have posted a patch to issue 519298 to address the bullet problem you reported in #26. It needs review.
Comment #32
Anonymous (not verified) commentedCan someone test to see if this is still an issue? I'm guessing no.
Comment #33
neRok commentedTested in 7.22, and the CSS is fine. Found a problem with the input filter when trying to use the HTML in #7 though. Started a new issue #2014327: "Correct faulty and chopped off HTML" does not handle nested lists correctly