Ryan VanderMeulen
683b08ae37
Merge m-c to inbound. a=merge
2015-05-28 10:20:38 -04:00
Ryan VanderMeulen
566bd6c5ac
Merge fx-team to m-c. a=merge
2015-05-28 10:08:37 -04:00
Mark Capella
74b3680d88
Bug 1168881 - Enabling AccessibleCarets crashes Firefox when trying to input text, r=tylin
2015-05-28 02:20:15 -04:00
Ting-Yu Lin
b9b5ab6f24
Bug 1161389 - Skip AccessibleCaret frame if nsDisplayListBuilder doesn't build caret. r=roc
...
When nsDisplayListBuilder doesn't build caret, we need to skip building
AccessibleCaret frames. We check that the content of the frame has
"moz-accessiblecaret" class.
2015-05-27 16:37:44 +08:00
Ting-Yu Lin
2a47a562fb
Bug 1161392 - Enlarge touch area for AccessibleCaret. r=roc
...
Porting the patch for Touch/SelectionCarets in bug 1021499 to
AccessibleCaret.
2015-05-27 16:37:28 +08:00
Michael Layzell
3fe7053458
Bug 1167588 - Mark Rule::mParentRule as MOZ_NON_OWNING_REF. r=dbaron
...
--HG--
extra : rebase_source : 511e42982b47f8516240cbb82d7fa2b21fb99e2e
2015-05-22 07:00:00 +02:00
Cameron McCormack
7c0c226f2c
Bug 1168299 - Break out style struct memory usage reporting from pres-shell. r=njn
2015-05-27 12:08:42 +10:00
Jonathan Watt
7f790e5e3c
Bug 1168664 - Stop mistakenly using the transform reference box's width to calculate the Z component in ProcessMatrix3D. r=mattwoodrow
2015-05-25 11:13:42 +01:00
Cameron McCormack
da76f68ddc
Bug 1167418 - Check fallible AppendElements call in FontFaceSet. r=poiru
2015-05-27 10:41:11 +10:00
Jonathan Watt
e4b2415d87
Bug 923193, part 5 - Tests for the 'transform-origin' and 'transform-box' properties in SVG. r=heycam
2015-05-24 22:53:16 +01:00
Jonathan Watt
13ebd5c893
Bug 923193, part 4 - Implement support for the 'transform-origin' property in SVG. r=heycam
2015-05-24 22:40:37 +01:00
Daniel Holbert
fc985d746e
Bug 1167782: Null-check pseudo element in nsHTMLCSSStyleSheet::RulesMatching(). r=dbaron
2015-05-26 16:44:52 -07:00
Wes Kocher
9bd0348fb3
Backed out changeset 93943a21b457 (bug 1148582) for android r6 orange CLOSED TREE
2015-05-26 16:12:17 -07:00
David Major
b0aca35272
Bug 1167189: Cleanup NS_RUNTIMEABORT("OOM") in layout/. r=dbaron
...
--HG--
extra : rebase_source : 6fab38c5b192978f0a7cbfe88f865d15b6065a42
2015-05-26 17:04:24 -04:00
David Anderson
ffaeec1f11
Follow-up fix to bug 1148582 part 3, r=tn.
...
--HG--
extra : rebase_source : 92989fa0b5207cdc435618365d60c31ddb223172
2015-05-26 14:13:03 -07:00
Jonathan Watt
594403a9a5
Bug 923193, part 3 - Add the style system code to support the 'transform-box' property. r=heycam
2015-05-15 22:43:25 +01:00
Botond Ballo
2e2a504271
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : source : 7468f9a3aa03520a29e138d4df431f0b5d90967c
2015-05-26 14:33:55 -04:00
Kyle Zentner
2e3823f252
Bug 1166728 - Remove box-sizing: padding-box, as per CSS WG. r=dholbert
...
--HG--
extra : rebase_source : 6103761cd36cbba2c8e048db2a0d6cd75cad2020
2015-05-27 09:57:00 -04:00
Matt Brubeck
f222d23c4e
Bug 1169088 - Remove unused nsBidiPresUtils methods. r=dbaron
...
These were used only in nsSVGGlyphFrame which was removed in bug 889736.
2015-05-27 19:06:33 -07:00
Tim Nguyen
93dcf227cd
Bug 1166867 - Support -moz-os-version: windows-win10. r=jimm
2015-05-21 12:16:00 +02:00
Andrew McCreight
aa913043f6
Bug 1157308 - part 1 - Reduce the leak threshold for content processes more. r=erahm
2015-05-27 07:53:00 +02:00
George Wright
654f3e7c40
Bug 1168212 - Ensure popups have a minimum width of their preferred size r=Enn
2015-06-02 13:39:30 -04:00
Carsten "Tomcat" Book
eb48a24ba6
Merge mozilla-central to fx-team
...
--HG--
extra : rebase_source : fbef0c13a05cfbe506f20d7fac84719a2e0e7396
2015-06-01 15:35:55 +02:00
Gijs Kruitbosch
b706b3cd3f
Bug 1169606 - fix OSX margin for label/description and fix test rounding so it doesn't go orange, r=dao
...
--HG--
extra : rebase_source : ee46d27fce8791f203f9fadcc8024c44a7285727
extra : amend_source : e3207dddd28abf6147e43f0d899371ea0c10060b
2015-05-29 18:27:57 +01:00
Carsten "Tomcat" Book
89f66bd6d0
Merge mozilla-central to mozilla-inbound
2015-06-02 13:13:15 +02:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Gérard Talbot
63671bb3d0
Bug 1079151 - Updated test files with corrected comments and references as needed. r=jfkthame
2015-06-02 11:55:18 +01:00
Ted Clancy
f21a8865d4
Bug 1067788 - Part 5: Fix for parts of test_bug496275.html. r=smontagu
2015-05-30 00:22:53 -04:00
Ted Clancy
be8a64fc3b
Bug 1067788 - Part 4: Update test_bug496275.html. Add setCaretBidiLevel method to Selection. r=smontagu r=ehsan
2015-05-22 00:37:16 -04:00
Ted Clancy
bc4f5395cc
Bug 1067788 - part 3: Fix timeouts in test_reftests_with_caret.html. r=ehsan
...
--HG--
extra : rebase_source : 069657ec018e913fc4c16506d6c7b7500b4978cf
2015-05-28 10:56:59 -04:00
Ted Clancy
20737c09c6
Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
...
--HG--
extra : rebase_source : e7800dac174b1bd155dc2630a410f55eadef0f6b
2015-06-01 15:19:57 -04:00
Ted Clancy
210b7857e8
Bug 1067788 - Part 2: Fixes to caret positioning in bidi text. r=smontagu
...
--HG--
extra : rebase_source : 7c6c8cc606bfdca24b34c906e799b0bdceb2a198
2015-05-28 08:05:25 -04:00
Kearwood (Kip) Gilbert
53ec24b23c
Bug 766345 - Part 4: Adjust reftests (v3 patch). r=vlad
...
- Added fuzzy to some reftests, to address sub-pixel AA and float precision
differences that resulted in non-perceptable pixel differences on edges.
2015-05-11 16:26:17 -07:00
David Anderson
eaf5e38092
Clip async scrollframes based on the displaylist clip, not the composition bounds. (bug 1148582 part 4, r=tn)
2015-05-26 12:40:41 -07:00
David Anderson
bb8d53f35f
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
David Anderson
3397ef3b2f
Don't clip in ComputeFrameMetrics if the scrollframe won't be layerized. (bug 1148582 part 2, r=tn)
2015-05-26 12:39:34 -07:00
David Anderson
e5acec7e56
Use Maybe to communicate the APZ scrollframe clip. (bug 1148582 part 1, r=mstange)
2015-05-26 12:39:29 -07:00
stefanh@inbox.com
540e84dadf
Bug 889085 - Make sheets styled with '-moz-appearance: dialog;' vibrant/semi-transparent. r=mstange, roc.
2015-05-26 19:55:08 +02:00
Jonathan Watt
ea060ca447
Bug 1168245 - Remove some code that appears to make no sense from nsDisplayTransform::GetDeltaToTransformOrigin. r=mattwoodrow
2015-05-13 13:22:15 +01:00
Jonathan Watt
02e440636a
Bug 1168242 - Simplify the logic in nsDisplayTransform::GetResultingTransformMatrixInternal. r=mattwoodrow
2015-05-12 11:26:37 +01:00
Morris Tseng
cfe882858c
Bug 1166969 - Video element in the video document shouldn't be selected. r=roc
2015-05-24 22:50:00 +02:00
Frédéric Wang
2d8a6ecf05
Bug 947654 - Use font.*.x-math font preferences for MathML. r=karl, r=heycam
...
This also rearranges the list of default fonts and changes the preferred font to Latin Modern Math on all platforms.
--HG--
extra : rebase_source : 806b5f8ffcf5305e55f67c60756c438987646fd5
2015-05-25 02:40:00 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
7ac2b84d0c
Bug 1165515 - Part 7: Convert PR_LOG_DEBUG + 1 to PR_LOG_VERBOSE. rs=froydnj
...
Used the command: |sed -E -i -e 's/PR_LOG_DEBUG\s*\+\s*1/PR_LOG_VERBOSE/g'|
2015-06-01 22:17:24 -07:00
Eric Rahm
28978ade8c
Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
...
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
141e0ff4a2
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Phil Ringnalda
4454c8f924
Back out 2 changesets (bug 817406) for b2g reftest-7 bustage
...
CLOSED TREE
Backed out changeset 1499a08f564a (bug 817406)
Backed out changeset d2f3cb3c0233 (bug 817406)
2015-05-27 19:11:54 -07:00
Mats Palmgren
01b2738cb8
Bug 817406 (part 2) - Tests for propagating 'direction' to the viewport.
2015-05-27 22:18:37 +00:00
Kang-Hao (Kenny) Lu
0cec7a05cb
Bug 817406 (part 1) - Let ApplyStyleFixups propogate 'direction' to the viewport. r=bz,heycam
2015-05-27 22:18:36 +00:00
Mats Palmgren
b6a478377d
Bug 997709 part 3 - tests.
2015-05-27 22:18:36 +00:00
Mats Palmgren
5a2a4f8f08
Bug 997709 part 2 - Prevent the nsComboboxDisplayFrame from being blockified if the parent context has display:flex/grid. r=heycam
2015-05-27 22:18:36 +00:00
Mats Palmgren
04a33bdbc3
Bug 997709 part 1 - nsComboboxDisplayFrame can't be split so its reflow status is always NS_FRAME_COMPLETE. r=heycam
2015-05-27 22:18:36 +00:00
Mats Palmgren
a57fd54cfb
Bug 1003441 - Check that the new frame is also a nsSubDocumentFrame (i.e. that Init has picked up the detached views). r=roc
2015-05-27 22:18:36 +00:00
Jeff Muizelaar
872cf9ce7c
Bug 1168950. Add the document to DoProcessRestyles profile label. r=dbaron
...
This is handy for figuring what's being restyled in profiles.
--HG--
extra : rebase_source : 526e5c58183415542cc3b726d5b96545c80926f3
2015-05-27 18:01:50 -04:00
Kartikaya Gupta
0b76e02507
Bug 1167712 - Allow the reftest analyzer to ignore timestamps from |mach reftest| at the start of the line. r=dbaron
2015-05-27 17:22:35 -04:00
Daniel Holbert
7c9227860d
Bug 1167696 part 2: Remove nsTableReflowState's frame constructor-arg; get it from passed-in reflow state instead. r=mats
2015-05-25 19:43:50 -07:00
Daniel Holbert
98a086029d
Bug 1167696 part 1: Remove nsTableReflowState's unused constructor & nsPresContext arg. r=mats
2015-05-25 19:43:10 -07:00
Phil Ringnalda
49dd872168
Back out 3 changesets (bug 1119980) for emulator-l bustage
...
CLOSED TREE
Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9934d127c1
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
...
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
George Wright
4e327f57b4
Bug 1119074 - If we're stopping event propagation from XUL popups, also stop them from crossing process boundaries r=smaug,felipe
2015-05-25 16:54:13 -04:00
Ryan VanderMeulen
cf9976434d
Backed out 4 changesets (bug 1155493) for Android test_browserElement_inproc_CopyPaste.html timeouts/crashes.
...
Backed out changeset 3bd7adb9f591 (bug 1155493)
Backed out changeset 0380b1684e6b (bug 1155493)
Backed out changeset 58b7c1eaf3c8 (bug 1155493)
Backed out changeset 896beb5088a7 (bug 1155493)
2015-05-25 13:15:06 -04:00
Morris Tseng
b538815b50
Bug 1155493 - Part 3: Dispatch event when carets are updated, pressed, released, tap, longpressonemptycontent, hidden. r=roc
...
--HG--
extra : source : ca51748d62b232c8312ff9d8decaf1a16aebf0a2
2015-05-13 20:10:00 -04:00
Morris Tseng
c1b8ea5c2d
Bug 1155493 - Part 1: Add CaretStateChangedEvent and corresponding utility function. r=roc, sr=smaug
...
--HG--
extra : source : 1e690405d3146521cb01cf4b44c92028049f237f
2015-05-19 20:59:00 -04:00
Nicholas Nethercote
01e0dbf44b
Bug 1166598 (part 6) - Clean up nsStaticCaseInsensitiveNameTable. r=froydnj.
...
This patch simplifies nsStaticCaseInsensitiveNameTable greatly by taking
advantage of the following observations.
- |new| is infallible, so |new nsStaticCaseInsensitiveNameTable()| calls don't
need their return value checked.
- nsStaticCaseInsensitiveNameTable::Init() checks if any of the added entries
differ only in case, so the callers of that function don't need to do the
same check.
- nsStaticCaseInsensitiveNameTable::Init() never returns false because
moz_xmalloc() is infallible. (Its callers never check the return value
anyway.) So it can be merged into the constructor. And
~nsStaticCaseInsensitiveNameTable() need not null-check |mNameArray|.
- PLDHashTable now has an initializing constructor and destructor, so these can
be used in nsStaticCaseInsensitiveNameTable, thus avoiding manual
PLD_HashTable{Init,Finish}() calls.
2015-05-05 21:13:53 -07:00
Nicholas Nethercote
51dc9c3dc9
Bug 1166598 (part 2) - Use PLDHashTable2 in SpanningCellSorter. r=froydnj,dbaron.
...
--HG--
extra : rebase_source : 2ca65083c218523b8f6dba043979f61358a79ca1
2015-05-05 16:11:43 -07:00
Timothy Nikkel
f3507bdc3b
Bug 1160642. Add reftest-async-zoom to apply an async zoom before taking snapshot. r=dbaron
2015-05-24 16:48:26 -04:00
Phil Ringnalda
83030f8fc0
Merge f-t to m-c, a=merge
2015-05-24 12:15:26 -07:00
Phil Ringnalda
8bb760c7b0
Merge m-c to m-i
2015-05-23 14:39:57 -07:00
Phil Ringnalda
d98af6849d
Merge f-t to m-c, a=merge
...
--HG--
rename : browser/devtools/performance/modules/io.js => browser/devtools/performance/modules/logic/io.js
2015-05-23 14:28:07 -07:00
Botond Ballo
3408d121ff
Bug 1164406 - Expose scrollbar-area deflation in nsLayoutUtils. r=kats
...
--HG--
extra : rebase_source : c5897e000fad53d44b4eb3f98f6bbbc4aba419a4
extra : source : 20612601aa1cc76667ac760e62479160076cf07a
2015-05-22 15:54:11 -04:00
Phil Ringnalda
d63c42b6f0
Back out 2 changesets (bug 1147766) for -Werror bustage
...
CLOSED TREE
Backed out changeset 10d6fcd9a4e0 (bug 1147766)
Backed out changeset 5754455de846 (bug 1147766)
2015-05-22 20:24:08 -07:00
Cameron McCormack
b338e51cf4
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
J. Ryan Stinnett
e1f26b0e50
Bug 1067325 - Control syntax highlighting via a class. r=hsivonen
2015-05-23 18:17:50 -05:00
Cameron McCormack
ff106a4844
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
Cameron McCormack
93417eae1e
Backed out changeset a6fa096f9853 and ec1c41143ff6 (bug 1147766) since I messed up the warning fix.
2015-05-23 15:51:14 +10:00
Cameron McCormack
343eb90c2c
Bug 1147766 - Part 2: Replace FixedStyleStructArray with mozilla::RangedArray. r=dbaron
2015-05-23 12:50:44 +10:00
Daniel Holbert
548da769cc
Bug 1167765: Misc whitespace cleanup in nsTableFrame.cpp. whitespace/rewrapping-only, no review, DONTBUILD
2015-05-22 14:23:44 -07:00
Ryan VanderMeulen
8556f54b04
Merge m-c to fx-team. a=merge
2015-05-22 14:21:30 -04:00
Kyle Zentner
d9185dba03
Bug 1164918 - Allow multiple '.' per cell in grid-template-areas. r=dholbert
2015-05-21 15:28:00 -04:00
Tom Tromey
13be65d0c5
Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug
...
--HG--
extra : rebase_source : dbd9e09496ca7c0e4f9798adf1f8f72749537d1a
2015-05-20 05:28:00 -04:00
J. Ryan Stinnett
7e69a4853c
Backed out changeset 2f9d54c153ed on CLOSED TREE (bug 1067325)
...
--HG--
extra : histedit_source : 15eb51ca71b07316c115671d0df75769f67bac81
2015-05-22 07:06:05 -05:00
J. Ryan Stinnett
8f89ab15ce
Bug 1067325 - Control syntax highlighting via a class. r=hsivonen
2015-05-22 05:16:24 -05:00
Carsten "Tomcat" Book
d71257a4ce
Merge mozilla-central to fx-team
2015-05-21 15:16:40 +02:00
dominique vincent
678e6dea01
Bug 1165128 - Enable zoomedview by default. r=mcomella
2015-05-15 22:20:12 +02:00
Neil Deakin
4818484538
Bug 250091, support page up and page down in menulists, r=neil
2015-05-20 13:11:06 -04:00
Kartikaya Gupta
b54dc47f24
Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
...
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta
46f8e7ceee
Bug 1163832 - Update the reftest harness to wait for APZ repaint flushes before finishing. r=dbaron
2015-05-22 06:42:09 -04:00
Kartikaya Gupta
86ed888daa
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-05-22 06:42:08 -04:00
Nicholas Nethercote
e90de3e5e0
Bug 1166586 (part 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
--HG--
extra : rebase_source : d8dc450f80ac23b8455141b471cc9ae823e1e384
2015-05-04 22:59:24 -07:00
Nicholas Nethercote
0fd018143a
Bug 1166586 (part 1) - Remove all uses of PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
...
They're not needed now that there is (temporarily) PLDHashTable2, which has an
initializing constructor and a destructor.
--HG--
extra : rebase_source : 78d3eeb326935ad7a19e3bdf9b2092eb2a4208a7
2015-05-04 22:59:24 -07:00
Neil Deakin
759d8c25e5
Bug 873923, add a method to allow popups to be anchored at a rectangle, r=tn,mark,khuey
2015-05-08 14:49:54 -04:00
Jonathan Kew
240749da44
Bug 1167145 - Check result of PrevInFlow() before trying to call a method on it. r=dbaron
2015-05-22 08:49:30 +01:00
Brian Birtles
85627bb281
Bug 1164813 - Make nsAnimationManager update cached in-effect status even when there is no frame; r=dbaron
2015-05-22 13:46:26 +09:00
Daniel Holbert
769c903ec3
Bug 1165667: Use reflow state's reference rendering context during flex layout, instead of creating a temporary one. r=mats
2015-05-21 18:35:16 -07:00
Nathan Froyd
db188ea282
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Wes Kocher
a6c4705f9a
Backed out changeset 0aaa67fc61e8 (bug 858680)
2015-05-21 16:44:42 -07:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Kan-Ru Chen
3e9e269e92
Bug 1154231 - Part 1. Use LRU to manage remote layers. r=mattwoodrow
2015-05-22 07:08:20 +08:00
Ben Turner
b553d50f23
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : 6797f2d4fdaabef4e5d3b83fbacc09984f447866
2015-04-30 13:46:51 -07:00
Daniel Holbert
1596e3c937
Bug 1167311: When we unprefix 'display:-webkit-box' on a whitelisted site, only set flag to unprefix '-moz-box' if we're parsing a series of declarations. r=dbaron
2015-05-22 12:47:01 -07:00
Ben Turner
805bc94273
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : d4ec5e860b885ab01e4e1c19e6aed057b78e5aaa
2015-04-30 13:46:51 -07:00
David Major
db2b1e973b
Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst
...
--HG--
extra : rebase_source : 880d1f717ad3d6789ffe3c422cc35fdf3965f55c
2015-05-22 14:16:20 -04:00
Birunthan Mohanathas
1c20df74c6
Bug 1166840 - Remove document argument from nsIClipboardHelper.copyString{,ToClipboard}. r=ehsan
2015-05-21 21:50:09 +01:00
Kyle Zentner
c02e8d6ecf
Bug 1164953 - Update CSS grid <line-names> to use brackets instead of parens. r=dholbert
...
--HG--
extra : rebase_source : 97b67ed32a193d376ac6bd7f652c98b8576293a7
2015-05-19 15:20:00 -04:00
Geoff Brown
dd20f0b9ae
Bug 1073761 - Increase timeout for test_value_storage; r=dholbert
2015-05-20 06:37:40 -06:00
Brian Birtles
480b79049d
Bug 1166164 part 7 - Call pause directly when creating an initially-paused animation; r=jwatt
...
Now that calling pause from the idle state resolves the current time, we don't
need to worry about calling play first when creating a CSS Animation.
--HG--
extra : rebase_source : d139f32cc655936e197414641d9769e2619d7ade
extra : histedit_source : 8094a211a264cb2b1dcaf6a760e1d6fb9fea4b2b
2015-05-19 15:07:59 +09:00
Brian Birtles
e293c228f5
Bug 1166164 part 6 - Make pausing from idle set the current time; r=jwatt, r=smaug
...
As proposed:
https://lists.w3.org/Archives/Public/public-fx/2015AprJun/0013.html (item g)
And agreed upon here:
https://lists.w3.org/Archives/Public/public-fx/2015AprJun/0031.html
--HG--
extra : rebase_source : baca2fa6b9ba94afb1bb3e072e33729774a34f19
extra : histedit_source : 8348f3e8029017dbe380e30dbfc2f66b201beaf0
2015-05-19 14:55:26 +09:00
Brian Birtles
f73f30be29
Bug 1166164 part 5 - Make play() throw when it should seek to the end of an infinite effect; r=jwatt, r=smaug
...
--HG--
extra : rebase_source : dade110e0d071727ed5bfdb694415ae7980f4467
extra : histedit_source : 1d87ee7db7fd0ec9670fff546e4654fa07bf4f31
2015-05-19 14:00:48 +09:00
Brian Birtles
87aaa8fc5f
Bug 1164330 - Rename time fraction to (iteration) progress; r=jwatt
...
--HG--
extra : rebase_source : ca36d4d5dab2d08d42c7daa1e6778cda1408f465
2015-05-13 13:57:35 +09:00
Xidorn Quan
64a7a40bf2
Bug 1159127 - Always redirect inserting col group frame to first-in-flow table frame. r=mats
...
--HG--
extra : source : 2f6fc7196b2bc0720035c3007bbafb63e2e974bd
2015-05-20 13:29:43 +12:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Ryan VanderMeulen
6a81108d23
Backed out changeset ce5f10e3c979 (bug 1164227) for B2G wordwrap-01.html timeouts.
...
CLOSED TREE
2015-05-19 15:15:10 -04:00
Gérard Talbot
aabfd6fd8b
Bug 1079151 - Tests for position:absolute in vertical writing modes; currently failing 72 out of 96 testcases. r=jfkthame
2015-05-19 18:02:47 +01:00
Jonathan Watt
18e66c80d4
Bug 1148418
- Follow-up to avoid unused variable warning. r=bustage CLOSED TREE
2015-05-10 17:35:26 +01:00
Jonathan Watt
e0258c20ba
Bug 1148418
- Make nsDisplayBackgroundColor::Paint use a higher precision floating point type to avoid scrolling artifacts. r=mattwoodrow
2015-05-10 17:14:14 +01:00
Markus Stange
e9a8ee958d
Bug 1164227 - Don't allow invalid region simplification to invalidate unchanged scrolled contents. r=roc
2015-05-13 17:50:45 -04:00
Carsten "Tomcat" Book
5757afbd2a
Merge mozilla-central to mozilla-inbound
2015-05-19 12:35:08 +02:00
Carsten "Tomcat" Book
3b641432c4
merge mozilla-inbound to mozilla-central a=merge
2015-05-19 11:58:45 +02:00
Robert Longson
a17309da18
Bug 1165750 - metadata tag should be allowed in clipPath. r=jwatt
2015-05-19 09:25:52 +01:00
Jordan Santell
79b0646b65
Bug 1164338 - Move styles markers to be generated in DoProcessRestyles rather than when the Flush_Style queue is flushed. r=smaug,heycam
2015-05-18 16:03:04 -07:00
Ryan VanderMeulen
21cd9a95ab
Bug 598900 - Tweak the fails-if logic to better encompass WinXP. a=me
...
CLOSED TREE
2015-05-18 16:49:54 -04:00
Ryan VanderMeulen
3840af94c6
Bug 598900 - Really mark lineheight-metrics-1.html as passing for Windows unaccelerated reftests.
...
CLOSED TREE
2015-05-18 13:52:11 -04:00
Ryan VanderMeulen
fd0628b341
Bug 598900 - Mark lineheight-metrics-1.html as passing for Windows unaccelerated reftests.
...
CLOSED TREE
2015-05-18 12:11:06 -04:00
Mason Chang
39a25a68b6
Backout bug 1155828 for talos + functional regressions. r=me
2015-05-18 08:30:41 -07:00
Birunthan Mohanathas
735ccdd101
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Ryan VanderMeulen
c5430a1183
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-05-18 16:51:01 -04:00
Jose' Rios
28d79da6d7
Bug 1142295 - Closing descriptor when GECKO_DISPLAY_REFLOW_RULES_FILE is setted. r=erahm
2015-05-14 17:07:00 -07:00
Jonathan Watt
6bb0aa738c
Bug 1165893 - Fix rounding issue in nsDisplaySelectionOverlay::Paint. r=mattwoodrow
2015-05-04 14:35:22 +01:00
Frédéric Wang
9b30baa95b
Bug 598900 - GDI: use typo metrics when USE_TYPO_METRICS is specified. r=karlt
2015-05-15 22:30:29 +02:00
Phil Ringnalda
f7950798e0
Back out 530555a2d6d4 (bug 1162064) for debug b2g emulator assertions and failure to thrive
...
CLOSED TREE
2015-05-17 22:42:05 -07:00
David Anderson
4b20fa6b94
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 23:11:44 -04:00
David Anderson
cadd78802e
Backout changeset e5d045d49b40 for bustage on an a=CLOSED TREE
2015-05-17 21:46:30 -04:00
David Anderson
502eb5d3ca
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-05-17 20:44:43 -04:00
Ted Clancy
d184ae355d
Bug 1163583 - Update SetPara with recent changes to ICU algorithm. r=smontagu
2015-05-13 13:11:57 -04:00
Kartikaya Gupta
c18b147cf7
Bug 1151617 - Add some basic reftests for async scrollbar positioning on B2G and Linux w/APZ. r=tn,botond
2015-05-16 09:11:04 -04:00
Jonathan Kew
cddb2c2354
Bug 1164852 patch 2 - Remove irrelevant position:relative from all the float-in-rtl-* testcases, too. rs=smontagu
2015-05-16 12:36:25 +01:00
Jonathan Kew
3ba85e992b
Bug 1164852 patch 1 - Rewrite reference files for float-in-rtl-* reftests to avoid the use of position:relative. r=smontagu
2015-05-16 12:36:22 +01:00
Ting-Yu Lin
053054ff69
Bug 1068525 - Ignore zoom level for AccessibleCaret. f=mtseng, r=roc
...
We want AccessibleCaret be of the same size regardless of the zoom
level. We simply divide the caret's width, height, margin-left, and the
text selection bar's margin-left by current zoom level.
The margin-left of the caret is adjusted from -23px to -23.5px for better
looking.
2015-05-16 00:05:00 +08:00
Ting-Yu Lin
445db4af9c
Bug 1164233 - Enlarge the timeout margin from 1.5x to 3x. r=mtseng
...
--HG--
extra : rebase_source : 5fbaee4e6daf501efa158b689441112ed25c0e3c
2015-05-13 19:36:00 +08:00
Phil Ringnalda
a5df436c2e
Backed out 2 changesets (bug 1154231) for M-oth crashes
...
CLOSED TREE
Backed out changeset 5e8145eff457 (bug 1154231)
Backed out changeset 951fb8ed6f25 (bug 1154231)
2015-05-15 20:29:15 -07:00
Nicholas Nethercote
eab9ff6d25
Back out all four patches from bug 1161377. r=me.
...
Due to Android startup regressions (bug 1163066) and plugin crashes (bug
1165155).
--HG--
extra : rebase_source : 380f79e67dff4c4eaa2614f286a4d0669666b652
2015-05-14 21:48:43 -07:00
Kan-Ru Chen
10fec84bca
Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow
2015-05-16 08:43:39 +08:00
Daniel Holbert
beb52571e8
Bug 1158290 part 6: Use new GET_[MAIN|CROSS]_COMPONENT_LOGICAL macros, to reduce explicit width/height usage. r=mats
2015-05-15 11:57:08 -07:00
Daniel Holbert
f3e246f4b3
Bug 1158290 part 5: Use logical coords & axes in methods that compute flex container's own main size & cross size. r=mats
2015-05-15 11:57:06 -07:00
Daniel Holbert
12bc60a2d9
Bug 1158290 part 4: Clarify documentation & naming of ClampFlexContainerMainSize (now called ResolveFlexContainerMainSize). r=mats
2015-05-15 11:57:05 -07:00
Carsten "Tomcat" Book
10055fbabd
merge mozilla-inbound to mozilla-central on a CLOSED TREE a=merge
...
--HG--
extra : amend_source : 5eed4d9cbde44ac4e53210d61ece005a83908ad7
2015-05-15 17:39:23 +02:00
Xidorn Quan
3116f3bf53
Bug 1157685 - Remove full-screen-api.content-only pref and its friends. r=smaug
...
--HG--
extra : source : 00be0263af62b29007d286d6d7dbac4ee4fdba01
2015-05-15 14:39:25 +12:00
Mark Capella
498dfe1a92
Bug 988143 - Enable Gecko Touch in Fennec, SelectionCarets mods, r=ehsan
...
* * *
Bug 988143 - Enable Gecko Touch in Fennec, Add new Mobile prefs, r=ehsan
2015-05-14 22:06:13 -04:00
Mark Capella
98116624f3
Bug 988143 - Enable Gecko Touch in Fennec, TouchCaret Scroll mods, r=ehsan
2015-05-14 22:06:13 -04:00
Mark Capella
e4e9a24311
Bug 988143 - Enable Gecko Touch in Fennec, TouchCaret mods, r=ehsan
...
* * *
Bug 988143 - Enable Gecko Touch in Fennec, TouchCaret mods, r=ehsan
2015-05-14 22:06:13 -04:00
Mark Capella
27ef7c7715
Bug 988143 - Enable Gecko Touch in Fennec, Android specific nsCaret mods, r=ehsan
2015-05-14 22:06:13 -04:00
Mark Capella
b470913851
Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan
2015-05-14 22:06:12 -04:00
Masayuki Nakano
99e7b621fa
Bug 1130935 part.11 Disable test_backspace_delete.xul due to bug 1163311 r=smontagu
2015-05-15 10:18:08 +09:00
Masayuki Nakano
ee32a82c8d
Bug 1130935 part.6 Selection change notification should have selection range and writing mode information r=smaug
2015-05-15 10:18:08 +09:00
Daniel Holbert
860520a96a
(no bug) fix some end-of-line whitespace in nsStyleStruct.h. DONTBUILD, testing CLOSED TREE hook
2015-05-14 10:05:32 -07:00
Eric Rahm
682623740c
Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Mason Chang
fdee839380
Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange
...
--HG--
extra : rebase_source : dd38b08f414d56be7bbcb70767f3a0b0ee4bd172
2015-05-13 15:19:27 -04:00
Markus Stange
a2f4070bfb
Bug 1152461 - Don't use tiled layers for overflow:hidden scroll frames. r=tn
...
--HG--
extra : rebase_source : 2aec6f7a4ee340dc9d039cd7ad226daa9b02883b
2015-05-08 14:10:00 -04:00
Kan-Ru Chen
76106add0a
Backout chanset 9c18f3e4d02a and e784bb7b9f21 because b2g emulator bustage
2015-05-14 15:59:17 +08:00
Kan-Ru Chen
44ded96cd0
Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow
2015-05-14 12:54:56 +08:00
Seth Fowler
c5b3231fc4
Bug 1163878 (Followup) - Fix a warning about implicit conversion of nullptr to bool in FrameLayerBuilder on a CLOSED TREE. r=me
...
--HG--
extra : amend_source : 0f707d08439edf2f1e8e229d4cec501964c12f65
2015-05-13 14:23:52 -07:00
Ehsan Akhgari
1a03395848
Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger
2015-05-13 14:31:58 -04:00
Robert Longson
cba9deedb9
Bug 1163875 - ensure opacity animation in patterns results in redraws r=jwatt
2015-05-13 15:38:04 +01:00
Ted Clancy
8e8b87b257
Bug 1161932 - Fix coverity warning in nsBidi.cpp. r=smontagu
2015-05-12 22:49:50 -04:00
Seth Fowler
bd70e1593e
Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn
2015-05-13 00:23:46 -07:00
John Daggett
341645c295
Bug 1056479 p11 - properly annotate mulet reftests. r=m_kato
2015-05-13 14:11:26 +09:00
John Daggett
e60fbe80e1
Bug 1056479 p5 - fixup printpreview test. r=jfkthame
2015-05-13 14:11:26 +09:00
John Daggett
0a76b17f6a
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-13 14:11:25 +09:00
John Daggett
07a0c560a7
Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
...
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.
Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-13 14:11:25 +09:00
Cameron McCormack
c888a98f5a
Bug 1162850 - Don't stop looking for style sheet load finishes after the FontFaceSet gets a DOMContentLoaded. r=jdaggett
2015-05-13 15:06:52 +10:00
Ting-Yu Lin
c973b378b0
Bug 1163490 - Remove SpecialPowers from marionette carets test. r=jgriffin
2015-05-11 02:17:00 +08:00
Ting-Yu Lin
a474ed128e
Bug 1163907 - Remove #ifdef PR_LOGGING in AccessibleCaretLogger
2015-05-11 23:05:00 +08:00
Lee Salzman
cb744a37d3
Bug 1159273 - Update gkmedias symbol defs to catch up with the Cairo/Pixman renames. r=jrmuizel
2015-05-13 11:59:55 +09:00
Cameron McCormack
bf9d92cf41
Bug 1163865 - Remove [Throws] from FontFaceSet.delete. r=smaug
2015-05-13 12:24:34 +10:00
Brian Birtles
3947001236
Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
...
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.
That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).
In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.
This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.
--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
Nicholas Nethercote
ba79e01ad2
Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
...
--HG--
extra : rebase_source : 990907701818b7da2b4e8955c419bb61130e266f
2015-05-12 17:33:26 -07:00
Daniel Holbert
cf76677b63
Bug 1158290 part 3: Convert GenerateFlexLines to use logical axes & sizes. r=mats
2015-05-12 13:34:25 -07:00
Daniel Holbert
44b034651d
Bug 1158290 part 2: Use logical (not physical) skipsides & borderpadding when chipping away from available BSize. r=mats
2015-05-12 13:34:23 -07:00
Daniel Holbert
f82cdd0c52
Bug 1158290 part 1: Use AvailableBSize instead of AvailableHeight, throughout flex layout. r=mats
...
This patch was auto-generated, with the following command:
sed -i "s/vailableHeight/vailableBSize/g" nsFlexContainerFrame.*
2015-05-12 13:34:22 -07:00
Chris Manchester
82719046b5
Bug 1161270 - Add source manifest to reftest manifest representation in moz.build.;r=gps,roc
2015-05-11 16:35:39 -07:00
Daniel Holbert
c238591c2f
Bug 1110039 followup: Add 'override' keyword to Name() decl in AccessibleCaretEventHub's macro NS_IMPL_STATE_UTILITIES. rs=ehsan
2015-05-12 10:00:10 -07:00
Ehsan Akhgari
d3ab4e755b
Bug 1163397 - Convert PaintedLayerData::mLog to an nsCString in order to make it possible to safely store PaintedLayerData inside nsTArrays; r=roc
2015-05-12 10:12:01 -04:00
Kartikaya Gupta
bdb998b9d4
Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow
2015-05-12 09:16:54 -04:00
Carsten "Tomcat" Book
f21bf9d148
Backed out changeset 1223b73d62dc (bug 1056479)
2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
11670ea513
Backed out changeset 194a4c39c2a9 (bug 1056479)
2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
a1b476a5fa
Backed out changeset 51287191cc06 (bug 1056479)
2015-05-12 12:20:53 +02:00
John Daggett
e59faa6ed9
merge
2015-05-12 17:53:28 +09:00
Simon Montagu
18696dcf45
Bug 1139306: Add a small amount of fuzz to a test on Android, r=tn
2015-05-12 01:50:18 -07:00
Timothy Nikkel
1a91fe572c
Bug 1139306. Adjust heights of scrollable area so scrollbar sizes almost match in reftests now that RTL scrollbars correctly show in these reftests. r=smontagu
2015-05-12 01:50:01 -07:00
Simon Montagu
fe1d4e7e0d
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07:00
John Daggett
27c91674de
Bug 1056479 p5 - fixup printpreview test. r=jfkthame
2015-05-12 17:44:26 +09:00
John Daggett
197c2170e0
Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame
2015-05-12 17:44:20 +09:00
John Daggett
da0662d19f
Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
...
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.
Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 17:44:16 +09:00
Morris Tseng
a832ce6127
Bug 1161662 - Exclude post scale from layer.GetTransform(). r=roc
...
--HG--
extra : rebase_source : 7c6d495d597adf9e74963bb2799dc28230d4c649
2015-05-07 01:18:00 +02:00
Ting-Yu Lin
462dcbab78
Bug 1110039 - Part 5 - Reuse marionette tests for AccessibleCaret. r=roc
...
AccessibleCaret should behave like TouchCaret and SelectionCarets. I
refactor the setUp() to support both the old and new preferences.
Rename test_selectioncarets_multiplerange.py to test_selectioncarets2.py
since it now contains more than just multirange tests.
_test_handle_tilt_when_carets_overlap_to_each_other() is modified
because AccessibleCaret does not inflate the caret hit rectangle as
TouchCaret/SelectionCarets did. The point for tilt caret edges need to
shrink a bit.
In test_touchcaret.py, instead of setting _large_expiration_time, I just
disable caret timeout by default for every test. For those timeout
tests, use one second timeout to reduce test running time, and allow
1.5x margin to prevent intermittent failures.
Refine test case that move touch caret to front by using the real
position at the front rather than (0, 0).
Use skip_if_not_rotatable decorator for better log message.
--HG--
rename : layout/base/tests/marionette/test_selectioncarets_multiplerange.py => layout/base/tests/marionette/test_selectioncarets2.py
2015-05-07 07:55:00 +02:00
Ting-Yu Lin
da5ef9e181
Bug 1110039 - Part 4 - Hook new classes into the system. r=roc
...
The necessary modifications are the same as SelectionCarets. For
convenience, Touch/SelectionCarets will be disabled whenever
AccessibleCaret preference is enabled.
2015-04-24 02:08:00 +02:00
Ting-Yu Lin
f7bd43c314
Bug 1110039 - Part 3 - Add gtest for AccessibleCaretEventHub. r=roc
2015-05-10 03:37:00 +02:00
Ting-Yu Lin
85ce5ba320
Bug 1110039 - Part 2.5 - Add all files to build system. r=roc
2015-04-24 02:05:00 +02:00
Ting-Yu Lin
30e280820a
Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc
...
See AccessibleCaretEventHub.h for the class description.
Both TouchCaret and SelectionCarets have their event handling mechanism,
which lead to a lot of code duplication. Now AccessibleCaretEventHub
serves as the single entry point for all events and callbacks.
We also encountered performance issues in SelectionCarets because many
unnecessary events might be dispatched to Gaia driven by the selection
changed events. SelectionCarets did not have clear internal states to
avoid this. To solve it, AccessibleCaretEventHub implements state
classes, and rely on the current states to call the CopyPasteManager's
handler only when it's needed.
For example, when dragging a caret, we do not interest in
NotifySelectionChanged() for updating the carets. Since we've known a
caret is being dragging, we can call UpdateCarets() directly. Hence
DragCaretState does not override OnSelectionChanged().
2015-05-03 23:37:00 +02:00
Ting-Yu Lin
506bc5b7fb
Bug 1110039 - Part 2.3 - Add AccessibleCaretManager. r=roc
...
See AccessibleCaretManager.h for the class description.
AccessibleCaretManager uses two AccessibleCarets to unify the
functionality provided by TouchCaret and SelectionCarets. It has
"cursor" mode and "selection" mode, which corresponds to TouchCaret and
SelectionCarets, respectively.
2015-04-30 00:59:00 +02:00