Closed Bug 367614 Opened 18 years ago Closed 17 years ago

[Win Only] The composition string for IME should have dashed underline

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha8

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(Keywords: inputmethod, intl)

Attachments

(1 file)

The composition string for IME should have dashed underline only on Windows. Because on Windows, the style of composition style depends on the settings of IME. And the applications cannot get the settings in *all* IMEs. Therefore, the applications of Microsoft (e.g., IE, wordpad and Word) are rendering the composition string with underline which style is dashed.

Therefore, we should use same style on Gecko. But we cannot draw the dashed underline in current code. However, the patch for bug 365336 supports the dashed underline. So, we can fix this bug after bug 365336.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.9alpha1 → mozilla1.9 M8
Attached patch Patch rv1.0Splinter Review
fix.
Attachment #275434 - Flags: superreview?(roc)
Attachment #275434 - Flags: review?(roc)
Why don't you just return NS_STYLE_BORDER_STYLE_ values from nsILookAndFeel instead of defining new NS_UNDERLINE_STYLE_ constants for them?
NS_STYLE_BORDER_STYLE_ cannot use without including the layout/style header. And they have some invalid values (ridge, groove, inset and outset), I want to spread the this prefs to JP-users. Therefore, the values should be simple.
And I also think that we will implement the style for decoration lines in CSS3, we should use same values as them.
roc:

there are two ways:

1. we use the style consts of border (with including the header file).
2. we use original value like the current patch.

If we use (1), the valid values of the prefs are not continuously. I think that this is not usable for the users. And this way will not be smart after bug 59109. Because if use same values in the text-decoration styles after it, we need to change the meanings of values. Or we need to continue to use the border-style for decoration-style.

I believe that (2) is better. (or in layout/style, we define the consts before the bug.)
Attachment #275434 - Flags: superreview?(roc)
Attachment #275434 - Flags: superreview+
Attachment #275434 - Flags: review?(roc)
Attachment #275434 - Flags: review+
Attachment #275434 - Flags: approval1.9+
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: