| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Backported from Mozilla bug 1472602.
Didn't include the change in StickyScrollContainer.cpp because it breaks
linking to libxul.so in the end. It's not important anyway.
|
|
|
|
|
|
| |
relative positioning, and convert the caller for which this makes sense.
Backported from Mozilla bug 1547759.
|
|
|
|
|
|
| |
FinishReflowChild, etc into an enum class.
Backported from Mozilla bug 1571250.
|
|
|
|
|
| |
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function
names, Mozilla!) to be less fragile.
|
|
|
|
|
|
| |
make it a trivial class
Also provide a couple of convenience "factory" methods to create simple and complex glyph values.
|
|
|
|
|
| |
A safe implementation means significant performance loss, making this change
undesirable.
|
|
|
|
|
|
| |
existence in the vector first before adding items
Performance impact unknown, resolves crashes on some sites that encounter this scenario.
|
| |
|
|
|
|
|
|
| |
keyword table
This prevents the parser from accepting values outside the keyword table.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
No issue - Update README and SECURITY
Issue #1885 - Follow-up: Update error message if invalid rootMargin specified.
Issue #1879 - Follow-up: Update config/external/nss/target to security/target.
Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver.
Issue #1879 - Revert changes to cryptox.h
Revert "Issue #1879 - spot-fix typo in cryptox.h"
Issue #1879 - spot-fix typo in cryptox.h
Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement
Issue #21 - Remove use counters telemetry
Issue #1881 - Interpret empty or whitespace root margin string as zero length
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Issue #1880 - Boot Comic Sans out of the font configuration.
|
| |\
| | |
| | |
| | |
| | |
| | | |
FranklinDM/UXP-contrib:work_telemetry-use-counters-removal into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1883
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts Bug 968923 - Implement some equivalent of Chrome's use counters (on top of telemetry?)
For reference: https://bugzilla.mozilla.org/show_bug.cgi?id=968923
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I could have done this through a CSSLoader to allow all CSS unit quirks but
I wasn't planning to start passing around document and element references
everywhere, so instead just did it manually by accepting numbers/floats in
addition to pixel and percent.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This attempts to get the first non-whitespace token, which if exists, continues with previous behavior of parsing the margin string. Otherwise, if the specified margin string is empty or consists only of whitespace characters, is interpreted as zero length.
IntersectionObserver is the only consumer of the `ParseMarginString` method, as far as I can tell, so this should not affect anything else.
Note: For some reason, Firefox and Chrome treat the unitless zero length as invalid, while with this change, we do not change existing behavior in that regard and continue to accept that value.
|
| | |
|
| |
| |
| |
| | |
by reverting Issue #1751
|
| |
| |
| |
| | |
This reverts commit aa0fd3d68c856504646e1d7eb499bc890ef44101.
|
|/
|
|
|
|
| |
MOZ_WIDGET_TOOLKIT == 'cocoa’”
This reverts commit 1fe9c19305dadf2d5bcaa0e589fcd250389dfa8a.
|
|
|
|
| |
tests.
|
| |
|
|
|
|
| |
fixed up.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handling code
We have four entry points that deal with the parents of display:none/ display:contents content. These are the functions for setting, changing, getting and removing a style context. Or more specifically:
GetStyleContextInMap called by GetDisplay[None|Contents]StyleFor
SetStyleContextInMap called by RegisterDisplay[None|Contents]StyleFor
ChangeStyleContextInMap called by ChangeRegisteredDisplay[None|Contents]StyleFor
UnregisterDisplay[None|Contents]StyleFor okay, this is actually two functions, but they act as a pair
This change makes all these functions call GetApplicableParent up front and act on and pass around the parent that it returns. This is so that throughout the code we are always handling the parent that will be used as the key in the UndisplayedMap entry. This is necessary so that all the code that sets/gets the 'MayHaveChildrenWithLayoutBoxesDisabled' bit on/from an nsIContent object is using the same object, otherwise everything breaks down.
Partially based on part 2 of https://bugzilla.mozilla.org/show_bug.cgi?id=1367214
|
|
|
|
|
|
| |
This introduces the `ParentForUndisplayedMap` helper method to reduce duplication in terms of getting the parent and asserting parent existence.
Partially based on parts of https://bugzilla.mozilla.org/show_bug.cgi?id=1341083
|
| |
|
|
|
|
|
|
| |
Changing to vector makes manipulating display list items more risky.
This is to make sure we don't inadvertently end up with duplicates in
the list of display items avoiding double-free scenarios.
|
|\ |
|
| |
| |
| |
| | |
This also fixes crashing when using the grid shorthand property.
|
| |
| |
| |
| |
| |
| | |
base size resolution, so that percent main-sizes can be respected
This is a workaround, based on https://bugzilla.mozilla.org/show_bug.cgi?id=1455976
|
| |\
| | |
| | |
| | |
| | |
| | | |
insertions' (#1867) from win7-7/UXP:pr-1861 into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1867
|
| | |
| | |
| | |
| | | |
Cache the most recent nsGenConNode to speed up future insertions.
|
| |/ |
|
|/
|
|
|
|
| |
hashtable
This should improve cache locality and help speed up layer building.
|
| |
|
|\
| |
| |
| |
| |
| | |
and address spec changes' (#1854) from FranklinDM/UXP-contrib:work_css-flex-basis-content into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1854
|
| | |
|
| |
| |
| |
| |
| |
| | |
This uses a different approach and builds upon the refactoring made in the 576eb6ee01fb9ee3669cad634b26473c2886cab1.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1374540
|
| |
| |
| |
| | |
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1105111
|
| |
| |
| |
| |
| |
| | |
flex-basis enum values as 'auto' in vertical axis
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1436881
|
| |
| |
| |
| |
| |
| | |
handling `flex-basis`
This removes the need to keep the `flex-basis` handling code of the ComputeSize* functions in sync since they both call the same function now for this purpose.
|
| | |
|
| |
| |
| |
| |
| |
| | |
controls to allow themes to respond to scrollbar-width.
Also clean up the comments and whitespace a bit.
|
| |
| |
| |
| |
| | |
This should prevent people using a massive footgun that would blow off
their entire legs. Requires appropriate FE changes.
|
| |
| |
| |
| |
| | |
By mapping this to an attribute, this allows browser themes to respond to
the various available scrollbar width settings in CSS.
|
|/ |
|
|
|
|
|
|
| |
This extension allows us to get font hint metrics without having to create and
destroy cairo font options structs. Since this is used in loops, this will
improve performance, especially in documents which have many text segments.
|
|
|
|
|
|
|
| |
athenian200/UXP:libcubeb_final into master"
This reverts commit 0bc66e3b04e77af307b62371ae9f4be70b2b19b7, reversing
changes made to 6e6b5d89964ea726b264c711bdf6f02fe0c006f5.
|
|\
| |
| |
| |
| |
| | |
athenian200/UXP:libcubeb_final into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1812
|
| |
| |
| |
| | |
Without this change, you get an error about external linkage or something. These files are now used outside of WebRTC.
|
| |
| |
| |
| | |
Restore the proper working environment for libcubeb work after reversion.
|