Commit Graph

94 Commits

Author SHA1 Message Date
trav90 ec23469670 Remove AndroidMediaDecoder and friends
They are no longer supported and don't work with newer Android versions anyway.
2018-12-16 08:02:30 -06:00
wolfbeast d2d0044421 Avoid useless FrameNeedsReflow call. 2018-12-13 13:54:51 +01:00
trav90 96258a022a Only disallow lazy frame construction for direct children of display: contents elements 2018-12-09 09:45:24 -06:00
wolfbeast f8e83e7e6d Limit the CSS string length for resolved variables to sane values.
This resolves #891
2018-12-01 12:05:45 +01:00
wolfbeast 3b2c342f38 Make sure we remove our RefreshDriver observers in CompleteAsyncScroll.
Follow-up to fdbac09596
2018-11-02 10:47:05 +01:00
wolfbeast fdbac09596 Ensure that the scroll frame deregisters its refresh driver observers (mAsyncScroll & mAsyncSmoothMSDScroll) before it's destroyed.
Tag #345
2018-10-31 18:47:29 +01:00
JustOff 7110f93fb1 [css-grid] Reftests for 88671bcc36 2018-10-20 16:27:57 +03:00
JustOff 88671bcc36 [css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size 2018-10-20 16:25:28 +03:00
wolfbeast 26ec82f16d Use device pixels instead of CSS pixels for table borders.
This resolves #821 (regression).
2018-10-07 20:35:37 +02:00
wolfbeast 6e48f5e140 Make caret width normal/thick behind CJK char configurable.
Fixes #820 (regression).
2018-10-07 19:46:00 +02:00
wolfbeast 81b341a9b3 Clean up a number of unused variables.
Tag #21.
2018-09-29 23:20:36 +02:00
wolfbeast 351ffa462d Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2018-09-14 20:54:19 +02:00
wolfbeast 69b88dfccc Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2018-09-10 22:22:16 +02:00
wolfbeast 4c1f33b169 Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2018-09-10 22:12:07 +02:00
Moonchild ae432c6367 Bug 1357432 (#750)
* 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 19f010c620.

* 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.
2018-09-05 03:20:16 +02:00
wolfbeast 93cae908bc Remove all C++ telemetry autotimers 2018-09-04 09:41:24 +02:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
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.
2018-09-03 10:11:38 +02:00
wolfbeast 693656e99b Sync disabled state of number control regardless of appearance. 2018-08-29 11:54:27 +02:00
trav90 26f02a2001 Avoid using memset on a not-trivial type like nsTabSizes
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.
2018-08-18 15:10:01 -05:00
janekptacijarabaci 1b153b3f2a Bug 958714 Remove obsolete assertion & comment
+ Used "mFrame->GetType()" instead of "mFrame->Type()"
2018-07-20 09:15:48 +02:00
janekptacijarabaci 83459c9277 Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2018-07-20 09:13:56 +02:00
janekptacijarabaci b12973bc9a Bug 958714 Remove special case for flex & grid items' percent block-axis margin/padding resolution, to align with other browsers 2018-07-20 09:09:36 +02:00
janekptacijarabaci 24b11942e9 Bug 1434380: Rewrite parts of reftest reference case grid-auto-min-sizing-definite-001-ref.html to be easier to understand & adjust 2018-07-20 09:01:58 +02:00
wolfbeast dc9d933d81 Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
2018-07-14 07:45:06 +02:00
Moonchild ec32d19a84 Merge pull request #628 from janekptacijarabaci/build_bustage_debug_1
Fix Build Bustage - with "--enable-debug"
2018-07-13 15:17:10 +02:00
janekptacijarabaci 53cf12d6d8 Bug 1346501. Don't mark every image as visible when a frame is created for it 2018-07-12 18:56:16 +02:00
janekptacijarabaci 71a1c47759 Fix Build Bustage - with "--enable-debug" 2018-07-12 12:34:59 +02:00
Moonchild c2fc3664d1 Merge pull request #567 from SpockMan02/moz-mac-lion-theme
Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
2018-06-30 07:24:17 +02:00
trav90 aad61148c0 Remove unnecessary GCC version checks 2018-06-29 15:33:02 -05:00
SpockMan02 6151dca6ea Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2018-06-27 03:25:34 -07:00
wolfbeast ac25827a87 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
janekptacijarabaci d1184bfb49 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue #357
2018-05-15 22:45:40 +02:00
janekptacijarabaci e968422d29 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue #357
2018-05-15 21:14:18 +02:00
wolfbeast 1124fb525b Remove other gonk widget conditionals and unused files.
Tag #288.
2018-05-13 22:46:04 +02:00
wolfbeast 6571d2ceb4 Remove MOZ_WIDGET_GONK [1/2]
Tag #288
2018-05-12 16:19:58 +02:00
wolfbeast b7d9dad58e Remove MOZ_B2G leftovers and some dead B2G-only components. 2018-05-12 14:32:03 +02:00
wolfbeast c18d9955df Issue #325 Part 13: Remove Mozilla implementation of the bidi engine completely and use ICU. 2018-05-04 20:36:02 +02:00
wolfbeast 6f8f1f7121 Issue #325 Part 9: Remove non-Intl legacy code paths from nsNumberControlFrame. 2018-05-04 16:42:31 +02:00
janekptacijarabaci 3dfd1412e4 Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146
https://github.com/MoonchildProductions/Pale-Moon/pull/1400
2018-05-02 07:08:14 +02:00
janekptacijarabaci 966e69291a Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection 2018-04-30 15:00:01 +02:00
Moonchild 8c146ab24a Merge pull request #297 from janekptacijarabaci/css_text-justify_1
CSS - implement text-justify property
2018-04-29 18:52:17 +02:00
Moonchild b83c51a1a5 Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1
DOM - implement animationcancel event
2018-04-29 18:48:43 +02:00
janekptacijarabaci eae8d21428 moebius#138: Optimize operations on root of deeply-nested frame tree
https://github.com/MoonchildProductions/moebius/pull/138
2018-04-24 21:39:13 +02:00
janekptacijarabaci d0e748cada Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call its parent class's method 2018-04-24 20:25:23 +02:00
janekptacijarabaci bf901ae222 Bug 1336708: Reftest 2018-04-24 20:23:20 +02:00
janekptacijarabaci dca75f84eb Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's computed height has changed 2018-04-24 20:21:41 +02:00
janekptacijarabaci 2f87463ea3 Bug 1209697: Cache flex measuring reflows to avoid exponential behavior 2018-04-24 20:18:05 +02:00
janekptacijarabaci 401a0e12af Bug 1209697: Clear ancestor intrinsic sizes when our block size changes 2018-04-24 20:17:56 +02:00
janekptacijarabaci d9d3b687b7 moebius#195: DOM - PointerEvent - improvements
https://github.com/MoonchildProductions/moebius/pull/195
2018-04-23 11:54:06 +02:00
janekptacijarabaci 0a9acadcca moebius#121: DOM - Selection API - getSelection() should exist on XMLDocument / Selection.type
https://github.com/MoonchildProductions/moebius/pull/121
2018-04-23 09:16:50 +02:00