Closed
Bug 1452534
Opened 7 years ago
Closed 7 years ago
Convert InspectorUtils::IsInheritedProperty to use Stylo
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: xidorn, Assigned: xidorn)
References
Details
Attachments
(5 files)
59 bytes,
text/x-review-board-request
|
emilio
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
emilio
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
emilio
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
emilio
:
review+
|
Details |
41 bytes,
text/x-github-pull-request
|
Details | Review |
No description provided.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8966103 [details]
Bug 1452534 part 1 - Use Servo code to check whether a property is inherited.
https://reviewboard.mozilla.org/r/234850/#review240466
Attachment #8966103 -
Flags: review?(emilio) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8966104 [details]
Bug 1452534 part 2 - Remove nsCSSProps::kSIDTable.
https://reviewboard.mozilla.org/r/234852/#review240468
Thanks!
Attachment #8966104 -
Flags: review?(emilio) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8966105 [details]
Bug 1452534 part 3 - Remove stylestruct_ field from CSS_PROP macro.
https://reviewboard.mozilla.org/r/234854/#review240470
Nice cleanup :)
Attachment #8966105 -
Flags: review?(emilio) → review+
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8966107 [details]
Bug 1452534 part 4 - Remove unused ComputedStyle::{IsReset,IsInherited}.
https://reviewboard.mozilla.org/r/234856/#review240472
::: layout/style/ComputedStyle.h
(Diff revision 1)
> inline void StartBackgroundImageLoads();
>
> - static bool IsReset(const nsStyleStructID aSID) {
> - MOZ_ASSERT(0 <= aSID && aSID < nsStyleStructID_Length,
> - "must be an inherited or reset SID");
> - return nsStyleStructID_Reset_Start <= aSID;
Can we remove `_reset_start` and such?
Attachment #8966107 -
Flags: review?(emilio) → review+
Assignee | ||
Comment 9•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8966107 [details]
Bug 1452534 part 4 - Remove unused ComputedStyle::{IsReset,IsInherited}.
https://reviewboard.mozilla.org/r/234856/#review240472
> Can we remove `_reset_start` and such?
Maybe not that trivial. We still need it for `nsStyleStructID_{Inherited,Reset}_Count` which is referenced `NS_STYLE_{INHERITED,RESET}_STRUCT_MASK` we use elsewhere.
Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9e2847e579e9
part 1 - Use Servo code to check whether a property is inherited. r=emilio
https://hg.mozilla.org/integration/autoland/rev/7ce482eb39fc
part 2 - Remove nsCSSProps::kSIDTable. r=emilio
https://hg.mozilla.org/integration/autoland/rev/bf051d225f32
part 3 - Remove stylestruct_ field from CSS_PROP macro. r=emilio
https://hg.mozilla.org/integration/autoland/rev/1e06dbb241b1
part 4 - Remove unused ComputedStyle::{IsReset,IsInherited}. r=emilio
Comment 12•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9e2847e579e9
https://hg.mozilla.org/mozilla-central/rev/7ce482eb39fc
https://hg.mozilla.org/mozilla-central/rev/bf051d225f32
https://hg.mozilla.org/mozilla-central/rev/1e06dbb241b1
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•