Open
Bug 849657
Opened 11 years ago
Updated 1 year ago
change eCSSProperty_* constants to use DOM names
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: dbaron, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [leave open])
Attachments
(2 files)
10.79 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
5.86 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
So I was thinking of changing the names of our internal eCSSProperty_* constants to use the property names that are used for DOM methods. In other words, I'd change: eCSSProperty_font_size -> eCSSProperty_FontSize This would allow removing a field from nsCSSPropList.h . It would also match what I did for property alias names in bug 849656.
Reporter | ||
Comment 1•11 years ago
|
||
What do you all think of this idea?
Comment 2•11 years ago
|
||
Seems reasonable to me.
![]() |
||
Comment 3•11 years ago
|
||
Sounds fine.
Comment 4•11 years ago
|
||
Seems OK.
Reporter | ||
Comment 5•11 years ago
|
||
Attachment #728853 -
Flags: review?(bzbarsky)
Reporter | ||
Comment 6•11 years ago
|
||
Attachment #728854 -
Flags: review?(bzbarsky)
![]() |
||
Comment 7•11 years ago
|
||
Comment on attachment 728853 [details] [diff] [review] patch 1: Expose CSS_PROP_PUBLIC_OR_PRIVATE macro to users of nsCSSPropList.h rather than CSS_PROP_DOMPROP_PREFIXED, so that we can avoid 'CssFloat' spreading even further. r=me
Attachment #728853 -
Flags: review?(bzbarsky) → review+
![]() |
||
Comment 8•11 years ago
|
||
Comment on attachment 728854 [details] [diff] [review] patch 2: Change internal uses of 'CssFloat' to 'Float'. r=me
Attachment #728854 -
Flags: review?(bzbarsky) → review+
Reporter | ||
Comment 9•11 years ago
|
||
OK, those initial patches landed: remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/eb8d19e9c838 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/d20bf3793eb2 I think I need to write the primary substitution patch using sed.
Whiteboard: [leave open]
Reporter | ||
Comment 10•11 years ago
|
||
Plus bustage fix: https://hg.mozilla.org/integration/mozilla-inbound/rev/3178d9b2406d
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eb8d19e9c838 https://hg.mozilla.org/mozilla-central/rev/d20bf3793eb2 https://hg.mozilla.org/mozilla-central/rev/3178d9b2406d
Reporter | ||
Comment 12•8 years ago
|
||
(We should perhaps make this an enum class at the same time, actually.)
Reporter | ||
Updated•3 years ago
|
Assignee: dbaron → nobody
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•