Commit Graph

31 Commits

Author SHA1 Message Date
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