Cameron McCormack
fb18ceba5d
Bug 1330843 - Allow JS to create NAC pseudo-elements. r=bholley
...
MozReview-Commit-ID: 2aBPoCOsT6R
--HG--
extra : rebase_source : bc32cd9e4bd5c73af094718c795691da84abe5ba
2017-03-17 15:30:34 +08:00
Boris Zbarsky
b537f110e2
Bug 1345362 part 3. Introduce CSSPseudoElementType::NonInheritingAnonBox to represent non-inheriting anon boxes. r=heycam
...
The idea is to be able to call the right function during style resolution time
without doing a linear walk via nsCSSAnonBoxes::IsNonInheritingAnonBox.
MozReview-Commit-ID: JKt33GggTjz
--HG--
extra : rebase_source : fcf477dcef8529c803bf97b1d3a16f8f4fcea39f
2017-03-08 23:41:04 -05:00
L. David Baron
fa514af6ea
Bug 1273048 - Add __attribute__((noinline)) to work around compiler bug on Android/x86. r=xidorn
...
I tested locally that the MOZ_GCC_VERSION_AT_LEAST() and
MOZ_GCC_VERSION_AT_MOST() expressions do sensible things when I fiddle
with the numbers to make them more or less than my local gcc version.
(I tested this for all 4 expressions.)
I don't know for sure that this will fix the crashes we're seeing, but
it seems like it should undo the change that triggered it, so I think
it's worth trying.
MozReview-Commit-ID: IXYYn3mLQBf
--HG--
extra : transplant_source : %20%94%06%05L%8A%CA%DD%83%D9%23jh%E53%EF%F9%A3%0C%B4
2016-06-04 17:51:30 -07:00
Xidorn Quan
f355ff0241
Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
...
MozReview-Commit-ID: K3uFwojy6FZ
--HG--
extra : rebase_source : b4a671f8d97b1d11696c375d9af790ea27ccf0ca
extra : source : d458585bd00bbe6a503bfb0f1072c632b8f0e26f
2016-05-10 18:44:05 +10:00
Xidorn Quan
9a12bfd9db
Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
...
MozReview-Commit-ID: HWMuRrakCia
--HG--
extra : rebase_source : 7867601d650dd6dee92e7f7f922a47f0d357d6bd
extra : source : 8b27cbd442385900df9935c82c726167e489cdc8
2016-05-10 18:44:05 +10:00
Ryan VanderMeulen
937594f842
Backed out changesets 4e949692600a and 6f7ecae8e663 (bug 1269976) for bustage.
2016-05-09 23:58:49 -04:00
Xidorn Quan
05db7e1bc8
Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
...
MozReview-Commit-ID: K3uFwojy6FZ
--HG--
extra : source : 9828f687af13af0d4e220ea440692b29cf14dcd0
2016-05-10 13:36:25 +10:00
Xidorn Quan
85ca906802
Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
...
MozReview-Commit-ID: HWMuRrakCia
--HG--
extra : source : fca40d54c5270d09642f329267809fb3f7447c60
2016-05-10 13:36:25 +10:00
Boris Chiou
5c37ed6ba0
Bug 1244049 - Part 4: Define CSSPseudoElementTypeBase. r=dbaron
...
In order to convert CSSPseudoElementType into its underlying type easier,
we define CSSPseudoElementTypeBase. However, keep using uint8_t directly for
forward declarations.
2016-02-18 19:18:00 +01:00
Boris Chiou
e436478f26
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
--HG--
extra : rebase_source : c00eb9753e8f618a33aa711538ac45c0132b353c
2016-02-17 21:37:00 +01:00
Boris Chiou
185a769719
Bug 1244049 - Part 1: Define scoped enum for CSSPseudoElement type. r=dbaron
...
--HG--
extra : rebase_source : e53dd269e47fa97eb259ebd9295d012eacbdb612
2016-02-16 23:07:00 +01:00
L. David Baron
89d590da2b
Bug 1082899 patch 4 - Rename existing flag for pseudo-elements to better match what it is (UA sheets, not chrome sheets, although EditorOverride is included). r=birtles
2014-10-23 12:57:28 -04:00
Arnaud Bienner
05277c264b
Bug 938334 - Use PseudoElementSupportsStyleAttribute(Type) when it makes sense to do so and remove now unnecessary nsCSSPseudoElements functions. r=dbaron
2013-12-02 22:38:45 +01:00
Cameron McCormack
1c6e168631
Bug 930020 - Part 1: Add a flag to pseudo-elements to say whether they are exposed to content. r=bz
2013-11-28 18:03:13 +11:00
Cameron McCormack
f8487d13bf
Bug 922669 - Part 3: Add a flag to represent whether a pseudo-element supports user action pseudo-classes (currently :hover and :active). r=bz
2013-11-28 17:46:38 +11:00
Arnaud Bienner
639a9f2efd
Bug 938334 - Use "Type" as parameter in nsCSSPseudoElements methods instead of "nsIAtom*" when it makes sense to do so. r=dbaron
2013-11-17 19:33:56 +01:00
Arnaud Bienner
574b47d090
Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert
2013-07-10 00:25:27 +02:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
d2b70213ac
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Boris Zbarsky
5132d64872
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
c1d4ecaf51
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
6eb3c28de7
Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron
2009-12-10 14:36:05 -08:00
Boris Zbarsky
8616f91258
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-10 14:36:04 -08:00
L. David Baron
c07ac412dc
Existing callers call IsCSS2PseudoElement on non-pseudo-elements (in particular, anon boxes), so we need to make that not assert and be deterministic. (Bug 521044) r=bzbarsky
2009-10-07 20:22:42 -07:00
L. David Baron
1f2c562740
Add flags to pseudo-elements, and add one that says which ones are expected to contain elements. (Bug 505515) r=bzbarsky
2009-08-10 15:52:29 -07:00
dbaron%dbaron.org
30f8db359a
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu
10600c0acd
Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
...
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968). Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug). Patch in bug 62843. r+sr=dbaron
2003-07-04 01:33:10 +00:00
alecf%netscape.com
c8aef61acf
fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
2003-04-02 04:51:07 +00:00
dbaron%fas.harvard.edu
a34c46af22
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
2003-01-01 23:53:20 +00:00
dbaron%fas.harvard.edu
f6b1702067
Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
2002-11-17 15:37:56 +00:00