Commit Graph

79 Commits

Author SHA1 Message Date
Xidorn Quan e156f85e09 Bug 1117227 part 6 - Reftest for text-overflow on vertical text. 2018-07-25 07:02:20 +08:00
Xidorn Quan b8ea09a221 Bug 1117227 part 5 - Render ellipsis in correct orientation. 2018-07-25 07:02:18 +08:00
Xidorn Quan 07f4430218 Bug 1117227 part 4 - Make overflow mark baseline computation aware of writing-mode 2018-07-25 07:02:16 +08:00
Xidorn Quan 3c8d80395e Bug 1117227 part 3 - Make nsTextFrame::MeasureCharClippedText use frame isize instead of width. 2018-07-25 07:02:14 +08:00
Pale Moon d8d32e8ad2 Bug 1117227 part 2 - Convert TextOverflow to logical coordinate. 2018-07-25 07:02:12 +08:00
Xidorn Quan 2492bcbc79 Bug 1117227 part 1 - Add IntersectRect method to LogicalRect. 2018-07-25 07:02:10 +08:00
janekptacijarabaci 6266f6e4ba [Minor fix] The first letter - should behave according to specification 2018-07-25 06:59:57 +08:00
rhinoduck 361d6b8e76 Simplify libwebp usage in nsWEBPDecoder 2018-07-25 06:58:52 +08:00
Pale Moon 00c0512ccb Make DOM selection addRange spec-compliant, take 2.
Because of the platform structure, we have to provide a way to add ranges to
Selection objects that aren't associated with a shell/nsFrameSelection.
This commit extends the original implementation with workarounds to add
these ranges by reaching into the internal implementation for adding ranges
and calling those functions directly.
2018-07-25 06:58:28 +08:00
Pale Moon 27b63aa0cc Add a way to prevent having to cast selections.
TODO: Needs a follow-up to convert existing static_cast<Selection*>(aSelection) occurrences to AsSelection().
2018-07-25 06:58:25 +08:00
Pale Moon c8b597e077 Revert "Make DOM selection-addRange spec compliant."
This reverts commit 475aff8d8049abb9cc0caa32671d5fa60dc91472.
2018-07-25 06:57:39 +08:00
Pale Moon 1a574913b8 Improve event handling in font loading API 2018-07-25 06:57:27 +08:00
Pale Moon 790eca3498 Make DOM selection-addRange spec compliant. 2018-07-25 06:57:17 +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
Pale Moon de0fd58cf0 Use our existing function for removing a rule at a given index from a group rule. 2018-07-25 06:56:44 +08:00
trav90 3090135f8e Do static initialization explicitly 2018-07-25 06:55:27 +08:00
janekptacijarabaci 4cfc6638c7 Canvas (follow up) 2018-07-25 06:53:33 +08:00
janekptacijarabaci 04e24878ea Canvas: Added support for ellipse (+ fix a hang/crashes problem, check the canvas rects) 2018-07-25 06:53:27 +08:00
Pale Moon c273ac45d6 Optimize cached use of innerText. 2018-07-25 06:47:59 +08:00
Pale Moon 29b3acea0a Actually provide an implementation for GetRenderedtext() 2018-07-25 06:47:41 +08:00
trav90 02698fc2f0 Remove GStreamer code from the build system 2018-07-25 06:45:09 +08:00
trav90 7ae60742ff Nuke remaining GStreamer code 2018-07-25 06:45:07 +08:00
rhinoduck a34855657d Integrate jxrlib into the build system
New build flag MOZ_JXR: enables/disables JXR support (enabled by
default).
2018-07-25 06:44:45 +08:00
Pale Moon 98ad098827 Scope local presshell variable in less error-prone way. 2018-07-25 06:44:11 +08:00
janekptacijarabaci 7cf33c4329 CORS: A "data:" URL = the same-origin 2018-07-25 06:43:07 +08:00
janekptacijarabaci 6ecaecc0b3 Opening a URL in private mode window from cmd line (help - the columns alignment) 2018-07-25 06:42:47 +08:00
janekptacijarabaci 17f727d3e6 [windows] The XBL scope/principal vs. document.domain - throws an error 2018-07-25 06:35:41 +08:00
Pale Moon 08e58e7fbb Remove Windows Metro/WinRT code. 2018-07-25 06:25:01 +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
Pale Moon 3347d3a4a5 Check CSP for marquee event handlers. 2018-07-25 06:22:19 +08:00
Pale Moon 8fcef36616 Make sure that a block element following left float clears it when it can't fit next to it.
(2009 BMO bug)

This resolves #732
2018-07-25 06:20:31 +08:00
NTD e2858d0fc6 Do not fold gkmedias into libxul on Windows and add missing symbols 2018-07-25 01:18:06 +08:00
Pale Moon de71753964 Stop eroding html button padding and adjust for padding-box correctly for button content. 2018-07-25 01:07:22 +08:00
NTD 0f1ad67464 Issue #546 - Update Tycho to libvpx 1.4 - Part 2: Update the build system files 2018-07-25 01:07:00 +08:00
Pale Moon 8fe1bcfe93 Revert "Add media queries for Linux/BSD/OSX"
Backed out for Linux build bustage.

This reverts commit a8b3619405467c3f9e0c17f1a748b91c4c02244b.
2018-07-25 01:05:40 +08:00
Lootyhoof 60b8abe487 Add media queries for Linux/BSD/OSX 2018-07-25 01:05:35 +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
Pale Moon 98c6d1dd7e Track source-string position of possible prefix. 2018-07-25 01:05:00 +08:00
wolfbeast d763ec74de Import the rest of the file changes needed. 2018-07-25 00:55:29 +08:00
wolfbeast 041ef0f9dd Reduce jank on inner frame scrolling reflows. 2018-07-25 00:55:09 +08:00
adisib 3a303e67f6 replace calls to String.prototype.contains with String.prototype.includes 2018-07-24 23:36:07 +08:00
wolfbeast 02112270b5 Remove EME (Encrypted Media Extensions) DRM support.
This resolves #102.
2018-07-24 23:32:00 +08:00
wolfbeast ff530beca1 Stop propagation before other steps. 2018-07-24 23:31:38 +08:00
wolfbeast 9adc8aaaa2 Tighten sandboxed scripts Part 2.
Ignore marquee attribute event handlers when sandboxed scripts flag is set on its owning Document.
2018-07-24 23:31:11 +08:00
wolfbeast 9edf753d6b Allow icon fonts to coexist with user-preferred text fonts.
Honor serif/sans generics when replacing downloadable fonts with user-preferred fonts.
Fonts that don't have generics will be accepted as downloadable (icon fonts).
2018-07-24 23:30:53 +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 05b31d6db7 Re-implement background-repeat: space|round - Part 1: parser changes. 2018-07-24 23:30:31 +08:00
wolfbeast 71436ec92b Disable splitting of selections into ranges.
This avoid a large performance regression at the cost of making selections visually less accurate if sections are included with `-moz-user-select: none;`
2018-07-24 23:30:23 +08:00