summaryrefslogtreecommitdiffstats
path: root/layout/base/nsLayoutUtils.cpp
Commit message (Collapse)AuthorAgeLines
* Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in ↵Gaming4JC2019-09-28-48/+28
| | | | | | | | | | | | | | | | | | | | | | Layout CSS-Grid List of relevant patches applied: 1398537 part 2 - [css-multicol] Implement percentages for 'column-gap' (Gecko part). 1434478 part 1 - [css-grid] Stop back-computing percentage grid gaps when the percentage basis is indefinite. Treat them as zero sized instead. 1434478 part 2 - Stop back-computing percentage padding/margin when the percentage basis is indefinite. Treat them as zero sized instead. 1434478 part 3 - Remove IntrinsicISizeOffsetData::hPctPadding/hPctMargin members since they are now unused. 1434478 part 4 - Factor out constants like NS_UNCONSTRAINEDSIZE so they can be used in headers without needing nsIFrame.h (idempotent patch). 1434478 part 5 - Create nsLayoutUtils::ResolveToLength for resolving CSS <length-percentage> (idempotent patch). 1434478 part 6 - Propagate a percentage basis to nsIFrame::IntrinsicISizeOffsets for resolving padding/margin. This is needed only for CSS Grid since in other cases we're only using IntrinsicISizeOffsets in the inline-axis and the percentage basis is always indefinite for *intrinsic sizing*. When calculating the intrinsic size of grid items in the grid container's block axis however, we do have a definite size for the grid area in the inline-axis and it should be used per: https://drafts.csswg.org/css-grid/#algo-overview "2. Next, the track sizing algorithm resolves the sizes of the grid rows, using the grid column sizes calculated in the previous step." (Percentage padding/margin for grid items is always resolved against the grid area's inline-size nowadays.)
* Attach FrameProperties to each frame instead of using a shared hashtablewin7-72019-06-26-8/+8
| | | | Dispense the shared hashtable and instead attach the frame property list directly to nsIFrame.
* Revert "Improve origin-clean algorithm"wolfbeast2019-06-04-5/+3
| | | | This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
* Improve origin-clean algorithmwolfbeast2019-05-27-3/+5
|
* Add nullcheck for frames in FindNearestCommonAncestorFramewolfbeast2019-02-18-0/+4
| | | | This resolves #978.
* issue #908 - implement missing parts of CSS maskyami2019-02-02-1/+126
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-3/+0
|
* Clean up a number of unused variables.wolfbeast2018-09-29-1/+0
| | | | Tag #21.
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-4/+0
| | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* Fix Build Bustage - with "--enable-debug"janekptacijarabaci2018-07-12-1/+1
|
* Building with "--enable-debug" - fix some warningsjanekptacijarabaci2018-05-02-2/+3
| | | | | https://github.com/MoonchildProductions/moebius/pull/146 https://github.com/MoonchildProductions/Pale-Moon/pull/1400
* moebius#90: CSS - implement text-justify propertyjanekptacijarabaci2018-04-01-1/+2
|
* CSS - Grid - transferred min-size contribution of percentage size grid item ↵janekptacijarabaci2018-03-12-19/+132
| | | | with an intrinsic ratio
* Don't build EME-specific subroutines without EME.wolfbeast2018-02-24-0/+2
| | | | | | | | | | | - Checks for restricted or encrypted content - Dispatching 'encrypted' events - Dispatching 'key needed' events - HTML Media Element media keys system - EME telemetry - HTML Media Element EME API This is the main bulk for #26, isolating EME-specific code.
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+9186