Closed Bug 722129 Opened 12 years ago Closed 12 years ago

Tilt visualization mesh isn't correctly positioned when scrollbars are present or when the document body is smaller than the content window

Categories

(DevTools :: Inspector, defect)

12 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 13

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [tilt])

Attachments

(1 file, 2 obsolete files)

For example:

Open a webpage with a scrollbar.
Open inspector.
Open tilt.

The intro and outro animations clearly doesn't take the current scrollbar width (if present) into consideration. This makes things ugly.

Also: open a page with a small body in Tilt. For example, tbpl or about:blank. The mesh is centered in a weird way on the Y axis.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Whiteboard: [tilt]
Attached patch v1 (obsolete) — Splinter Review
Does this need a test?
Attachment #592475 - Flags: review?(rcampbell)
Comment on attachment 592475 [details] [diff] [review]
v1

(In reply to Victor Porof from comment #1)
> Created attachment 592475 [details] [diff] [review]
> v1
> 
> Does this need a test?

Of course it doesn't because it breaks some existing ones :)
Attachment #592475 - Flags: review?(rcampbell)
Attached patch v2 (obsolete) — Splinter Review
Attachment #592475 - Attachment is obsolete: true
Attachment #592501 - Attachment is patch: true
Attached patch v3Splinter Review
The solution was much, much easier. No need to calculate scrollbar dimensions.
Attachment #592501 - Attachment is obsolete: true
Comment on attachment 592518 [details] [diff] [review]
v3

This survived try: https://tbpl.mozilla.org/?tree=Try&rev=ce9d3ecd89e5
So much green!
Attachment #592518 - Flags: review?(rcampbell)
Depends on: 719877
Blocks: 715970
Attachment #592518 - Flags: review?(rcampbell) → review+
Whiteboard: [tilt] → [tilt][land-in-fx-team]
https://hg.mozilla.org/integration/fx-team/rev/a82b581bd1b0
Whiteboard: [tilt][land-in-fx-team] → [tilt][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/a82b581bd1b0
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [tilt][fixed-in-fx-team] → [tilt]
Target Milestone: --- → Firefox 13
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: