Closed Bug 142163 Opened 23 years ago Closed 21 years ago

Should be able to set UA stylesheet's ALINK (:active color colour pref)

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
All
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hwaara, Assigned: MatsPalmgren_bugz)

Details

Attachments

(4 files, 1 obsolete file)

Spin off from bug #109291. One should be able to set the UA stylesheet's default active link color (ALINK) from the UI. For this to work, we also need to create a new function in nsIPresContext; GetActiveLinkColor() or something like that. This is required for document.body.aLink and document.alinkColor to work properly.
Priority: -- → P4
Target Milestone: --- → Future
.
Assignee: attinasi → misc
Component: Layout → Layout: Misc Code
Priority: P4 → --
QA Contact: cpetersen0953 → nobody
Target Milestone: Future → ---
Priority: -- → P4
Target Milestone: --- → Future
.
Assignee: misc → dbaron
Component: Layout: Misc Code → Style System
Priority: P4 → P3
QA Contact: nobody → ian
I feel brave today... patch coming up.
Assignee: dbaron → mats.palmgren
Target Milestone: Future → ---
Attached patch Patch (embedding) rev. 1 (obsolete) — Splinter Review
Attachment #132700 - Flags: superreview?(dbaron)
Attachment #132700 - Flags: review?(bzbarsky)
I'm not sure who should review editor/embedding parts. A note on the editor stuff: I don't think the existing link/vlink colors is working as it's supposed to, as I understand it the intention is that the suggested page link colors (if the user has never set them through editor) should be those from the Appearance/Color preferences (if set)?
Comment on attachment 132700 [details] [diff] [review] Patch (base) rev .1 r=bzbarsky, though someone who does UI should OK the UI changes....
Attachment #132700 - Flags: review?(bzbarsky) → review+
Comment on attachment 132701 [details] [diff] [review] Patch (editor) rev. 1 sr=bzbarsky, I think glazou should be a good r= here..
Attachment #132701 - Flags: superreview+
Attachment #132701 - Flags: review?(daniel)
Comment on attachment 132702 [details] [diff] [review] Patch (embedding) rev. 1 sr=me, but Adam needs to review this.
Attachment #132702 - Flags: superreview+
Attachment #132702 - Flags: review?(adamlock)
Comment on attachment 132701 [details] [diff] [review] Patch (editor) rev. 1 sure r=daniel@glazman.org
Attachment #132701 - Flags: review?(daniel) → review+
Comment on attachment 132700 [details] [diff] [review] Patch (base) rev .1 sr=dbaron, although you should get someone else to look at the xpfe part
Attachment #132700 - Flags: superreview?(dbaron) → superreview+
Comment on attachment 132702 [details] [diff] [review] Patch (embedding) rev. 1 I don't understand this patch. I already have put/get alinkColor impls on CIEHtmlDocument that correspond to the added lines in the patch so I'm not sure what I'm meant to be reviewing.
Comment on attachment 132702 [details] [diff] [review] Patch (embedding) rev. 1 Doh! the alink stuff is indeed already in place here. Sorry to waste your time.
Attachment #132702 - Attachment is obsolete: true
Attachment #132702 - Flags: superreview+
Attachment #132702 - Flags: review?(adamlock)
Summary: Should be able to set UA stylesheet's ALINK → Should be able to set UA stylesheet's ALINK (:active color colour pref)
I actually forgot one file (nsPresShell.cpp) in the first patch. Sorry to bother you guys again.
Attachment #132778 - Flags: superreview?(dbaron)
Attachment #132778 - Flags: review?(bzbarsky)
Who should I ask to review the pref. GUI bits?
Comment on attachment 132778 [details] [diff] [review] Patch2 (base) rev. 1 r=bzbarsky, assuming we want to underline XLinks when the pref is set (I think we do).
Attachment #132778 - Flags: review?(bzbarsky) → review+
Attachment #132778 - Flags: superreview?(dbaron) → superreview+
Just by eyeing the XUL I'd say the UI is good.
This can be checked in now, assuming Neil's OK on the UI above is enough. (I still don't have CVS commit rights ;)
Checked in (Mats, you should really ask for a CVS account), but this seems to regress Tp by 0.5% or so (which could well be noise; it's only been two cycles).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
And one more cycle later, looks like it was indeed just noise.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: