Open
Bug 1050084
Opened 11 years ago
Updated 3 years ago
scale(0,0) err with linux
Categories
(Firefox :: General, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: liushengqi000, Unassigned)
Details
Attachments
(1 file)
|
346 bytes,
text/html
|
Details |
User Agent: UCWEB/2.0 (Linux; U; Adr 4.4.2; zh-CN; MI 3) U2/1.0.0 UCBrowser/9.9.0.459 U2/1.0.0 Mobile
Steps to reproduce:
only find in linux
windowd not find
mac has not test
var a= document.getElementById("surface");var b=a.getContext("2d");
b.save();
b.fillStyle="#FF0000";b.fillRect(0,0,900,900);
b.restore();
var a= document.getElementById("surface");var b=a.getContext("2d");
b.save();
b.scale(0,0);
b.restore();
var a= document.getElementById("surface");var b=a.getContext("2d");
b.save();
b.fillStyle="#0000FF";b.fillRect(0,0,900,900);
b.restore();
Actual results:
blue
Expected results:
red
scale(0,0)can not restor
canvas death
no err in console
| Reporter | ||
Updated•11 years ago
|
Summary: scale → scale(0,0) err with linux
| Reporter | ||
Updated•11 years ago
|
Component: Untriaged → General
Hardware: Other → x86_64
| Reporter | ||
Comment 1•11 years ago
|
||
Steps to reproduce:
var a= document.getElementById("surface");
var b=a.getContext("2d");
b.fillStyle="#FF0000";
b.fillRect(0,0,900,900);
b.save();
b.scale(0,0);
b.restore();
b.fillStyle="#0000FF";
b.fillRect(0,0,900,900);
Actual results:
red
scale(0,0)can not restor
canvas death
no err in console
Expected results:
blue
| Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Loic from comment #2)
> Created attachment 8469338 [details]
> 1050084.html
>
> Testcase.
yes
red
canvas death
can't edit the post so comment
>Actual results:
>red
>scale(0,0)can not restor
>canvas death
>no err in console
>Expected results:
>blue
| Reporter | ||
Comment 4•11 years ago
|
||
Testcase.(In reply to Loic from comment #2)
> Created attachment 8469338 [details]
> 1050084.html
>
> Testcase.
en,that's a mistake
i don't know how to edit the post
the Testcase is red
ubuntu+firefox31
>Actual results:
>red
>scale(0,0)can not restor
>canvas death
>no err in console
>Expected results:
>blue
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•