gecko-dev/xpcom/ds
Emilio Cobos Álvarez b5c2fd645c Bug 1789123 - Make anonymous box wrapping inside XUL boxes be similar to modern flex boxes. r=dholbert
I haven't spotted any UI regression from this, and this should generally
make the XUL -> modern flex transition easier, and simplify some
of the relevant code.

This does fix a few layout issues with emulated flexbox.

For the most part, this shouldn't change behavior without that. This
changes behavior if you have mixed inline/non-inline content in the same
XUL box (before they'd get a single item, now you'd get the flexbox /
grid behavior of one item per inline run), and multiple inline-elements
(which would become their own flex items). But I pushed a patch with
some asserts and they didn't fire on our browser mochitests, so I think
we're good.

The UA rule refactoring (removing the inherit from xul anon blocks)
shouldn't matter in practice, since we only have one item (so
box-ordinal is irrelevant) and they have overflow: visible (so
text-overflow and overflow-clip-box shouldn't have an effect).

Differential Revision: https://phabricator.services.mozilla.com/D156375
2022-09-08 11:51:15 +00:00
..
test Bug 1738054 - Remove obsolete "skip-if = python == 2" keys from testing manifests and re-enable some skipped tests which now pass. r=ahochheiden 2022-06-21 01:46:44 +00:00
tools
ArenaAllocator.h
ArenaAllocatorExtensions.h
ArrayAlgorithm.h
ArrayIterator.h
Atom.py
AtomArray.h
components.conf Bug 1731890 - Adding Utility process with basic sandbox r=agi,nika,bobowen 2022-01-12 20:52:58 +00:00
Dafsa.cpp
Dafsa.h
HTMLAtoms.py
IncrementalTokenizer.cpp
IncrementalTokenizer.h
moz.build Bug 1772006 - Part 8: Allow building xpcom/string without unified builds, r=xpcom-reviewers,barret 2022-07-30 00:12:49 +00:00
MruCache.h
nsArray.cpp Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsArray.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsArrayEnumerator.cpp
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsAtom.h
nsAtomTable.cpp Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
nsAtomTable.h
nsBaseHashtable.h
nsCharSeparatedTokenizer.cpp Bug 1772006 - Part 8: Allow building xpcom/string without unified builds, r=xpcom-reviewers,barret 2022-07-30 00:12:49 +00:00
nsCharSeparatedTokenizer.h
nsCheapSets.h
nsClassHashtable.h
nsCOMArray.cpp
nsCOMArray.h
nsCRT.cpp
nsCRT.h
nsDeque.cpp
nsDeque.h
nsEnumeratorUtils.cpp
nsEnumeratorUtils.h
nsExpirationTracker.h
nsGkAtoms.cpp
nsGkAtoms.h
nsHashKeys.h Bug 1741665 - Align nsCString's public size_type better with other C++ APIs, r=mccr8,geckoview-reviewers,agi 2021-12-13 21:47:56 +00:00
nsHashPropertyBag.cpp Bug 1738927 - Create nsSimpleHashPropertyBag for non-main thread usage; r=xpcom-reviewers,janv,mccr8 2021-11-08 12:02:40 +00:00
nsHashPropertyBag.h Bug 1738927 - Create nsSimpleHashPropertyBag for non-main thread usage; r=xpcom-reviewers,janv,mccr8 2021-11-08 12:02:40 +00:00
nsHashtablesFwd.h
nsIArray.idl
nsIArrayExtensions.idl
nsIINIParser.idl
nsIMutableArray.idl
nsINIParserImpl.cpp Bug 1773770: Part 4 - Migrate INI parser factory to static component registration. r=xpcom-reviewers,nika 2022-06-30 09:12:16 +00:00
nsINIParserImpl.h Bug 1773770: Part 4 - Migrate INI parser factory to static component registration. r=xpcom-reviewers,nika 2022-06-30 09:12:16 +00:00
nsInterfaceHashtable.h
nsIObserver.idl
nsIObserverService.idl Bug 1755226 - Only notify 'http-on-image-cache-response' when there are registered observers r=tnikkel,emilio 2022-02-17 14:53:10 +00:00
nsIPersistentProperties2.idl Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsIPersistentProperties.h
nsIProperties.idl
nsIProperty.idl
nsIPropertyBag2.idl
nsIPropertyBag.idl
nsISerializable.idl
nsISimpleEnumerator.idl
nsIStringEnumerator.idl
nsISupportsIterators.idl
nsISupportsPrimitives.idl
nsIVariant.idl
nsIWindowsRegKey.idl
nsIWritablePropertyBag2.idl
nsIWritablePropertyBag.idl
nsMathUtils.h
nsObserverList.cpp
nsObserverList.h
nsObserverService.cpp Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
nsObserverService.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsPersistentProperties.cpp Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsPersistentProperties.h Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana 2022-07-06 14:53:06 +00:00
nsPointerHashKeys.h
nsProperties.cpp Bug 1733308 - Fix non-unified builds errors in xpcom/ds. r=xpcom-reviewers,mccr8 2021-10-01 01:49:17 +00:00
nsProperties.h
nsQuickSort.cpp
nsQuickSort.h
nsRefCountedHashtable.h
nsRefPtrHashtable.h
nsSimpleEnumerator.cpp
nsSimpleEnumerator.h
nsStaticAtomUtils.h
nsStaticNameTable.cpp
nsStaticNameTable.h
nsStringEnumerator.cpp
nsStringEnumerator.h
nsSupportsPrimitives.cpp
nsSupportsPrimitives.h
nsTArray-inl.h Bug 1761536 - Part 2: Replace nsTArray::elem_type with value_type, r=mccr8 2022-04-01 17:00:25 +00:00
nsTArray.cpp Bug 1624717 - Copy release mode bounds checking from nsTArray to Array r=glandium 2021-09-09 13:29:18 +00:00
nsTArray.h Bug 1742438 - Cleanup: Remove nsTArrayView; r=xpcom-reviewers,barret 2022-07-14 17:07:30 +00:00
nsTArrayForwardDeclare.h
nsTHashMap.h
nsTHashSet.h
nsTHashtable.h
nsTObserverArray.cpp
nsTObserverArray.h Bug 1761536 - Part 2: Replace nsTArray::elem_type with value_type, r=mccr8 2022-04-01 17:00:25 +00:00
nsTPriorityQueue.h
nsVariant.cpp Bug 1751102, part 5 - Make NaN falsy. r=xpcom-reviewers,nika 2022-02-03 00:45:08 +00:00
nsVariant.h
nsWhitespaceTokenizer.h
nsWindowsRegKey.cpp Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
nsWindowsRegKey.h Bug 1514936, part 2 - Drop the outer arguments from static components. r=xpcom-reviewers,nika 2022-05-17 20:24:19 +00:00
Observer.h
PerfectHash.h
PLDHashTable.cpp Bug 1733729: Fix non-unified build bustage in xpcom directory. r=mccr8 2021-10-05 00:29:56 +00:00
PLDHashTable.h Bug 1778259 - Attach the correct comments to PLDHashTable::ShallowSizeOf.. r=xpcom-reviewers,jstutte DONTBUILD 2022-07-06 11:07:17 +00:00
SimpleEnumerator.h
StaticAtoms.py Bug 1789123 - Make anonymous box wrapping inside XUL boxes be similar to modern flex boxes. r=dholbert 2022-09-08 11:51:15 +00:00
StickyTimeDuration.h
Tokenizer.cpp Bug 1741665 - Align nsCString's public size_type better with other C++ APIs, r=mccr8,geckoview-reviewers,agi 2021-12-13 21:47:56 +00:00
Tokenizer.h