summaryrefslogtreecommitdiffstats
path: root/layout
Commit message (Collapse)AuthorAgeLines
* Fix wrong SVG sizes with non-integer values for viewBox width/height.wolfbeast2018-09-14-4/+5
| | | | Includes a standalone reftest.
* 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.
* Bug 1357432 (#750)Moonchild2018-09-05-17/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite) `IsLocalRefURL` is originally designed to be used by URLValue only. Since we need this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a util function. * Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)" This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf. * Part 1. Duplicate IsLocalRefURL to nsContentUtils to reuse this function. `IsLocalRefURL` is originally designed to be used by URLValue only. Since we need this function in SVGUseElement::LookupHref too, duplicate it to nsContentUtils as a util function. This is a duplication because CSSValue uses stringbuffers and not nsStrings. While Bug 1356060 - "Just use nsString in URLValueData" converts this use from stringbuffer to nsString, it builds on a bunch of vartype refactoring (nsString vs. nsAString, etc.) which is too much of a headache to deal with just to deduplicate this simple function. * Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic. ResolveURLUsingLocalRef is designed to be internally used by nsSVGEffects::Get-{SVGEffect}-URI functions. Since we also need it in SVGUseElement::LookupHref, make it public in nsSVGEffects. * Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef. * Part 4. Reftest for using local-ref as xlink:href value.
* Remove all C++ telemetry autotimerswolfbeast2018-09-04-9/+2
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-91/+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.
* Sync disabled state of number control regardless of appearance.wolfbeast2018-08-29-2/+2
|
* 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.
* Bug 958714 Remove obsolete assertion & commentjanekptacijarabaci2018-07-20-12/+1
| | | | + Used "mFrame->GetType()" instead of "mFrame->Type()"
* Bug 958714 Simplify percent-margin/padding resolution code to pass around a ↵janekptacijarabaci2018-07-20-66/+30
| | | | single length as the percent basis
* Bug 958714 Remove special case for flex & grid items' percent block-axis ↵janekptacijarabaci2018-07-20-51/+30
| | | | margin/padding resolution, to align with other browsers
* Bug 1434380: Rewrite parts of reftest reference case ↵janekptacijarabaci2018-07-20-28/+19
| | | | grid-auto-min-sizing-definite-001-ref.html to be easier to understand & adjust
* Add pref to control CanOptimizeToImageLayer for large downscale factors.wolfbeast2018-07-14-0/+5
| | | | This resolves #626
* Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1Moonchild2018-07-13-1/+1
|\ | | | | Fix Build Bustage - with "--enable-debug"
| * Fix Build Bustage - with "--enable-debug"janekptacijarabaci2018-07-12-1/+1
| |
* | Bug 1346501. Don't mark every image as visible when a frame is created for itjanekptacijarabaci2018-07-12-0/+12
|/
* Merge pull request #567 from SpockMan02/moz-mac-lion-themeMoonchild2018-06-30-8/+24
|\ | | | | Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
| * Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media querySpockMan022018-06-27-8/+24
| |
* | Remove unnecessary GCC version checkstrav902018-06-29-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 other gonk widget conditionals and unused files.wolfbeast2018-05-13-25/+4
| | | | Tag #288.
* Remove MOZ_WIDGET_GONK [1/2]wolfbeast2018-05-12-95/+1
| | | | Tag #288
* Remove MOZ_B2G leftovers and some dead B2G-only components.wolfbeast2018-05-12-117/+3
|
* Issue #325 Part 13: Remove Mozilla implementation of the bidi engine ↵wolfbeast2018-05-04-3010/+182
| | | | completely and use ICU.
* Issue #325 Part 9: Remove non-Intl legacy code paths from nsNumberControlFrame.wolfbeast2018-05-04-4/+0
|
* 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
* Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelectionjanekptacijarabaci2018-04-30-2/+3
|
* Merge pull request #297 from janekptacijarabaci/css_text-justify_1Moonchild2018-04-29-9/+285
|\ | | | | CSS - implement text-justify property
| * moebius#90: CSS - implement text-justify propertyjanekptacijarabaci2018-04-01-9/+285
| |
* | Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1Moonchild2018-04-29-144/+389
|\ \ | | | | | | DOM - implement animationcancel event
| * | Bug 1264125: Fire transitioncancel event when a transition is canceled ↵janekptacijarabaci2018-03-14-3/+67
| | | | | | | | | | | | | | | | | | (added tests + style clean up) Issue #55
| * | Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added ↵janekptacijarabaci2018-03-14-10/+16
| | | | | | | | | | | | | | | | | | tests) Issue #55
| * | moebius#89: DOM - implement animationcancel eventjanekptacijarabaci2018-03-14-69/+79
| | | | | | | | | | | | Issue #55
| * | Bug 1264125: Queue CSS related event when setting null target effectjanekptacijarabaci2018-03-14-13/+45
| | | | | | | | | | | | Issue #55
| * | Bug 1264125: Call the queueing events when canceling transition via Style or ↵janekptacijarabaci2018-03-14-7/+20
| | | | | | | | | | | | | | | | | | Script Issue #55
| * | Bug 1264125: Queue transitioncancel when animation status is idlejanekptacijarabaci2018-03-14-31/+45
| | | | | | | | | | | | Issue #55
| * | Revert - Bug 1324985: Disable firing the transitionrun and transitionstart ↵janekptacijarabaci2018-03-14-21/+107
| | | | | | | | | | | | | | | | | | on Aurora 52 Issue #55
| * | Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (without ↵janekptacijarabaci2018-03-14-73/+93
| | | | | | | | | | | | | | | | | | tests) Issue #55
* | | moebius#138: Optimize operations on root of deeply-nested frame treejanekptacijarabaci2018-04-24-38/+610
| | | | | | | | | | | | https://github.com/MoonchildProductions/moebius/pull/138
* | | Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call ↵janekptacijarabaci2018-04-24-0/+174
| | | | | | | | | | | | its parent class's method
* | | Bug 1336708: Reftestjanekptacijarabaci2018-04-24-0/+65
| | |
* | | Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's ↵janekptacijarabaci2018-04-24-23/+39
| | | | | | | | | | | | computed height has changed
* | | Bug 1209697: Cache flex measuring reflows to avoid exponential behaviorjanekptacijarabaci2018-04-24-39/+114
| | |
* | | Bug 1209697: Clear ancestor intrinsic sizes when our block size changesjanekptacijarabaci2018-04-24-1/+6
| | |
* | | moebius#195: DOM - PointerEvent - improvementsjanekptacijarabaci2018-04-23-0/+2
| | | | | | | | | | | | https://github.com/MoonchildProductions/moebius/pull/195
* | | moebius#121: DOM - Selection API - getSelection() should exist on ↵janekptacijarabaci2018-04-23-0/+15
| | | | | | | | | | | | | | | | | | XMLDocument / Selection.type https://github.com/MoonchildProductions/moebius/pull/121
* | | moebius#71: DOM - Pointer Events - improvementsjanekptacijarabaci2018-04-20-367/+95
| | | | | | | | | | | | https://github.com/MoonchildProductions/moebius/pull/71
* | | Bug 1453339 - Make it harder to mess up Promise::All. r=peterv, a=RyanVMBoris Zbarsky2018-04-19-11/+1
| | | | | | | | | | | | MozReview-Commit-ID: UO4wssYHj7