Commit Graph

24 Commits

Author SHA1 Message Date
Andrea Marchesini
c7495030f8 Bug 1134280 - Get rid of Tag() - patch 2.10 - dom/events, dom/mathml, dom/plugins, dom/smil - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Jonathan Kew
1470a1e836 Bug 1076657 pt 2 - Add writing-mode to the reply to NS_QUERY_TEXT_RECT event. r=masayuki 2015-02-10 15:28:05 +00:00
Jonathan Kew
433c0a78b0 Bug 1076657 pt 1 - Fix ContentEventHandler::OnQueryTextRect for vertical textframes. r=smontagu 2015-02-10 15:28:05 +00:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
David Zbarsky
1af027bc89 Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Xidorn Quan
f306461cb9 Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
Jonathan Kew
d0f9e25a27 Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc 2014-11-22 14:39:03 +00:00
Masayuki Nakano
6468630611 Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) for avoiding the unnecessary QI r=smaug 2014-09-05 14:27:12 +09:00
Carsten "Tomcat" Book
66defb2079 Backed out changeset 53a069425e00 (bug 1061810) for XPCShell Test failures/crashes 2014-09-04 13:54:14 +02:00
Masayuki Nakano
7264756102 Bug 1061810 ContentEventHandler::SetRangeFromFlatTextOffset() should use nsRange::SetStart(nsINode*, int32_t) instead of nsRange::SetStart(nsIDOMNode*, int32_t) because the security check sometims fails and we can void the unnecessary QI r=smaug 2014-09-04 18:49:24 +09:00
Robert O'Callahan
ae6a16193a Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.

--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
922821fdc8 Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.

--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Masayuki Nakano
4d09805965 Bug 1043182 Removed and inserted text length which are notified by CharacterDataWillChange() and CharacterDataChanged() should be converted to the length with native new lines in IMEContentObserver r=smaug 2014-07-31 13:38:01 +09:00
Steven Michaud
b9f66f47e7 Bug 995603 - Ensure mouse-enter/exit events are sent to plugins as appropriate. r=mstange,masayuki 2014-04-30 11:55:40 -05:00
Masayuki Nakano
b621a3edf0 Bug 998188 part.3 Sort out offset/length variable names in ContentEventHandler r=smaug 2014-04-26 08:52:13 +09:00
Masayuki Nakano
2e098a58a9 Bug 998188 part.2 ContentEventHandler should support 2 modes, native line break mode and XP line break mode r=smaug 2014-04-26 08:52:12 +09:00
Masayuki Nakano
6de1b7019c Bug 998188 part.1 Add test for this crash on debug build r=ehsan 2014-04-26 08:52:12 +09:00
Jim Chen
7141817a89 Bug 932370 - Fix signed/unsigned comparison warning; r=bustage on a CLOSED TREE
--HG--
extra : amend_source : 67b412ef5447b5a554ab0f2e00b39db33accd04b
2014-03-11 12:24:03 -04:00
Jim Chen
36fdb38968 Bug 932370 - Properly measure offsets for deleted BR nodes; r=masayuki 2014-03-11 12:04:33 -04:00
Masayuki Nakano
ff293b45fd Bug 981226 Rename nsContentEventHandler to mozilla::ContentEventHandler (and clean up it) r=smaug
--HG--
rename : dom/events/nsContentEventHandler.cpp => dom/events/ContentEventHandler.cpp
rename : dom/events/nsContentEventHandler.h => dom/events/ContentEventHandler.h
2014-03-11 14:08:02 +09:00