Closed
Bug 1298655
Opened 9 years ago
Closed 8 years ago
Add bindings for constructing nsCSSShadowArray
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: manishearth, Assigned: manishearth)
References
Details
Attachments
(1 file)
Needed for text-shadow and box-shadow.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•9 years ago
|
||
While bug 1298634 will change some of how nsCSSShadowArray works, we'll still need these functions.
Assignee: nobody → manishearth
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
Servo PR at https://github.com/servo/servo/pull/13086
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8785644 [details]
Bug 1298655 - Add bindings for constructing nsCSSShadowArray;
https://reviewboard.mozilla.org/r/74786/#review72906
::: layout/style/ServoBindings.h:267
(Diff revision 1)
> mozilla::StyleBasicShape* Gecko_NewBasicShape(mozilla::StyleBasicShapeType type);
>
> void Gecko_FillAllBackgroundLists(nsStyleImageLayers* layers, uint32_t max_len);
> NS_DECL_THREADSAFE_FFI_REFCOUNTING(nsStyleCoord::Calc, Calc);
>
> +nsCSSShadowArray* Gecko_Construct_CSSShadowArray(uint32_t len);
It seems like the naming should be made consistent with Gecko_NewBasicShape rather than the style struct routines (since the latter are in-place). So I'd say Gecko_NewCSSShadowArray.
Also, we should adopt Xidorn's new convention (Servo_ObjectType_Operation) for the Gecko_ methods as well. Can you file a bug for that?
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8785644 [details]
Bug 1298655 - Add bindings for constructing nsCSSShadowArray;
https://reviewboard.mozilla.org/r/74786/#review72910
Attachment #8785644 -
Flags: review?(bobbyholley) → review+
Comment hidden (mozreview-request) |
Pushed by manishearth@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/587acc47ecd1
Add bindings for constructing nsCSSShadowArray; r=bholley
Assignee | ||
Comment 8•8 years ago
|
||
Filed bug 1299020
I'd prefer if we waited on that till the safety stuff lands; the rebases get horrible (especially when the order of arguments is swapped around).
Comment 9•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•