1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 22:13:05 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
JustOff a202619fcf [css-grid] Reftests for 88671bcc3633af5a5e34715518e0804ca892fac7 2019-02-16 00:16:01 +08:00
JustOff ff78530425 [css-grid] Don't shrink-wrap the inline size when we have an available size when measuring block size 2019-02-16 00:16:00 +08:00
wolfbeast dac78e3f8c Use device pixels instead of CSS pixels for table borders.
This resolves #821 (regression).
2019-02-16 00:15:17 +08:00
wolfbeast bbb1a766e2 Make caret width normal/thick behind CJK char configurable.
Fixes #820 (regression).
2019-02-16 00:15:15 +08:00
wolfbeast 57251fc4e7 Clean up a number of unused variables.
Tag #21.
2019-02-16 00:14:50 +08:00
wolfbeast ee1233bb0c Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2019-02-16 00:13:43 +08:00
wolfbeast f2dad4be1f Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2019-02-16 00:13:07 +08:00
wolfbeast 6f120a942c Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2019-02-16 00:13:06 +08:00
wolfbeast 5cc1408b3d Revert "Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. (port-rewrite)"
This reverts commit 19f010c62022e269f99066a8d90e3522fe31adaf.
2019-02-16 00:12:40 +08:00
wolfbeast 325afc0ab8 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.
2019-02-16 00:12:38 +08:00
Moonchild 49fc92f4a1 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 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.
2019-02-16 00:12:35 +08:00
wolfbeast ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast 8c8145e620 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.
2019-02-16 00:12:32 +08:00
wolfbeast 7438687cda Sync disabled state of number control regardless of appearance. 2019-02-16 00:12:13 +08:00
trav90 eb09900afe 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.
2019-02-16 00:11:30 +08:00
janekptacijarabaci b2c7373dba Bug 958714 Remove obsolete assertion & comment
+ Used "mFrame->GetType()" instead of "mFrame->Type()"
2019-02-16 00:09:09 +08:00
janekptacijarabaci 661e649fe5 Bug 958714 Simplify percent-margin/padding resolution code to pass around a single length as the percent basis 2019-02-16 00:09:08 +08:00
janekptacijarabaci a99820e3ab Bug 958714 Remove special case for flex & grid items' percent block-axis margin/padding resolution, to align with other browsers 2019-02-16 00:09:06 +08:00
janekptacijarabaci 8ba429e41d Bug 1434380: Rewrite parts of reftest reference case grid-auto-min-sizing-definite-001-ref.html to be easier to understand & adjust 2019-02-16 00:09:05 +08:00
wolfbeast ca5c2ba100 Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
2019-02-16 00:08:44 +08:00
janekptacijarabaci d57aa4fc94 Fix Build Bustage - with "--enable-debug" 2019-02-16 00:08:38 +08:00
janekptacijarabaci ece6d716f4 Bug 1346501. Don't mark every image as visible when a frame is created for it 2019-02-16 00:08:30 +08:00
SpockMan02 2d708bf86c Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2019-02-16 00:06:39 +08:00
trav90 afedf5b82e Remove unnecessary GCC version checks 2019-02-16 00:06:37 +08:00
wolfbeast 1a823f5ad6 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2019-02-15 23:58:37 +08:00
janekptacijarabaci e29bf72ab4 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete
Issue #357
2019-02-15 23:58:12 +08:00
janekptacijarabaci eb80674e82 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value
Issue #357
2019-02-15 23:58:10 +08:00
wolfbeast 74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast b586913598 Remove MOZ_WIDGET_GONK [1/2]
Tag #288
2019-02-15 23:57:08 +08:00
wolfbeast 719ac1bc38 Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
wolfbeast 04679df9c6 Issue #325 Part 13: Remove Mozilla implementation of the bidi engine completely and use ICU. 2019-02-15 23:56:15 +08:00
wolfbeast f2d90ee4a4 Issue #325 Part 9: Remove non-Intl legacy code paths from nsNumberControlFrame. 2019-02-15 23:56:09 +08:00
janekptacijarabaci 9ab20590c6 Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146
https://github.com/MoonchildProductions/Pale-Moon/pull/1400
2019-02-15 23:55:29 +08:00
janekptacijarabaci 5eca87831c Bug 1216885 - Make nsISelectionPrivate not inherit from nsISelection 2019-02-15 23:55:08 +08:00
janekptacijarabaci 1f262f0d2b moebius#90: CSS - implement text-justify property 2019-02-15 23:54:04 +08:00
janekptacijarabaci 5677db4b6e Bug 1264125: Fire transitioncancel event when a transition is canceled (added tests + style clean up)
Issue #55
2019-02-15 23:54:03 +08:00
janekptacijarabaci 2243f5248c Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (added tests)
Issue #55
2019-02-15 23:54:01 +08:00
janekptacijarabaci 901d2a277f moebius#89: DOM - implement animationcancel event
Issue #55
2019-02-15 23:54:00 +08:00
janekptacijarabaci c8ee9f4f48 Bug 1264125: Queue CSS related event when setting null target effect
Issue #55
2019-02-15 23:53:58 +08:00
janekptacijarabaci 96037b8c9a Bug 1264125: Call the queueing events when canceling transition via Style or Script
Issue #55
2019-02-15 23:53:56 +08:00
janekptacijarabaci ffa8225e06 Bug 1264125: Queue transitioncancel when animation status is idle
Issue #55
2019-02-15 23:53:55 +08:00
janekptacijarabaci e30e72ff31 Revert - Bug 1324985: Disable firing the transitionrun and transitionstart on Aurora 52
Issue #55
2019-02-15 23:53:53 +08:00
janekptacijarabaci 0c3ebf1a3b Bug 1202333: AnimationEvent elapsedTime should reflect playbackRate (without tests)
Issue #55
2019-02-15 23:53:50 +08:00
janekptacijarabaci 85692a1198 moebius#138: Optimize operations on root of deeply-nested frame tree
https://github.com/MoonchildProductions/moebius/pull/138
2019-02-15 23:50:20 +08:00
janekptacijarabaci 02f3024a9c Bug 1338053: Make nsFlexContainerFrame::MarkIntrinsicISizesDirty() also call its parent class's method 2019-02-15 23:50:19 +08:00
janekptacijarabaci 58302de58a Bug 1336708: Reftest 2019-02-15 23:50:16 +08:00
janekptacijarabaci 54d4d7e14a Bug 1336708: Don't reuse cached flex-item reflow measurements if the item's computed height has changed 2019-02-15 23:50:15 +08:00
janekptacijarabaci 95b1132e04 Bug 1209697: Cache flex measuring reflows to avoid exponential behavior 2019-02-15 23:50:13 +08:00
janekptacijarabaci b706df90da Bug 1209697: Clear ancestor intrinsic sizes when our block size changes 2019-02-15 23:50:12 +08:00
janekptacijarabaci a968f1d6c2 moebius#195: DOM - PointerEvent - improvements
https://github.com/MoonchildProductions/moebius/pull/195
2019-02-15 23:49:51 +08:00