Cameron McCormack
cc1897597c
style: Generate static atom hash in StaticAtoms.py.
...
Differential Revision: https://phabricator.services.mozilla.com/D3295
2018-08-18 17:54:54 +02:00
Cameron McCormack
f86e9a411a
style: Remove support for multiple static atom sources.
...
Differential Revision: https://phabricator.services.mozilla.com/D3285
2018-08-18 17:54:54 +02:00
Cameron McCormack
f75419dd7a
style: Move CSS anonymous box atoms to nsGkAtoms.
...
Differential Revision: https://phabricator.services.mozilla.com/D3284
2018-08-18 17:54:54 +02:00
Cameron McCormack
99a292dd6d
style: Move CSS pseudo-element atoms to nsGkAtoms.
...
Differential Revision: https://phabricator.services.mozilla.com/D3283
2018-08-18 17:54:54 +02:00
Cameron McCormack
cc3c059bfc
style: Define atom type in nsGkAtomList.h.
...
Differential Revision: https://phabricator.services.mozilla.com/D3282
2018-08-18 17:54:54 +02:00
Sylvestre Ledru
498592ff61
style: autopep8
...
Bug: 1468273
Reviewed-by: ted
MozReview-Commit-ID: 8j8EU3E08GP
2018-07-24 03:26:12 +02:00
Emilio Cobos Álvarez
69ddb9501b
style: Remove some uses of unused unsafe.
2017-11-15 13:26:24 +01:00
Sylvestre Ledru
6d6a68b5b1
Support multi lines declarations in the parsing of the Fx header files
...
For example, in dom/base/nsGkAtomList.h, we currently have:
GK_ATOM(mouseWheel, "mouseWheel") // For discrete wheel events (e.g. not OSX magic mouse)
but if we change to
GK_ATOM(mouseWheel,
"mouseWheel") // For discrete wheel events (e.g. not OSX magic mouse)
The parser didn't handle the declaration
2017-10-27 17:10:42 +02:00
Nicholas Nethercote
5866b820e0
Introduce nsStaticAtom.
...
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)
2017-10-27 20:33:40 +11:00
Nicholas Nethercote
7628c1236a
Rename nsIAtom as nsAtom.
...
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than
nsIAtom.
2017-10-09 09:27:11 +11:00
Boris Zbarsky
e84cb45078
Stylo's atom generation needs to deal with wrapper anon boxes.
2017-08-11 00:08:11 -04:00
Emilio Cobos Álvarez
6b8649e012
stylo: Fix PseudoElement::pseudo_type.
...
MozReview-Commit-ID: DH2Pv52ankl
2017-07-18 17:34:42 +02:00
Xidorn Quan
5270b766c1
Skip parent-display-based display type fixup for all anonymous boxes.
2017-07-14 10:53:38 +10:00
Xidorn Quan
a307653581
Implement parsing of tree pseudo-elements.
2017-07-12 20:33:11 +10:00
Emilio Cobos Álvarez
5820e3ecac
Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn
2017-05-16 02:53:41 +02:00