Bug 1375858 - Don't allow nsBulletFrame to be transformed. r=dbaron

This commit is contained in:
Matt Woodrow 2017-10-18 12:38:17 +13:00
parent 6792d1f16c
commit 12e6704c14
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<html>
<head>
<style>
*::-moz-list-bullet, * {
transform-style:preserve-3d;
}
</style>
</head>
<body>
<li></li>
</body>
</html>

View File

@ -662,6 +662,7 @@ load 1364361-1.html
load 1367413-1.html
load 1368617-1.html
load 1373586.html
load 1375858.html
load 1381134.html
load 1381134-2.html
load 1401420-1.html

View File

@ -87,6 +87,14 @@ public:
void AddInlinePrefISize(gfxContext* aRenderingContext,
nsIFrame::InlinePrefISizeData* aData) override;
virtual bool IsFrameOfType(uint32_t aFlags) const override
{
if (aFlags & eSupportsCSSTransforms) {
return false;
}
return nsFrame::IsFrameOfType(aFlags);
}
// nsBulletFrame
int32_t SetListItemOrdinal(int32_t aNextOrdinal, bool* aChanged,
int32_t aIncrement);