Open Bug 1165746 Opened 10 years ago Updated 3 years ago

In css writing-mode:vertical-rl, "Find" does not always scroll the highlight into the visible area of the browser window.

Categories

(Toolkit :: Find Toolbar, defect, P5)

defect

Tracking

()

Tracking Status
firefox38.0.5 --- unaffected
firefox39 --- unaffected
firefox40 --- wontfix
firefox41 --- wontfix
firefox45 --- wontfix
firefox46 --- wontfix
firefox47 --- wontfix
firefox48 --- wontfix
firefox-esr38 --- unaffected
firefox-esr45 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If found word is in the right of the viewport "Find" does not scroll the highlight into the visible area of the browser window. Steps To Reproduce 1. Enable writing mode (and ruby) user_pref("layout.css.vertical-text.enabled", true); user_pref("layout.css.ruby.enabled", true); 2. Open attached 3. Scroll to left end 3. Open FindBar (Ctrl+F) 4. Input 羅生門 to Find field --- BUG, Page scrolled but not enough, so the highlight not visible 5. Try Find Previous (Shift+F3) several times --- BUG, Page scrolled but not enough, so the highlight not visible Actual results: If found word is in the right of the viewport "Find" does not scroll the highlight into the visible area of the browser window. Expected Results: The page should be scrolled the highlight into the visible area. And also, scroll to center as much as possible if the highlight was not visible.
Summary: In css writing-mode:vertical-rl, "Find" does not scroll the highlight into the visible area of the browser window. → In css writing-mode:vertical-rl, "Find" does not always scroll the highlight into the visible area of the browser window.
Version: 41 Branch → Trunk
Priority: -- → P5
We most likely need to create a test with scrollIntoView() and with different code scenarios...
This might be caused by bug 1453303. Because the showing of the find toolbar will reflow the whole content, but the find toolbar still scrolls according to old positions.

(In reply to 張俊芝(ZHANG Junzhi) from comment #2)

This might be caused by bug 1453303. Because the showing of the find toolbar
will reflow the whole content, but the find toolbar still scrolls according
to old positions.

Not related.

In vertical writing mode, scrolling into view does not seem to take into account the boundary rectangle of the selection. Only the baseline of the selection seems to have been considered.

Alice0775 White, I believe this bug is related to bug 1263810.

(In reply to Gérard Talbot from comment #4)

Alice0775 White, I believe this bug is related to bug 1263810.

I do not think so.
Those all testcases in bug 1263810 seems OK(getting reasonable results) for me.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: