Closed Bug 1476379 Opened 6 years ago Closed 2 years ago

Border issue (pixels) when using floating point numbers in css transform: scale()

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

61 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1258112
Tracking Status
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: cmercado, Unassigned)

Details

Attachments

(1 file)

Attached file transformScale.html (deleted) —
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704194802 Steps to reproduce: Place mouse over the box and wait for the hover. Actual results: A random border(s) disappears. It eliminate pixels from any border. This happens for any scale like transform: scale(0.5); and transform: scale(1.5); Integers doesn't affect the borders with this issue like transform: scale(2);. The code replicates zoom. The actual protected code uses other methods to zoom and happens the same issue. As tested, it only happens using Mozilla Firefox web browser. Tested version: Mozilla Firefox Quantum version: 61.0.1 (64-bit). Expected results: The borders should not disappear randomly or decrease in pixels randomly.
Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 (20180720101508) I have tested this report on Windows 10 x64, Ubuntu 18.04 x65 and OS X 10.12 using latest Nightly, Beta 62.0b9 and Firefox release build. I was able to reproduce the mentioned behavior on all tested platforms using the attached test case. When hovering the div element in order to zoom it in, some of the div element borders disappeared. I would expect the element to be zoomed correctly with borders to disappear.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout: HTML Frames
Ever confirmed: true
Product: Firefox → Core
(In reply to Stefan [:StefanG_QA] from comment #1) > Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 > (20180720101508) > > I have tested this report on Windows 10 x64, Ubuntu 18.04 x65 and OS X 10.12 > using latest Nightly, Beta 62.0b9 and Firefox release build. I was able to > reproduce the mentioned behavior on all tested platforms using the attached > test case. When hovering the div element in order to zoom it in, some of the > div element borders disappeared. I would expect the element to be zoomed > correctly with borders to disappear. Thank you for your service and reply, Stefan. By that last sentence you wrote, do you mean to say that the borders should disappear when zooming in/out? We tested this on Google Chrome and the borders remained which we believed to be the expected behavior. Please let us know if there is a solution to this issue or a potential workaround while this gets patched.
Thank for pointing out my typo. It should read like: "I would expect the element to be zoomed correctly WITHOUT borders to disappear.", Apologies!
Priority: -- → P3
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core

I think this is essentially the same issue as bug 1258112 (the disappearing-borders-on-downscale part, at least). Duping. If/when we fix bug 1258112, we can potentially spin off another bug for any asymmetry that may remains at that point.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: