Commit Graph

61 Commits

Author SHA1 Message Date
janekptacijarabaci 8bba1c2e08 HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") - potential crashtests 2018-07-25 09:36:04 +08:00
janekptacijarabaci ce87aaec5b HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") - remove SummaryFrame 2018-07-25 09:35:57 +08:00
janekptacijarabaci f15e252832 HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") 2018-07-25 09:35:50 +08:00
janekptacijarabaci fdf28958d4 HTML - details/summary - localize the description of default summary 2018-07-25 09:35:43 +08:00
janekptacijarabaci b886223881 HTML - editor (improvements) - follow up 2018-07-25 09:35:36 +08:00
janekptacijarabaci 4b0ac49917 Revert "HTML - editor (improvements)" 2018-07-25 09:35:29 +08:00
Pale Moon e091171bcf Create block formatting context for DetailsFrame if needed. 2018-07-25 09:34:52 +08:00
janekptacijarabaci 4f618dfb6e HTML - editor (improvements) 2018-07-25 09:34:38 +08:00
janekptacijarabaci 6c455300dd CSS - box-decoration-break:clone on block overflow container makes it draw a border 2018-07-25 09:34:16 +08:00
janekptacijarabaci e0bb0e8e22 Broken selection system inside of a nested contenteditable element 2018-07-25 09:26:59 +08:00
janekptacijarabaci b6b5fd1c3e CSS - Block elements next to floats aren't wrapped to the next line with insufficient clearance 2018-07-25 09:24:27 +08:00
janekptacijarabaci 8d18cb5bc2 DOM - implement selection events (ensure that we don't dispatch the selectstart and selectionchange events...) 2018-07-25 07:52:29 +08:00
janekptacijarabaci ef6eee37a6 DOM - implement selection events (enable select events for chrome consumers) 2018-07-25 07:51:53 +08:00
janekptacijarabaci 6ba8f06d1a DOM - implement selection events (fire selectstart and selectionchange events on the input node when the selection in that editor changes) 2018-07-25 07:51:46 +08:00
janekptacijarabaci 87efb6b76a DOM - implement selection events (potentially crash) 2018-07-25 07:51:31 +08:00
janekptacijarabaci 0e268b29f2 DOM - implement selection events (rename mApplyUserSelectStyle) 2018-07-25 07:51:24 +08:00
janekptacijarabaci 7f8c9616d6 DOM - implement selection events (base) 2018-07-25 07:51:17 +08:00
JustOff 9fc8b7e346 Take into account rotation metadata when playing video in browser 2018-07-25 07:43:47 +08:00
janekptacijarabaci 0fd8fe7bf7 CSS - non-floated block formatting context only checks top edge for overlap (follow up) 2018-07-25 07:32:14 +08:00
janekptacijarabaci 67140448a6 CSS - non-floated block formatting context only checks top edge for overlap; margin-top collapses across cleared element 2018-07-25 07:31:52 +08:00
Pale Moon a17dc0d577 Hold a strong reference on the Selection while calling ScrollIntoView with SCROLL_DO_FLUSH. 2018-07-25 07:09:13 +08:00
Pale Moon 7648075df1 Invalidate the cached flow length when the next-in-flow/continuation changes. 2018-07-25 07:09:05 +08:00
Pale Moon 22f525fd68 Ensure expected focus handling when redirecting focus. 2018-07-25 07:09:03 +08:00
janekptacijarabaci 8af1bfea0e HTML - support for elements: <details> and <summary> (follow up) 2018-07-25 07:08:09 +08:00
janekptacijarabaci 89a31beafa Style clean up 2018-07-25 07:04:14 +08:00
janekptacijarabaci 3e466656b8 HTML - support for elements: <details> and <summary> (basic) 2018-07-25 07:04:13 +08:00
Pale Moon 2bbfd56db3 Make ClipEdges aware of vertical writing mode 2018-07-25 07:02:32 +08:00
Pale Moon a363ae3da8 Fix the rendering of text shadows in vertical writing mode. 2018-07-25 07:02:30 +08:00
Pale Moon 603f74cf1b Bug 1117227 fix header include. 2018-07-25 07:02:22 +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
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 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 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
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 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
Pale Moon 98c6d1dd7e Track source-string position of possible prefix. 2018-07-25 01:05:00 +08:00
wolfbeast 041ef0f9dd Reduce jank on inner frame scrolling reflows. 2018-07-25 00:55:09 +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
wolfbeast e82e01781f Follow-up to [6b643d3] (fold in Bug 1261230) 2018-07-24 23:17:08 +08:00
wolfbeast 3a5a1af616 Bug 1265577 2018-07-24 23:17:06 +08:00
trav90 aad61641fe Remove GCC-dehydra support 2018-07-24 23:12:25 +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