summaryrefslogtreecommitdiffstats
path: root/layout/base
Commit message (Collapse)AuthorAgeLines
* Issue #146 - Part 6: Allow `position: sticky` on table elements.wolfbeast2019-11-03-9/+0
|
* Issue #146 - Part 3: Create nsDisplayTableBackgroundImage to avoidwolfbeast2019-11-03-7/+75
| | | | display list collisions when processing the background image of a table.
* Issue #146 - Part 3: Create nsDisplayTableFixedPosition to avoid displaywolfbeast2019-11-03-5/+103
| | | | list collisions when processing the background image of a table.
* Issue #146 - Part 2: Remove custom table painting component.wolfbeast2019-11-02-3/+0
| | | | | | Since we're now putting table borders and backgrounds properly in the display lists, we no longer need this custom component to do this work for us.
* Issue #146 - Part 1: Draw each table's background on their own displaywolfbeast2019-11-02-3/+10
| | | | | | | | | | | | | | list items. This patch does the following things: 1. Creates nsDisplayTableBorderCollapse that draws all collapse border of tables. 2. Stops the use of nsDisplayTableBorderBackground. 3. Lets column and column group frames generate display items. 4. When traversing the table, also traverses the column and column group frames. 5. For each type of table frame (col group, col, row group, row and cell), draws their own background.
* Issue #1230 - Part 1: Fix Back-computing percentages for intrinsic sizing in ↵Gaming4JC2019-09-28-73/+133
| | | | | | | | | | | | | | | | | | | | | | 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.)
* Issue #438: Rename coord/coords to originValue/transformOrigin.wolfbeast2019-08-14-13/+13
| | | | For clarity and to prevent typoes.
* Issue #438: Pixel-snap subpixel value for outer SVG and anon child.wolfbeast2019-08-14-2/+7
| | | | This doesn't solve the blurriness yet, but is part of the problem.
* Issue #438: Do not round the translation of an SVG frame.wolfbeast2019-08-14-2/+8
| | | | This doesn't solve the blurriness yet, but is part of the problem.
* Outdated comment removal (no code changes)win7-72019-08-02-1/+0
| | | | No code changes.
* Revert "Capture delayed events and cancel as necessary."wolfbeast2019-07-18-16/+0
| | | | | | | | | Tag #1052 (backout). Backed out for creating issues like #1191 and other issue-less problems with e.g. losing the caret from text boxes. Of note: this was also backed out from m-c for similar reasons in Bug 1332433. This fixes #1191. This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
* Fix comments for Framepropertieswin7-72019-07-12-1/+1
| | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1373884 Fixes comments for Frameproperties. These comments went unnoticed earlier. No code changes.
* Iterate the frame property list once to collect which child list properties ↵win7-72019-07-08-0/+27
| | | | | | we have Look into optimizing out the hashtable lookups from nsContainerFrame
* Avoid multiple hashtable lookups in DisplayItemData destructorwin7-72019-07-07-2/+7
| | | | | | | | | | | UXP has: MOZ_RELEASE_ASSERT(sAliveDisplayItemDatas && sAliveDisplayItemDatas >Contains(this)); sAliveDisplayItemDatas->RemoveEntry(this); and this gets hit during frame destruction. Combine these checks.
* Attach FrameProperties to each frame instead of using a shared hashtablewin7-72019-06-26-526/+285
| | | | 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
|
* Lots of time spent maintaining nsDisplayLayerEventRegions (#1116)win7-72019-05-24-0/+4
| | | | | | | | * Simplify the dispatch-to-content region Simplify the dispatch-to-content region in nsDisplayLayerEventRegions::AddFrame() and AddInactiveScrollPort() if it starts to get large. * tabs to spaces
* Merge pull request #1071 from win7-7/nsDisplayListBuilderMoonchild2019-05-03-2/+2
|\ | | | | nsFrameList::GetLength() calls in nsDisplayListBuilder::MarkFramesForDisplayList() are slow
| * patch to Bug 1377329win7-72019-05-02-2/+2
| |
* | unnecessary space at the end removedwin7-72019-05-02-1/+0
| |
* | patch to Bug 1363423win7-72019-05-02-0/+5
|/
* Capture delayed events and cancel as necessary.wolfbeast2019-04-26-0/+16
| | | | Tag #1052
* Grab caching capturing content with local variable.wolfbeast2019-03-23-5/+5
|
* The result of adding any percentage factor to a size that is zero should ↵JustOff2019-03-21-4/+5
| | | | also be zero
* Add nullcheck for frames in FindNearestCommonAncestorFramewolfbeast2019-02-18-0/+4
| | | | This resolves #978.
* issue #908 - implement missing parts of CSS maskyami2019-02-02-58/+319
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-183/+0
|
* Only disallow lazy frame construction for direct children of display: ↵trav902018-12-09-6/+10
| | | | contents elements
* Make caret width normal/thick behind CJK char configurable.wolfbeast2018-10-07-1/+7
| | | | Fixes #820 (regression).
* Clean up a number of unused variables.wolfbeast2018-09-29-6/+0
| | | | Tag #21.
* Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ↵wolfbeast2018-09-10-20/+21
| | | | ref on it on the stack when nsRefreshDriver::Tick can be reached.
* Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the ↵wolfbeast2018-09-10-0/+4
| | | | TickRefreshDriver call.
* Remove all C++ telemetry autotimerswolfbeast2018-09-04-9/+2
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-66/+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.
* Avoid using memset on a not-trivial type like nsTabSizestrav902018-08-18-1/+6
| | | | | | nsTabSizes is non-trivial only because of the user-defined constructor. The idea desired here is certainly to zero all the members without listing them -- but the very act of doing so with a user-defined constructor, makes the idea impossible. Arguably this is something that is permissible in the language, and that the warning should be tailored to permit. I don't think this falls afoul of any of the issues flagged in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01527.html for example. In the meantime, just explicitly zeroing the three member fields is easy and fixes the warnings.
* Add pref to control CanOptimizeToImageLayer for large downscale factors.wolfbeast2018-07-14-0/+5
| | | | This resolves #626
* Fix Build Bustage - with "--enable-debug"janekptacijarabaci2018-07-12-1/+1
|
* Remove SPS profiler.wolfbeast2018-05-24-47/+0
| | | | | - Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
* Bug 1379762 part 2. Use a more reliable test to figure out when we can skip ↵janekptacijarabaci2018-05-15-1/+14
| | | | | | firing onload in nsDocumentViewer::LoadComplete Issue #357
* Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device ↵janekptacijarabaci2018-05-15-4/+9
| | | | | | pixel ratio is set to its current value Issue #357
* Remove MOZ_WIDGET_GONK [1/2]wolfbeast2018-05-12-1/+1
| | | | Tag #288
* Remove MOZ_B2G leftovers and some dead B2G-only components.wolfbeast2018-05-12-95/+1
|
* Issue #325 Part 13: Remove Mozilla implementation of the bidi engine ↵wolfbeast2018-05-04-3010/+182
| | | | completely and use ICU.
* 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
* Merge pull request #297 from janekptacijarabaci/css_text-justify_1Moonchild2018-04-29-1/+2
|\ | | | | CSS - implement text-justify property
| * moebius#90: CSS - implement text-justify propertyjanekptacijarabaci2018-04-01-1/+2
| |
* | moebius#138: Optimize operations on root of deeply-nested frame treejanekptacijarabaci2018-04-24-11/+153
| | | | | | | | https://github.com/MoonchildProductions/moebius/pull/138
* | moebius#195: DOM - PointerEvent - improvementsjanekptacijarabaci2018-04-23-0/+2
| | | | | | | | https://github.com/MoonchildProductions/moebius/pull/195
* | moebius#71: DOM - Pointer Events - improvementsjanekptacijarabaci2018-04-20-367/+95
| | | | | | | | https://github.com/MoonchildProductions/moebius/pull/71