Bug 69654
Cory 'G' Watson
gphat at loggerithim.org
Mon Dec 8 13:26:46 UTC 2003
On Dec 8, 2003, at 1:55 AM, Jouni Heikniemi wrote:
> At 16:31 7.12.2003 -0600, you wrote:
>> On Dec 7, 2003, at 2:59 PM, Jouni Heikniemi wrote:
>>> Mm, yeah, I didn't mean a blind replace of "subsubheading" with
>>> "bugsummary". But when the content of subsubheading is a bug
>>> summary, the
>>> class name could reflect it. When it's something else, let's reflect
>>> that
>>> then. We are not supposed to assume that all subsubheadings are
>>> created
>>> equal (on style level), right?
>> I was under the impressions that being that generic was precisely the
>> goal. If you call it 'bugsummary', you've pretty much made it
>> impossible to use anywhere else.
>
> That depends heavily on what the surroundings are. If you have, say,
>
> <h2>Bug 2314 - <span class="bugsummary">Foobar</span></h2>
>
> you can refer to that bugsummary as "h2 bugsummary", and still refer
> to other bug summaries elsewhere with only "bugsummary". Being generic
> and specific are not mutually exclusive if you use multiclassing;
> markup like |<span class="bugsummary subsubheading">blah</span>| could
> combine best of both worlds.
I'd prefer to not use two classes of the same name even if we use a
more hierarchical css style. Having the same class behave differently
depending on it's context will confuse people trying to make their own
stylesheets.
>> Absolutely. I was referring back to a few of Christian's suggestions
>> for using <div's> for elements of the heading, which need to be
>> inline to stay horizontal.
>
> Or be absolutely positioned. This is a reasonable alternative, too.
Absolutely.
> Nobody else will either. I believe we'll soon be able to crank out a
> set of rules that will act as a good basis for doing the CSS work.
> Let's just be flexible and ready to change them when we realize we've
> made mistakes. But as Kiko said, our content is fairly simple for the
> most part.
My point exactly.
Cory 'G' Watson
"The universal aptitude for ineptitude makes any human accomplishment
an incredible miracle." - Dr. John Paul Stapp
More information about the developers
mailing list