The default bug view has changed. See this FAQ.

3D transform backface-visibility has no effect when applied to an element with display:table

RESOLVED FIXED in mozilla13

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Josh Simmons, Assigned: ayg)

Tracking

10 Branch
mozilla13
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11

Steps to reproduce:

Apply 3D transformations to an element with display:table

http://jsfiddle.net/tRW84/2/

Removing display:table from .flip div.face gives the correct behavior.


Actual results:

The back face is still visible on the hover flip.


Expected results:

The back face should hide.
Minimal test-case:

data:text/html,<!doctype html>
<div style="height:100px;width:100px;background:blue;display:table;
-moz-transform:rotatex(180deg);-moz-backface-visibility:hidden">

This displays a blue square.  Removing "display: table" makes it vanish.  Closely related: bug 722777, bug 726601.
Assignee: nobody → ayg
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Created attachment 597068 [details] [diff] [review]
Patch v1
Attachment #597068 - Flags: review?(roc)
Whiteboard: [autoland]

Updated

5 years ago
Whiteboard: [autoland] → [autoland-in-queue]

Comment 3

5 years ago
Autoland Patchset:
	Patches: 597068
	Branch: mozilla-central => try
Error applying patch 597068 to mozilla-central.
patching file layout/reftests/transform-3d/reftest.list
Hunk #1 FAILED at 26
1 out of 1 hunks FAILED -- saving rejects to file layout/reftests/transform-3d/reftest.list.rej
abort: patch failed to apply

Could not apply and push patchset:

Updated

5 years ago
Whiteboard: [autoland-in-queue]

Updated

5 years ago
Component: Untriaged → Layout
Product: Firefox → Core
QA Contact: untriaged → layout
Created attachment 597092 [details] [diff] [review]
Patch v2, now should apply cleanly

The last version conflicted with one of the patches from bug 721082 that I had applied.  This should apply to mozilla-central.  (I don't know why hg was unwilling to merge automatically, since the differing context was a few lines away . . .)
Attachment #597068 - Attachment is obsolete: true
Attachment #597068 - Flags: review?(roc)
Attachment #597092 - Flags: review?(roc)
Whiteboard: [autoland]

Updated

5 years ago
Whiteboard: [autoland] → [autoland-in-queue]

Comment 5

5 years ago
Autoland Patchset:
	Patches: 597092
	Branch: mozilla-central => try
	Destination: http://hg.mozilla.org/try/pushloghtml?changeset=fa9420c4c7dd
Try run started, revision fa9420c4c7dd. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=fa9420c4c7dd
Attachment #597092 - Flags: review?(roc) → review+

Comment 6

5 years ago
Try run for fa9420c4c7dd is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=fa9420c4c7dd
Results (out of 212 total builds):
    exception: 3
    success: 169
    warnings: 21
    failure: 19
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/autolanduser@mozilla.com-fa9420c4c7dd

Updated

5 years ago
Whiteboard: [autoland-in-queue]
Keywords: checkin-needed
http://hg.mozilla.org/integration/mozilla-inbound/rev/4082936558a4
Flags: in-testsuite+
Keywords: checkin-needed
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla13
https://hg.mozilla.org/mozilla-central/rev/4082936558a4
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.