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)
Tracking
()
RESOLVED
FIXED
People
(Reporter: hwaara, Assigned: MatsPalmgren_bugz)
Details
Attachments
(4 files, 1 obsolete file)
16.44 KB,
patch
|
bzbarsky
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
3.58 KB,
patch
|
glazou
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
8.72 KB,
patch
|
bzbarsky
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
11.92 KB,
image/png
|
Details |
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.
Updated•23 years ago
|
Priority: -- → P4
Target Milestone: --- → Future
![]() |
||
Comment 1•22 years ago
|
||
.
Assignee: attinasi → misc
Component: Layout → Layout: Misc Code
Priority: P4 → --
QA Contact: cpetersen0953 → nobody
Target Milestone: Future → ---
Updated•22 years ago
|
Priority: -- → P4
Target Milestone: --- → Future
.
Assignee: misc → dbaron
Component: Layout: Misc Code → Style System
Priority: P4 → P3
QA Contact: nobody → ian
Assignee | ||
Comment 3•21 years ago
|
||
I feel brave today... patch coming up.
Assignee: dbaron → mats.palmgren
Target Milestone: Future → ---
Assignee | ||
Comment 4•21 years ago
|
||
Assignee | ||
Comment 5•21 years ago
|
||
Assignee | ||
Comment 6•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #132700 -
Flags: superreview?(dbaron)
Attachment #132700 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 7•21 years ago
|
||
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 8•21 years ago
|
||
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 9•21 years ago
|
||
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 10•21 years ago
|
||
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 13•21 years ago
|
||
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.
Assignee | ||
Comment 14•21 years ago
|
||
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)
Updated•21 years ago
|
Summary: Should be able to set UA stylesheet's ALINK → Should be able to set UA stylesheet's ALINK (:active color colour pref)
Assignee | ||
Comment 15•21 years ago
|
||
I actually forgot one file (nsPresShell.cpp) in the first patch.
Sorry to bother you guys again.
Assignee | ||
Updated•21 years ago
|
Attachment #132778 -
Flags: superreview?(dbaron)
Attachment #132778 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 16•21 years ago
|
||
Who should I ask to review the pref. GUI bits?
![]() |
||
Comment 17•21 years ago
|
||
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+
Assignee | ||
Comment 18•21 years ago
|
||
Comment 19•21 years ago
|
||
Just by eyeing the XUL I'd say the UI is good.
Assignee | ||
Comment 20•21 years ago
|
||
This can be checked in now, assuming Neil's OK on the UI above is enough.
(I still don't have CVS commit rights ;)
![]() |
||
Comment 21•21 years ago
|
||
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
![]() |
||
Comment 22•21 years ago
|
||
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.
Description
•