Closed
Bug 929673
Opened 11 years ago
Closed 11 years ago
rename some variables/functions that use -moz- CSS prefixes in their names
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(3 files)
4.81 KB,
patch
|
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
4.86 KB,
patch
|
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
6.72 KB,
patch
|
dzbarsky
:
review+
|
Details | Diff | Splinter Review |
There's some code dating from bug 706179 and from bug 435293 that uses "mozOrigin" or "mozTransformOrigin" where it should be using "transformOrigin" as a variable name. We shouldn't be putting CSS prefixes in variable names -- and we especially shouldn't be removing the important part of the variable name and replacing it with the prefix (mozOrigin for the value of transform-origin).
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #820563 -
Flags: review?(dzbarsky)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #820564 -
Flags: review?(dzbarsky)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #820566 -
Flags: review?(dzbarsky)
Assignee | ||
Comment 4•11 years ago
|
||
(For the record, I got here via bug 921317 comment 23.)
Updated•11 years ago
|
Attachment #820563 -
Flags: review?(dzbarsky) → review+
Updated•11 years ago
|
Attachment #820564 -
Flags: review?(dzbarsky) → review+
Comment 5•11 years ago
|
||
Comment on attachment 820566 [details] [diff] [review] Patch 3: Rename GetDeltaToMoz{Transform,Perspective}Origin to remove the Moz to avoid use of deprecated CSS prefixes in variable names. Review of attachment 820566 [details] [diff] [review]: ----------------------------------------------------------------- After these patches we still have a gMozTransformSubpropTable at http://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSProps.cpp#2440 that seems to be unused. Want to get rid of that too?
Attachment #820566 -
Flags: review?(dzbarsky) → review+
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to David Zbarsky (:dzbarsky) from comment #5) > After these patches we still have a gMozTransformSubpropTable at > http://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSProps. > cpp#2440 that seems to be unused. Want to get rid of that too? No; it's used (via CSS_PROP_SHORTHAND in nsCSSPropList.h), and it's part of what makes -moz-transform an alias for transform.
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/66e24e999199 https://hg.mozilla.org/integration/mozilla-inbound/rev/58cbe73b3920 https://hg.mozilla.org/integration/mozilla-inbound/rev/41496e6e589d
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/66e24e999199 https://hg.mozilla.org/mozilla-central/rev/58cbe73b3920 https://hg.mozilla.org/mozilla-central/rev/41496e6e589d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•