Closed
Bug 1359205
Opened 8 years ago
Closed 8 years ago
Make XUL pseudo values nsICSSAnonBoxPseudo* instead of nsIAtom*
Categories
(Core :: XUL, enhancement)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
Attachments
(2 files)
10.13 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
1.07 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Follow-up from bug 1358840 comment 23:
> To make sure it's really right, we should change
> nsTreeBodyFrame::GetPseudoStyleContext and nsTreeStyleCache::GetStyleContext
> to take a nsICSSAnonBoxPseudo* instead of nsIAtom*, and then assert that
> IsTreePseudoElement(). That will require some changes to various other tree
> code, but will make this definitely safe... Followup is ok for this part.
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8861193 -
Flags: review?(bzbarsky)
Comment 3•8 years ago
|
||
Comment on attachment 8861193 [details] [diff] [review]
fix
r=me on these bits, but I meant that nsTreeStyleCache::GetStyleContext should assert IsTreePseudoElement(aPseudoElement).
Attachment #8861193 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 4•8 years ago
|
||
I'll fold this into the first part.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c49979d9db6f50f2fa861afb31280f9b8520ce0e
Attachment #8861711 -
Flags: review?(bzbarsky)
Comment 5•8 years ago
|
||
Comment on attachment 8861711 [details] [diff] [review]
add an assertion
r=me, thank you!
Attachment #8861711 -
Flags: review?(bzbarsky) → review+
Pushed by mpalmgren@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5590452f092c
Make XUL pseudo values nsICSSAnonBoxPseudo* instead of nsIAtom* and assert that IsTreePseudoElement() got a pseudo tag of the right type. r=bz
Comment 7•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•8 years ago
|
status-firefox57:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•