mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 07:24:47 +00:00
Bug 1375858 - Don't allow nsBulletFrame to be transformed. r=dbaron
This commit is contained in:
parent
6792d1f16c
commit
12e6704c14
12
layout/generic/crashtests/1375858.html
Normal file
12
layout/generic/crashtests/1375858.html
Normal file
@ -0,0 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
*::-moz-list-bullet, * {
|
||||
transform-style:preserve-3d;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<li></li>
|
||||
</body>
|
||||
</html>
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user