Build id :2000090720 platform : solaris2.8(intel) (1) open composer in netscape communicator. (2) type some text, move it to right using 'indent' icon. The text moves to the right. (3) press enter. type some text. Now try to move the text (only last line text)to the left using outdent. The text doesn't move to the left. This bug is simillar to Bug id 8436 and 38253. Though those bugs are fixed, it is not working on the platform specified above.
setting to future. anthonyd
asked Sujay to please test on solaris to see the extent of the issue. reassign to cmanske
worksforme on windows....I don't ahve a Solaris build.
Akkana - can you test on Solaris?
No, I don't have a solaris build. I've tried to get one, but we no longer seem to have a machine capable of building mozilla.
I have another testcase which also demonstrates a bug with indent and outdent. Select a paragraph. Press the indent button twice. Now try to return the paragrph to the original indentation - press the outdent button twice You can't, because after you press the outdent button once, it grays itself out. In other words, you can only outdent a paragraph once.
The problem occurs when testing if we can outdent, in nsHTMLEditRules::GetIndentState(). The test nsHTMLEditUtils::IsBlockquote(curNode) returns false, probably because of the <br>. The HTML described in the bug test is: <blockquote> Some text on the first line, then press enter<br> so this text is on a second line. </blockquote> The second line is a text child of the <br>, not <blockquote>, so it thinks we can't outdent. Joe: Should these tests climb up the parent chain to find list and blockquote tags?
moving a bunch of 0.9 bugs to 0.9.1
*** Bug 61270 has been marked as a duplicate of this bug. ***
*** Bug 68280 has been marked as a duplicate of this bug. ***
Looks like the indent feature is grayed out on win NT platform. I tried this out on mozilla nightly build: 2001041704. Updating the bug platform/OS category to win NT
*** Bug 57715 has been marked as a duplicate of this bug. ***
attaching patch which will enable outdent correctly. Note that outdent behavior is still a bit odd, but at least you can get it to outdent in cases like the one above.
Typo: + // of selection endpoints. We might have a bolckquote or list item r/sr=sfraser
a= firstname.lastname@example.org for checkin to the trunk. (on behalf of drivers). Can we keep this bug open or file another one for the remaining issues. Thanks.
Asa, I'm not sure we should keep this bug open. It might be easier to track remaining issues in new/separate bugs so it'll be easier to verify.
fix checked in. i will open new bug for remaining issues.
this is fixed, however we have another problem...see bug 17994