Closed Bug 763001 Opened 13 years ago Closed 13 years ago

Typo in layout/style/nsCSSPseudoClassList.h

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20

People

(Reporter: jaws, Assigned: ekw)

Details

(Whiteboard: [good first bug][mentor=jaws][lang=cpp])

Attachments

(1 file, 1 obsolete file)

> 73 // -moz-lwtheme may be used to match a document that has a lightweight theme > 74 CSS_PSEUDO_CLASS(mozLWTheme, ":-moz-lwtheme") > 75 > 76 // -moz-lwtheme-brighttext matches a document that has a bright lightweight theme > 77 CSS_PSEUDO_CLASS(mozLWThemeBrightText, ":-moz-lwtheme-brighttext") > 78 > 79 // -moz-lwtheme-darktext matches a document that has a bright lightweight theme > 80 CSS_PSEUDO_CLASS(mozLWThemeDarkText, ":-moz-lwtheme-darktext") If the theme has brighttext then it is likely a dark lightweight theme, not a bright one :)
Attached patch patch that fixes typo (obsolete) — Splinter Review
Attachment #631590 - Flags: review?
Attachment #631590 - Flags: review? → review?(jaws)
Assignee: nobody → mozbugs.retornam
Comment on attachment 631590 [details] [diff] [review] patch that fixes typo Review of attachment 631590 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/style/nsCSSPseudoClassList.h @@ +80,1 @@ > CSS_PSEUDO_CLASS(mozLWThemeDarkText, ":-moz-lwtheme-darktext") It's actually the other way around. The darktext is used for bright themes and the brighttext is used for dark themes. Sorry if I was confusing in comment #0.
Attachment #631590 - Flags: review?(jaws)
Status: NEW → ASSIGNED
OS: Windows 7 → All
Hardware: x86_64 → All
Attached patch PatchSplinter Review
Hope it's OK I take this; it's been 6 months since last activity.
Assignee: mozbugs.retornam → ewong3
Attachment #631590 - Attachment is obsolete: true
Attachment #688124 - Flags: review?(jaws)
Attachment #688124 - Attachment is patch: true
Comment on attachment 688124 [details] [diff] [review] Patch Review of attachment 688124 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks for picking this up.
Attachment #688124 - Flags: review?(jaws) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: