Open Bug 96330 Opened 23 years ago Updated 2 years ago

cannot create lists in color

Categories

(Core :: Layout, defect)

defect

Tracking

()

mozilla1.0.1

People

(Reporter: TucsonTester1, Unassigned)

References

Details

(Keywords: css-moz, Whiteboard: WONTFIX? or dependent on CSS3 lists)

When creating a list, you cannot type the numbers, bullets, in colors. (eg, 
typing in red font, choosing list, numbered, the numbers will still appear in 
black, although the font will be red. 


steps to recreate:
1.choose a font color
2.type 3 or four lines of text
3.choose "format=>list" and choose numbered or bulleted
4.you will see that the text is still whatever color you chose, but the numbers 
(or bullets) will be in default black.
I see the problem here...but I think it is by design.
when I browse it , it has black for the numbered/bulleted list 

Kathy what do you think we should do with this bug ?
invalid; layout doesn't have colored bullets or numbers either
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
ok, I take it back, this is a valid bug
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
-->jfrancis
apparently we need to not split up the font color when creating a list
Assignee: brade → jfrancis
cannot make list bullets colorized unless you use CSS.  So for the non-CSS 
version of the editor, which is what we have now, this is invalid.  

If we ship a css savvy editor then we need to make sure this works too.

CC'ing daniel
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → INVALID
even with css in composer, that might be very hard to do because we do not use
markers and counters to generate list bullets/numbers. We only use the
'list-style-type' property and the bullets/numbers generated that way cannot
be individually styled, they automatically acquire the style of the element
generating it...

thinking at loud : do we need 'list-style-color' and 'list-style-background-color'
properties or another way to do this ? should this issue be raised to CSS WG or
do we consider this is a WONTFIX ? Cc:ing other CSS people so they can give
their opinion here.
Why not the font, size, weight and decoration in addition to the colors?

We have a pseudo-element |:-moz-list-bullet| that allows to style the list item 
marker.  Apparently, it supports font-size and color but not the other 
properties.  Background-color would be very nice.  And content:before too!
background-color doesn't work for :-moz-list-bullet because 
nsBulletFrame::Paint() doesn't do anything if the layer is not 
NS_FRAME_PAINT_LAYER_FOREGROUND.
Status: RESOLVED → REOPENED
Component: Editor → Layout
Resolution: INVALID → ---
reassigned to Marc
Assignee: jfrancis → attinasi
Status: REOPENED → NEW
Pierre : coooool !!!! I'll add it !

No, you can't have two pseudo-elems in same selector ; forbidden by spec.

Reassigning to myself since this is a RFE bug for a feature in composer.
Assignee: attinasi → glazman
:-moz-list-bullet should be :before and we should generally implement lists and
bullets as described in the spec.

As far as the editor goes, it would be a bit silly for it to generate markup
containing extensions, as they (obviously) wouldn't work in other browsers...
*** Bug 101369 has been marked as a duplicate of this bug. ***
milstone bulk change
Target Milestone: --- → mozilla1.0.1
Keywords: css-moz
:-moz-list-bullet should be ::marker and we should generally implement lists and
bullets as described in the future CSS3 lists spec.

As far as the editor goes, it would be a bit silly for it to generate markup
containing extensions, as they (obviously) wouldn't work in other browsers...
Whiteboard: WONTFIX? or dependent on CSS3 lists
QA Contact: sujay → layout

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: daniel → nobody
Status: ASSIGNED → NEW
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.