dom/events/ContentEventHandler.cpp
05d9746016f47666c00390aacc9f9d62c8ffffb4
created 2017-02-24 17:04 +0100
pushed 2017-02-25 15:06 +0000
Sylvestre Ledru Sylvestre Ledru - Move to 99 chars instead of 80 draft
cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
created 2017-02-24 09:55 +0100
pushed 2017-02-25 15:06 +0000
Sylvestre Ledru Sylvestre Ledru - indent all but js/ draft
db809c2b77a8b13d46e8615add12934629d36c1d
created 2017-01-05 15:31 +0800
pushed 2017-01-05 09:38 +0000
Cameron McCormack Cameron McCormack - Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r?bzbarsky draft
3bfc813cbb728f7ef992c18eac0e0c205269206b
created 2016-10-13 14:33 +0200
pushed 2016-10-13 16:57 +0000
Andrea Marchesini Andrea Marchesini - Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug
1b39dbc13a7c650cd73104ce7dd10c1724d1e764
created 2016-09-29 14:04 +0900
pushed 2016-09-29 05:17 +0000
Masayuki Nakano Masayuki Nakano - Bug 1304624 ContentEventHandler::GetFlatTextLengthInRange() shouldn't include a line break length caused by the end node's open tag when the given range ends before the open tag r?smaug draft
bc35607602dd7f248932861896b3974ef7c533ce
created 2016-09-23 22:00 +0900
pushed 2016-09-26 05:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1304624 ContentEventHandler::GetFlatTextLengthInRange() shouldn't include a line break length caused by the end node's open tag when the given range ends before the open tag r?smaug draft
f66d7dd20df3f092e39c4886c89885899044592e
created 2016-09-06 11:46 +0900
pushed 2016-09-06 14:34 +0000
Masayuki Nakano Masayuki Nakano - Bug 1296217 ContentEventHandler::OnQueryTextRectArray() should apply CSS transform to each character or line breaker rect r?smaug draft
0303775cdadce205fd50a639fbac19fed4e2e50c
created 2016-08-17 14:50 +0900
pushed 2016-08-17 06:15 +0000
Masayuki Nakano Masayuki Nakano - Bug 1295354 part.2 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't use empty text node as far as possible r?smaug draft
09409baaf4dd8d1c2a7ea0055c352830dbd09a38
created 2016-08-16 14:56 +0900
pushed 2016-08-16 11:18 +0000
Masayuki Nakano Masayuki Nakano - Bug 1295354 part.2 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't use empty text node as far as possible r?smaug draft
eb3f861ad6d65ae6edaa767c5713b769bf75acec
created 2016-08-16 14:37 +0900
pushed 2016-08-16 11:18 +0000
Masayuki Nakano Masayuki Nakano - Bug 1295354 part.1 ContentEventHandler::GetLastFrameInRangeForTextRect() shouldn't set nextNodeOfRangeEnd to the start node of aRange because the start node should always be in the range r?smaug draft
9055e92cba4781ca01a1abc2ddc10ee99698e62d
created 2016-08-12 14:57 +0900
pushed 2016-08-12 06:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r?smaug draft
27a831c09d55c2a6f75c50e16977306c06fe7963
created 2016-08-08 19:05 +0900
pushed 2016-08-12 06:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.18 ContentEventHandler::OnQueryTextRectArray() should compute line breaker's rect with the last character's node when the start of queried range is a line breaker and it's caused by a block frame r?smaug draft
6a560ccfb218d22959c537fc66300868c4b99a0a
created 2016-08-08 18:11 +0900
pushed 2016-08-12 06:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.17 ContentEventHandler::OnQueryTextRect() should compute a line breaker's rect from the last text frame if the queried range starts with a block frame r?smaug draft
efab9565c8fed755fbf253ee1d965fe9f2f20f52
created 2016-08-02 14:00 +0900
pushed 2016-08-12 06:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r=smaug draft
38dfe856f4ad7c91a3b14416525cdb23776382a0
created 2016-08-12 14:11 +0900
pushed 2016-08-12 06:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.15 Rewrite ContentEventHandler::OnQueryTextRect() with new utilities like ContentEventHandler::OnQueryTextRectArray() r?smaug draft
8933eff121033c1dabe26636665b645ef784e15a
created 2016-08-08 19:24 +0900
pushed 2016-08-08 17:02 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r?smaug draft
e64e23432720d57f215fa2395df105ffbf86c637
created 2016-08-08 19:05 +0900
pushed 2016-08-08 17:02 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.18 ContentEventHandler::OnQueryTextRectArray() should compute line breaker's rect with the last character's node when the start of queried range is a line breaker and it's caused by a block frame r?smaug draft
ddb8ca7ec5a0a37b74566cac8e2792367cf36cbc
created 2016-08-08 18:11 +0900
pushed 2016-08-08 17:02 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.17 ContentEventHandler::OnQueryTextRect() should compute a line breaker's rect from the last text frame if the queried range starts with a block frame r?smaug draft
c8d4b1353696fcaf790b29a304b54075d3cceb7c
created 2016-08-02 14:00 +0900
pushed 2016-08-08 17:02 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r=smaug draft
92a4cffaea214f022f4d1f8c1d061110a2d6f67a
created 2016-08-08 17:38 +0900
pushed 2016-08-08 17:02 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.15 Rewrite ContentEventHandler::OnQueryTextRect() with new utilities like ContentEventHandler::OnQueryTextRectArray() r?smaug draft
9bcaf76f310dc4e4f1e0b551ba2f62247eb4079b
created 2016-08-05 21:56 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r?smaug draft
6831ee2e6e5a79d94b0b9b0625c7af8fab0c1f7f
created 2016-08-05 20:51 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.18 ContentEventHandler::OnQueryTextRectArray() should compute line breaker's rect with the last character's node when the start of queried range is a line breaker and it's caused by a block frame r?smaug draft
6e40f378b4fe7432ebcbcf7be008a55955b5e812
created 2016-07-29 13:29 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.17 ContentEventHandler::OnQueryTextRect() should compute a line breaker's rect from the last text frame if the queried range starts with a block frame r?smaug draft
38b19a4575945910f03437a1cc04196618cbc996
created 2016-08-02 14:00 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r=smaug draft
ac35c4e72a9d5382bd62bca12cb3b03a21e7d489
created 2016-08-05 19:38 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.15 Rewrite ContentEventHandler::OnQueryTextRect() with new utilities like ContentEventHandler::OnQueryTextRectArray() r?smaug draft
a56dc06e84ba2fe3c77f362ad32829b8993a4e55
created 2016-08-05 16:51 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.14 When ContentEventHandler::OnQueryTextRectArray() reaches the end of query range, it should append caret rect at the end of the content r=smaug draft
d8f1bc79963a3a279901d099256232d3b0960027
created 2016-08-05 14:31 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.13 ContentEventHandler::OnQueryTextRectArray() should guess a line breaker's rect with previous character's rect if it's available r?smaug draft
68493cf1a3371a12d7bd76f689c2312580fef728
created 2016-07-21 17:45 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.12 ContentEventHandler::GetFirstFrameHavingFlatTextInRange() should return only frames whose content causes text r=smaug draft
299ef1efc64a34a2c19f9f92ddc58697148af318
created 2016-08-05 14:06 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.10 ContentEventHandler::OnQueryTextRectArray() should append same rects for following characters of a line breaker in nsTextFrame r?smaug draft
d0a6636d6e015542494c5cce177cf34f12057e45
created 2016-08-05 13:53 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.9 ContentEventHandler::OnQueryTextRectArray() shouldn't append same rect for following character of a lien breaker when the query range starts from middle of the line breaker r?smaug draft
637cf2f45d9cac814fc4fd1815202deeb99b5090
created 2016-08-05 13:36 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.8 ContentEventHandler::OnQueryTextRectArray() should handle line break before a node r=smaug draft
d265da01fb438b63a6ceaa975f0761b781d1205e
created 2016-07-25 23:19 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.7 ContentEventHandler::OnQueryTextRect() should redirect the query event to OnQueryCaretRect() if its query range is empty r=smaug draft
1e418d3cc75976abe0292aed403d6d334058b150
created 2016-07-29 00:37 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.6 ContentEventHandler::OnQueryCaretRect() should use eQueryTextRect event when it needs to guess the caret rect r=smaug draft
ceb52d383272e66d3ab3582f42614bcf72c72a67
created 2016-08-05 13:01 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.5 Create ContentEventHandler::EnsureNonEmptyRect() for query various rect event handlers r=smaug draft
b1916c01323eae139bcf1bf6bada9e2cc4520b03
created 2016-07-28 17:23 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.4 ContentEventHandler::SetRangeFromFlatTextOffset() should set end of the range to after a line break when the range is end between a set of native line breakers r=smaug draft
680294a42bb221a63933be4ab75b887b885c7384
created 2016-08-05 12:43 +0900
pushed 2016-08-05 15:41 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.3 Make static methods, AdjustTextRectNode() and GetFirstFrameInRange(), members of ContentEventHandler r?smaug draft
ac4f4aac060f4815193cf66096fba3aef8048bef
created 2016-07-30 00:03 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r?smaug draft
a5af7ae733c7f479f175026167c62463b6e1ce61
created 2016-07-29 20:50 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.18 ContentEventHandler::OnQueryTextRectArray() should compute line breaker's rect with the last character's node when the start of queried range is a line breaker and it's caused by a block frame r?smaug draft
bcc163bdb168fb84fbb5b246428edbefe75f60f0
created 2016-07-29 13:29 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.17 ContentEventHandler::OnQueryTextRect() should compute a line breaker's rect from the last text frame if the queried range starts with a block frame r?smaug draft
b3fae9b204424373262c6646b1a399549bc708fd
created 2016-08-02 14:00 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r?smaug draft
82e09154ddb859dd85e6b2ca87fba6b818d7dec0
created 2016-07-30 10:26 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.15 Rewrite ContentEventHandler::OnQueryTextRect() with new utilities like ContentEventHandler::OnQueryTextRectArray() r?smaug draft
b3e7b9d50d4022e180457e43f642370d3064edbe
created 2016-08-02 13:33 +0900
pushed 2016-08-02 05:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.14 When ContentEventHandler::OnQueryTextRectArray() reaches the end of query range, it should append caret rect at the end of the content r?smaug draft
e6b39b2641222604da89eac110fd1acf2b935cfd
created 2016-07-30 00:03 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.19 ContentEventHandler::OnQueryTextRect() should handle the case when queried range starts from the end of mRootContent r?smaug draft
c7ef92d5169557ff2fdb2edb897ee82729fe1b52
created 2016-07-29 20:50 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.18 ContentEventHandler::OnQueryTextRectArray() should compute line breaker's rect with the last character's node when the start of queried range is a line breaker and it's caused by a block frame r?smaug draft
43eb79cff14baebb79ef8bc02df57b544d876534
created 2016-07-29 13:29 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.17 ContentEventHandler::OnQueryTextRect() should compute a line breaker's rect from the last text frame if the queried range starts with a block frame r?smaug draft
f59ccfde8d4cad8d687a37ad30f300cfb378d235
created 2016-07-29 13:14 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.16 Rename ContentEventHandler::Get*FrameHavingFlatTextInRange() to ContentEventHandler::Get*FrameInRangeForTextRect() and make them treat a moz-<br> element as a normal <br> element because it doesn't cause text but needs to compute text rect in the last empty line r?smaug draft
7a94199b991caddd5ecc7fc34a080402404ac189
created 2016-07-30 10:26 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.15 Rewrite ContentEventHandler::OnQueryTextRect() with new utilities like ContentEventHandler::OnQueryTextRectArray() r?smaug draft
54298e0cd697aaaf4af7adf5d2b0d6f36c6b1f1b
created 2016-07-29 01:30 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.14 When ContentEventHandler::OnQueryTextRectArray() reaches the end of query range, it should append caret rect at the end of the content r?smaug draft
1c01cbbe22dc2efda137d50ea1f49d012d0d7d05
created 2016-07-30 00:18 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.13 ContentEventHandler::OnQueryTextRectArray() should guess a line breaker's rect with previous character's rect if it's available r?smaug draft
b124e0a1046d81af949f4842d4228dad6185ae24
created 2016-07-21 17:45 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.12 ContentEventHandler::GetFirstFrameHavingFlatTextInRange() should return only frames whose content causes text r?smaug draft
f29395f00fd95844559aa2daa18abc0a721baede
created 2016-07-21 15:04 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.10 ContentEventHandler::OnQueryTextRectArray() should append same rects for following characters of a line breaker in nsTextFrame r?smaug draft
21a607c803875c5542b60df51c808eb163d34654
created 2016-07-21 14:04 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.9 ContentEventHandler::OnQueryTextRectArray() shouldn't append same rect for following character of a lien breaker when the query range starts from middle of the line breaker r?smaug draft
6ae1d35b3752dee7f0df2e6d730036b73f548c7f
created 2016-07-29 20:02 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.8 ContentEventHandler::OnQueryTextRectArray() should handle line break before a node r?smaug draft
4797e3cfa760a91f43e4b6ef0e78a87d47edfc6c
created 2016-07-25 23:19 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.7 ContentEventHandler::OnQueryTextRect() should redirect the query event to OnQueryCaretRect() if its query range is empty r?smaug draft
3595636c873652ea1a253ae39196cf217ba58109
created 2016-07-29 00:37 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.6 ContentEventHandler::OnQueryCaretRect() should use eQueryTextRect event when it needs to guess the caret rect r?smaug draft
0a83d01eb94490306b159317a62982a716df4508
created 2016-07-29 23:19 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.5 Create ContentEventHandler::EnsureNonEmptyRect() for query various rect event handlers r?smaug draft
4cca84aea68c45ac21cc79588ad22defbeb80c71
created 2016-07-28 17:23 +0900
pushed 2016-08-01 08:00 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.4 ContentEventHandler::SetRangeFromFlatTextOffset() should set end of the range to after a line break when the range is end between a set of native line breakers r?smaug draft
43b65bd51170e6f1363d52a166f667b809c3772d
created 2016-07-22 18:04 +0900
pushed 2016-07-22 14:31 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.10 ContentEventHandler::OnQueryTextRectArray() should guess a line breaker's rect with previous character's rect if it's available r?smaug draft
79c0b7a2c8fc1cdb123509f487359a8a9888fc5d
created 2016-07-21 17:45 +0900
pushed 2016-07-22 14:31 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.9 ContentEventHandler::GetFirstFrameHavingFlatTextInRange() should return only frames whose content causes text r?smaug draft
a900707e185a5c7361a763ef151d6dc116c56780
created 2016-07-21 15:04 +0900
pushed 2016-07-22 14:31 +0000
Masayuki Nakano Masayuki Nakano - Bug 1286464 part.7 ContentEventHandler::OnQueryTextRectArray() should append same rects for following characters of a line breaker in nsTextFrame r?smaug draft
less more (0) -100 -60 tip