Closed
Bug 455445
Opened 16 years ago
Closed 16 years ago
-moz-transform skew() function should accept two parameters, and second should default to zero
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b1
People
(Reporter: dbaron, Assigned: kschwarz)
References
Details
Attachments
(1 file)
4.63 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
According to http://webkit.org/specs/CSSVisualEffects/CSSTransforms.html#transform-functions the skew() function can have either one or two parameters, and if it has only one the second defaults to zero.
Right now we allow it to only accept one parameter:
http://hg.mozilla.org/mozilla-central/file/f12cdd3e7f05/layout/style/nsCSSParser.cpp#l6867
and we essentially act as though the second parameter should default to the value of the first:
http://hg.mozilla.org/mozilla-central/file/f12cdd3e7f05/layout/style/nsStyleTransformMatrix.cpp#l428
Assignee | ||
Comment 1•16 years ago
|
||
Parser now accepts 1 or 2 angles. If second angle isn't provided, it defaults to zero.
Assignee: nobody → keith
Status: NEW → ASSIGNED
Attachment #338819 -
Flags: superreview?(dbaron)
Attachment #338819 -
Flags: review?(dbaron)
Reporter | ||
Comment 2•16 years ago
|
||
Comment on attachment 338819 [details] [diff] [review]
Potential Patch #1
[Checkin: Comment 3]
r+sr=dbaron
Attachment #338819 -
Flags: superreview?(dbaron)
Attachment #338819 -
Flags: superreview+
Attachment #338819 -
Flags: review?(dbaron)
Attachment #338819 -
Flags: review+
Reporter | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 3•16 years ago
|
||
Comment on attachment 338819 [details] [diff] [review]
Potential Patch #1
[Checkin: Comment 3]
http://hg.mozilla.org/mozilla-central/rev/d3fdd51e7a74
Attachment #338819 -
Attachment description: Potential Patch #1 → Potential Patch #1
[Checkin: Comment 3]
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b1
You need to log in
before you can comment on or make changes to this bug.
Description
•