Commit Graph

42 Commits

Author SHA1 Message Date
janekptacijarabaci e0bb0e8e22 Broken selection system inside of a nested contenteditable element 2018-07-25 09:26:59 +08:00
janekptacijarabaci b907b19291 [UXP task] layout\base\nsLayoutUtils.cpp
WARNING: Image width or height is non-positive: file
[drive]:\[path]\layout\base\nsLayoutUtils.cpp, line 6045
https://bugzilla.mozilla.org/show_bug.cgi?id=1317464
2018-07-25 09:18:38 +08:00
Pale Moon b2dbcedc91 Check if we should exit high precision timer mode after all requestAnimationFrame callbacks have been processed.
This should make our rendering more efficient (instead of relying on the default timer which keep 1ms precision mode active for up to 90s).
- Lowers CPU usage
- Lowers power consumption
2018-07-25 09:03:36 +08:00
janekptacijarabaci ba4b91f0f3 JS - DOM - Don't allow onbeforeunload dialog unless I have interacted with the page 2018-07-25 08:05:16 +08:00
Pale Moon 5d95e1784d Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes. 2018-07-25 07:57:00 +08:00
janekptacijarabaci 6dc1b46bcb Mouse cursor only shows part of the dragged selection 2018-07-25 07:56:10 +08:00
janekptacijarabaci d2e60f631a GitHub - Total freeze when dragging selected text 2018-07-25 07:56:03 +08:00
janekptacijarabaci 0e268b29f2 DOM - implement selection events (rename mApplyUserSelectStyle) 2018-07-25 07:51:24 +08:00
Pale Moon d12741b04a Ensure ContentViewer listeners are handled only when needed. 2018-07-25 07:43:39 +08:00
janekptacijarabaci b89f31cabd HTML - picture - does not react to resize/viewport changes 2018-07-25 07:43:04 +08:00
Pale Moon 9e82c145d6 Do not run ScriptRunner in the intermediate state before destroying PreShell, PresContext, etc at nsDocumentViewer::Hide() is done.
Do not run ScriptRunners queued by DestroyPresShell() in the intermediate state
before we're done destroying PresShell, PresContext, ViewManager, etc.
2018-07-25 07:42:43 +08:00
Pale Moon 71721cb338 Crash fix in print preview on some sites.
This resolves #1106.
2018-07-25 07:24:09 +08:00
janekptacijarabaci 5794a27bda Canvas - CanvasRenderingContext2D.drawImage can throw 0x80040111 (NS_ERROR_NOT_AVAILABLE) 2018-07-25 07:24:03 +08:00
Pale Moon f3c9065a6b Follow-up for #452: rename pre-text string ID.
This allows language packs to remain fully backwards compatible.
2018-07-25 07:23:13 +08:00
Pale Moon 8d9a000034 Allow sites to provide custom dialog text to page-unload dialogs.
This is limited to 500 characters maximum.
Empty strings or strings considered too small (less than 8 characters) to be conveying a useful message will result in our default message being displayed, instead, like before.
This resolves #452.
2018-07-25 07:23:07 +08:00
janekptacijarabaci 1efd222e54 CSS: text-align: true -> text-align: unsafe; sizing problems with some form fields like <input type="number"> 2018-07-25 07:11:40 +08:00
janekptacijarabaci 8af1bfea0e HTML - support for elements: <details> and <summary> (follow up) 2018-07-25 07:08:09 +08:00
janekptacijarabaci 3e466656b8 HTML - support for elements: <details> and <summary> (basic) 2018-07-25 07:04:13 +08:00
Pale Moon 751d6bc6cb Prevent performance pitfalls for SMIL/CSS animations on display:none elements. 2018-07-25 07:03:07 +08:00
Pale Moon 2bbfd56db3 Make ClipEdges aware of vertical writing mode 2018-07-25 07:02:32 +08:00
Xidorn Quan b8ea09a221 Bug 1117227 part 5 - Render ellipsis in correct orientation. 2018-07-25 07:02:18 +08:00
Pale Moon bc3263045c Drain overflow lines before ResolveBidi.
Rationale (410857):
We should move the "DrainOverflowLines" block before "ResolveBidi" block
if we can - this way we would have a simpler frame tree to deal with
during bidi resolution and possibly create fewer frames in some cases.
2018-07-25 06:56:46 +08:00
janekptacijarabaci 4cfc6638c7 Canvas (follow up) 2018-07-25 06:53:33 +08:00
Pale Moon 98ad098827 Scope local presshell variable in less error-prone way. 2018-07-25 06:44:11 +08:00
janekptacijarabaci ae2ab59764 CSS: Percentage max-width does not seem to affect contributions to intrinsic min-width 2018-07-25 06:23:33 +08:00
Timothy Nikkel 07e51af3a8 Enforce the invariant that every display item class has a different display item type for nsDisplayFocusRing. 2018-07-25 01:05:26 +08:00
Pale Moon 9536d34884 Propagate the mParentFrame from the nested GetInsertionPrevSibling call -- it may be a continuation. 2018-07-25 01:05:23 +08:00
wolfbeast 02112270b5 Remove EME (Encrypted Media Extensions) DRM support.
This resolves #102.
2018-07-24 23:32:00 +08:00
wolfbeast d5ffc19ffb Bug 69787. Implement MouseEvent.offsetX/Y. 2018-07-24 23:30:39 +08:00
wolfbeast 6853f55da0 Re-implement background-repeat: space|round - Part 2: layout engine changes. 2018-07-24 23:30:33 +08:00
wolfbeast c733d281de Only refresh styles when they have actually changed.
Fixes perf regressions caused by BMO 960465
This resolves #98.
2018-07-24 23:30:12 +08:00
trav90 d7010086e9 Remove conditional SPS Profiler code 2018-07-24 23:15:28 +08:00
Xidorn Quan c6c394ea31 Revert to pass container size instead of only isize for bidi reordering. 2018-07-24 23:12:20 +08:00
wolfbeast bb170eb387 Reorder ruby frames based on their direction. 2018-07-24 23:12:18 +08:00
Xidorn Quan a94fc98c16 Make bidi reordering always in frame order. 2018-07-24 23:12:16 +08:00
Xidorn Quan 422c2035ae Adjust some parameters of functions in nsBidiPresUtils.
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
2018-07-24 23:12:15 +08:00
wolfbeast 525169b9ad Propagate root element's direction to the ICB (CSS 2.1 spec compliance) 2018-07-24 23:12:05 +08:00
wolfbeast b5034b0d83 CSS gradients: special-case transparent to be a transparent adjacent color, not "transparent black" 2018-07-24 23:11:18 +08:00
wolfbeast dedcf7c41e CSS gradients: stop using premultiplied RGBA 2018-07-24 23:11:16 +08:00
wolfbeast 53761b6336 Prep tree for forward-porting Goanna: stage 2 2018-07-24 23:11:02 +08:00
wolfbeast 5ee6187aad Prep tree for forward-porting Goanna, stage 1 2018-07-24 23:10:50 +08:00
Moonchild baf46a6bf1 Merge pull request #1 from mozilla/esr38: Esr38 upstream pull 2018-07-24 23:04:07 +08:00