summaryrefslogtreecommitdiffstats
path: root/layout
Commit message (Collapse)AuthorAgeLines
* Add nullcheck in nsSVGUtils::PaintFrameWithEffectswolfbeast2019-04-06-3/+6
| | | | | | Some SVGs define a mask but an invalid mask frame. Check to make sure we have a `maskFrame` that isn't null before trying to use it. This resolves #1034
* Revert "add a nullptr check in nsSVGUtils::PaintFrameWithEffects"wolfbeast2019-04-06-1/+1
| | | | This reverts commit 00baf283622b47ad7926c6e62364854d3dfbc00a.
* add a nullptr check in nsSVGUtils::PaintFrameWithEffectsyami2019-04-03-1/+1
|
* Bug 1360343 - ensure maskSurface is not null before dereference, since it ↵cku2019-04-03-1/+2
| | | | | | | | | can be null because of OOM or gfx device reset. r=dvander MozReview-Commit-ID: HX2qsWLZpMg --HG-- extra : rebase_source : 046befc11151461a682842c31e2ce39247a5e1d8
* Remove 18 yo OS/2 and AIX bustage workaround.wolfbeast2019-03-31-19/+73
| | | | Tag #186
* Issue #187: Remove solaris conditional code.wolfbeast2019-03-30-3/+0
|
* 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
* Handle the special case of a flex frame being the absolute containing block ↵JustOff2019-03-14-6/+148
| | | | correctly from the CSS align code
* Remove various hard-coded Accept: headerswolfbeast2019-03-07-4/+0
| | | | | | | Since we're now handling this in the network back-end, there's no need for this anymore. Tag #993.
* Add nullcheck for frames in FindNearestCommonAncestorFramewolfbeast2019-02-18-0/+4
| | | | This resolves #978.
* Merge branch 'master' of https://github.com/MoonchildProductions/UXPwolfbeast2019-02-03-433/+574
|\
| * issue #908 - implement missing parts of CSS maskyami2019-02-02-433/+574
| |
* | Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTSwolfbeast2019-01-18-14/+0
|/
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-195/+0
|
* Make MAX_CSS_VAR_LENGTH unsigned to avoid warnings.wolfbeast2019-01-04-1/+1
| | | | Follow-up for #891. Tag #457.
* Remove AndroidMediaDecoder and friendstrav902018-12-16-9/+0
| | | | They are no longer supported and don't work with newer Android versions anyway.
* Avoid useless FrameNeedsReflow call.wolfbeast2018-12-13-0/+3
|
* Only disallow lazy frame construction for direct children of display: ↵trav902018-12-09-6/+34
| | | | contents elements
* Limit the CSS string length for resolved variables to sane values.wolfbeast2018-12-01-0/+9
| | | | This resolves #891
* Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.wolfbeast2018-11-02-2/+12
| | | | Follow-up to fdbac095968bc952fec6a03765a7156940ae4733
* Ensure that the scroll frame deregisters its refresh driver observers ↵wolfbeast2018-10-31-22/+30
| | | | | | (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed. Tag #345
* [css-grid] Reftests for 88671bcc3633af5a5e34715518e0804ca892fac7JustOff2018-10-20-0/+348
|
* [css-grid] Don't shrink-wrap the inline size when we have an available size ↵JustOff2018-10-20-3/+5
| | | | when measuring block size
* Use device pixels instead of CSS pixels for table borders.wolfbeast2018-10-07-38/+41
| | | | This resolves #821 (regression).
* 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.
* 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.