Closed Bug 1377196 Opened 8 years ago Closed 8 years ago

stylo: support inDOMUtils::GetAllStyleSheets()

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(2 files)

File per bug 1290276 comment 41. > * inDOMUtils::GetAllStyleSheets calls nsStyleSet::AppendAllXBLStyleSheets to get the XBL sheets that are used in the document. https://dxr.mozilla.org/mozilla-central/rev/9af23c413a1f8d337b19b4f8450e241e91b71136/layout/inspector/inDOMUtils.cpp#113
Priority: -- → P2
Comment on attachment 8882491 [details] Bug 1377196 Part 1 - Store nsBindingManager* in ServoStyleSet. https://reviewboard.mozilla.org/r/153544/#review158778
Attachment #8882491 - Flags: review?(cam) → review+
Comment on attachment 8882492 [details] Bug 1377196 Part 2 - Add AppendAllXBLStyleSheets to ServoStyleSet. https://reviewboard.mozilla.org/r/153546/#review158780 Looks good, thanks! ::: layout/style/StyleSetHandleInlines.h:212 (Diff revision 1) > + FORWARD_CONCRETE(AppendAllXBLStyleSheets, (aArray), > + (aArray)); This can just be FORWARD(AppendAllXBLStyleSheets, (aArray)) I think, since there's no difference in the arguments between Gecko and Servo.
Attachment #8882492 - Flags: review?(cam) → review+
Comment on attachment 8882492 [details] Bug 1377196 Part 2 - Add AppendAllXBLStyleSheets to ServoStyleSet. https://reviewboard.mozilla.org/r/153546/#review158780 > This can just be FORWARD(AppendAllXBLStyleSheets, (aArray)) I think, since there's no difference in the arguments between Gecko and Servo. Right. We can use `FORWARD(AppendAllXBLStyleSheets, (aArray));` here.
Assignee: nobody → tlin
Status: NEW → ASSIGNED
Pushed by tlin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e955025554a6 Part 1 - Store nsBindingManager* in ServoStyleSet. r=heycam https://hg.mozilla.org/integration/autoland/rev/f065e3a455a6 Part 2 - Add AppendAllXBLStyleSheets to ServoStyleSet. r=heycam
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Depends on: 1378300
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: