Closed Bug 220717 Opened 21 years ago Closed 21 years ago

-moz-image-region isn't inherited/cascaded properly

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla1.7alpha

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

(Whiteboard: [patch])

Attachments

(5 files, 1 obsolete file)

-moz-image-region isn't inherited properly in some cases since the copy
constructor of nsStyleList doesn't copy it.  At least I think that's the case.

When I attempted to fix this, the dropdowns on the back and forward buttons broke.
Summary: -moz-image-region isn't inherited properly → -moz-image-region isn't inherited/cascaded properly
Attachment #132373 - Attachment description: testcase → inheritance testcase
Attached patch patch (obsolete) — Splinter Review
I wouldn't be surprised if there are other regressions I didn't catch.	I
should probably look through who else uses -moz-image-region.
Attachment #132593 - Flags: superreview?(bugs)
Attachment #132593 - Flags: review?(bzbarsky)
Technically we should probably specify -moz-image-region wherever a
list-style-image is specified.  I'm not sure if I want to do that, though.
Comment on attachment 132593 [details] [diff] [review]
patch

r=bzbarsky

We could also hack things such that setting list-style-image would
automatically reset the moz-image-region to auto... Seems pretty hacky,
though...
Attachment #132593 - Flags: review?(bzbarsky) → review+
Have I mentioned recently how list-style-image is TOTALLY the wrong property for 
this? We should be using 'content'...
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.7alpha
Attached patch patchSplinter Review
Attachment #132593 - Attachment is obsolete: true
Comment on attachment 139071 [details] [diff] [review]
patch

This differs from the previous patch only by making the same changes in toolkit
as were in themes/classic.
Attachment #139071 - Flags: superreview?(bugs)
Fix checked in to trunk, 2004-01-14 18:23/24/25 -0800.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
This fix is believed to have caused a Firebird regression, bug 231144.
I need to look into the issues mentioned here and try to do this:

[16:33:16] <swalker> dbaron: did you post anything to themers about
-moz-image-region: auto?
[16:34:09] <dbaron> swalker: no.  Do external themes use -moz-image-region?
[16:34:38] <swalker> dbaron: I'd assume so
[16:35:01] <NeilAlmostZZZ> dbaron: several, if the posts on n.p.d.skins are
anything to go by
[16:35:12] <swalker> dbaron:
http://forums.mozillazine.org/viewtopic.php?p=337953#337953
[16:36:05] <dbaron> swalker: and how does one contact "themers"?
[16:36:29] <swalker> dbaron: your guess is as good as mine
[16:36:34] <swalker> dbaron: newsgroups?
[16:45:40] <michaell> dbaron, swalker: I think most of the regular "themers"
read the "Themes" mozillazine forum
[16:46:32] <michaell> a post in the relevant newsgroup would almost certainly
get picked up and reposted there...
hey david, I think this broke toolbar drop down buttons in thunderbird. All of
my menu popups for mail toolbar buttons look messed up. Screenshot coming up.

Effected buttons: Security, Attach and Mark as Read
This patch seems to make things better for thunderbird. David, can you look
over the changes and make sure they are all required?

Thanks to Stephen Walker for helping me out with this.
Attachment #139611 - Flags: superreview?(dbaron)
Attachment #139611 - Flags: superreview?(dbaron) → superreview+
patch to fix tbird issues has been checked in.
Attachment #139706 - Flags: superreview?(dbaron)
Attachment #139706 - Flags: review?(dbaron)
Attachment #139706 - Flags: superreview?(dbaron)
Attachment #139706 - Flags: superreview+
Attachment #139706 - Flags: review?(dbaron)
Attachment #139706 - Flags: review+
Depends on: 232793
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: