gecko-dev/xpcom/ds
Mats Palmgren e4d7dd995a Bug 1542807 part 3 - Add some style quirks for legacy ::markers created from list-style-type/list-style-image. r=emilio
Specifically:
For "bullets", i.e. 'list-style-type:disc|circle|square|
disclosure-closed|disclosure-open', we use a built-in font
(-moz-bullet-font, which has glyphs for those symbols + space) to
retain mostly backwards compatible rendering for those.  Authors may
override that with an explicit 'font-family' ::marker style though.
We also use this font for 'list-style-image' in case it would
fallback to one of the above when the image fails to load (so that
we get the same width space).

When the -moz-bullet-font is used we also set 'font-synthesis' to
avoid synthesizing italic/bold for this font. Authors may override
this with an explicit ::marker declaration.

We also set 'letter-spacing' and 'word-spacing' to the initial value
for bullets for web-compat reasons.  Again, authors may override
this with an explicit ::marker declaration. (This breaks backwards-
compat slightly but makes us compatible with Chrome.  We used to
ignore these for list-style-type:<string> too.)

Differential Revision: https://phabricator.services.mozilla.com/D111693
2021-06-14 01:22:06 +00:00
..
test Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
tools Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
ArenaAllocator.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
ArenaAllocatorExtensions.h
ArrayAlgorithm.h Bug 1665614 - Make mozilla::Result work with non-copyable/non-param error types. r=emilio,jandem 2020-09-21 13:12:48 +00:00
ArrayIterator.h
Atom.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
AtomArray.h Bug 1684673 - Use an AutoTArray for atom arrays in attributes (class / part). r=smaug 2021-01-04 17:56:33 +00:00
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
Dafsa.cpp
Dafsa.h
HTMLAtoms.py
IncrementalTokenizer.cpp
IncrementalTokenizer.h
moz.build Bug 708901 - Add nsTHashSet. r=xpcom-reviewers,nika 2021-03-23 10:36:31 +00:00
MruCache.h
nsArray.cpp
nsArray.h
nsArrayEnumerator.cpp
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsAtom.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsAtomTable.cpp Bug 1634281 - Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika 2021-03-03 08:58:52 +00:00
nsAtomTable.h
nsBaseHashtable.h Bug 1184468 - Add To(T)Array functions that materialize a range into an array. r=xpcom-reviewers,nika 2021-03-24 17:51:11 +00:00
nsCharSeparatedTokenizer.h Bug 1679987 - Implement nsTSubstring::Split using nsTokenizedRange. r=xpcom-reviewers,necko-reviewers,nika 2020-12-17 12:36:47 +00:00
nsCheapSets.h
nsClassHashtable.h Bug 1634281 - Pull up GetOrInsertNew to nsBaseHashtable and support other smart pointer types. r=xpcom-reviewers,nika 2021-03-02 09:02:19 +00:00
nsCOMArray.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
nsCOMArray.h Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
nsCRT.cpp
nsCRT.h Bug 1709559 - Avoid using PL_str implementations when fuzzing network. r=valentin,necko-reviewers,xpcom-reviewers,KrisWright 2021-05-05 18:09:28 +00:00
nsDeque.cpp Bug 1337953 - Make nsDeque templated on pointer type r=froydnj 2020-06-25 02:39:23 +00:00
nsDeque.h Bug 1683534 - Make editor buildable outside of unified-build environment. r=sg 2021-01-04 14:18:50 +00:00
nsEnumeratorUtils.cpp
nsEnumeratorUtils.h
nsExpirationTracker.h Bug 1697344 p1: Make GradientCache thread safe. r=jrmuizel 2021-03-29 12:12:20 +00:00
nsGkAtoms.cpp
nsGkAtoms.h Bug 1704658: Implement ParamTraits for RefPtr<nsAtom> r=nika 2021-04-27 08:20:18 +00:00
nsHashKeys.h Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin 2020-05-27 18:11:12 +00:00
nsHashPropertyBag.cpp Bug 1581859: Part 3a - Add do_GetProperty helper for nsIPropertyBag2. r=mccr8 2021-03-25 19:47:01 +00:00
nsHashPropertyBag.h
nsHashtablesFwd.h Bug 708901 - Add nsTHashSet. r=xpcom-reviewers,nika 2021-03-23 10:36:31 +00:00
nsIArray.idl
nsIArrayExtensions.idl
nsIINIParser.idl
nsIMutableArray.idl
nsINIParserImpl.cpp
nsINIParserImpl.h
nsInterfaceHashtable.h Bug 1634281 - Merge nsRefPtrHashtable and nsInterfaceHashtable into nsRefCountedHashtable. r=xpcom-reviewers,necko-reviewers,nika 2021-03-04 18:52:19 +00:00
nsIObserver.idl
nsIObserverService.idl
nsIPersistentProperties2.idl
nsIPersistentProperties.h
nsIProperties.idl
nsIProperty.idl
nsIPropertyBag2.idl Bug 1581859: Part 3a - Add do_GetProperty helper for nsIPropertyBag2. r=mccr8 2021-03-25 19:47:01 +00:00
nsIPropertyBag.idl
nsISerializable.idl
nsISimpleEnumerator.idl
nsIStringEnumerator.idl
nsISupportsIterators.idl
nsISupportsPrimitives.idl
nsIVariant.idl
nsIWindowsRegKey.idl Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
nsIWritablePropertyBag2.idl
nsIWritablePropertyBag.idl
nsMathUtils.h
nsObserverList.cpp Bug 1659955 - Replace output parameter by return value in FillObserverArray and rename accordingly. r=froydnj 2020-08-26 07:24:21 +00:00
nsObserverList.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsObserverService.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
nsObserverService.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsPersistentProperties.cpp
nsPersistentProperties.h
nsPointerHashKeys.h Bug 1683561 - Make accessibility buildable outside of unified-build environment. r=sg 2021-01-05 09:47:12 +00:00
nsProperties.cpp Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
nsProperties.h
nsQuickSort.cpp Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
nsQuickSort.h
nsRefCountedHashtable.h Bug 1698098 - Add nsBaseHashtable::Clone methods. r=xpcom-reviewers,nika 2021-03-19 09:01:46 +00:00
nsRefPtrHashtable.h Bug 1634281 - Merge nsRefPtrHashtable and nsInterfaceHashtable into nsRefCountedHashtable. r=xpcom-reviewers,necko-reviewers,nika 2021-03-04 18:52:19 +00:00
nsSimpleEnumerator.cpp
nsSimpleEnumerator.h
nsStaticAtomUtils.h
nsStaticNameTable.cpp
nsStaticNameTable.h
nsStringEnumerator.cpp
nsStringEnumerator.h
nsSupportsPrimitives.cpp Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin 2020-05-17 06:58:48 +00:00
nsSupportsPrimitives.h
nsTArray-inl.h Bug 1711100 - Remove XPCOM leak logging from nsTArray_base, r=mccr8 2021-05-13 23:20:31 +00:00
nsTArray.cpp Bug 1676363 - Remove dependency of nsTArray on nsCycleCollectionChild. r=#xpcom-reviewers 2020-11-23 16:09:49 +00:00
nsTArray.h Bug 1184468 - Use nsTHashtable::Keys where possible in netwerk. r=necko-reviewers,valentin 2021-03-24 17:51:12 +00:00
nsTArrayForwardDeclare.h Bug 1626570 - Add CopyableTArray. r=xpcom-reviewers,nika 2020-04-30 09:35:57 +00:00
nsTHashMap.h Bug 1634281 - Add nsTHashMap. r=xpcom-reviewers,nika 2021-03-09 11:39:35 +00:00
nsTHashSet.h Bug 1184468 - Add To(T)Array functions that materialize a range into an array. r=xpcom-reviewers,nika 2021-03-24 17:51:11 +00:00
nsTHashtable.h Bug 1184468 - Add To(T)Array functions that materialize a range into an array. r=xpcom-reviewers,nika 2021-03-24 17:51:11 +00:00
nsTObserverArray.cpp
nsTObserverArray.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsTPriorityQueue.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsVariant.cpp Bug 1651210 - uint variant values should convert over as uints, not ints r=froydnj 2020-07-09 13:02:29 +00:00
nsVariant.h
nsWhitespaceTokenizer.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsWindowsRegKey.cpp Bug 1684110 - Stop using some 'A'-functions in xpcom/. r=sg 2021-01-04 11:03:31 +00:00
nsWindowsRegKey.h
Observer.h Bug 1645339 - Use range-based for with nsTObserverArray in xpcom. r=froydnj 2020-06-15 08:55:27 +00:00
PerfectHash.h
PLDHashTable.cpp Bug 1692403 - Don't shrink hashtable in EntryHandle destructor. r=xpcom-reviewers,nika 2021-03-25 08:34:32 +00:00
PLDHashTable.h Bug 1692403 - Don't shrink hashtable in EntryHandle destructor. r=xpcom-reviewers,nika 2021-03-25 08:34:32 +00:00
SimpleEnumerator.h
StaticAtoms.py Bug 1542807 part 3 - Add some style quirks for legacy ::markers created from list-style-type/list-style-image. r=emilio 2021-06-14 01:22:06 +00:00
StickyTimeDuration.h
Tokenizer.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
Tokenizer.h Bug 1628713 - Add Tokenizer::CheckPhrase to quickly check for compound strings, r=xpcom-reviewers,erahm 2020-07-23 12:57:50 +00:00