Commit Graph

6608 Commits

Author SHA1 Message Date
Benoit Girard
b157cafcb0 Bug 1027380 - Don't paint flash for inactive layer manager. r=mattwoodrow
--HG--
extra : rebase_source : 29238270960b22c3391c59e68d3cced748984650
2014-06-18 21:22:54 -04:00
Benoit Girard
f726ec785a Bug 1027433 - Reported throttled transaction to the profiler. r=mattwoodrow
--HG--
extra : rebase_source : 348571e878f4068247f8adfda284233b61b610b0
2014-06-18 21:21:39 -04:00
Benoit Jacob
69358080cf Bug 1027251 - Fix or whitelist dangerous public destructors in layout/ - r=dbaron 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
502b0ac364 Bug 1026768 - Pass the restyle hint through from ProcessOneRestyle to ComputeStyleChangeFor rather than converting it to a boolean and back. r=heycam
This was originally bug 996796 patch 6, but it's also needed bug 931668,
so I'm moving it into its own bug.
2014-06-18 17:07:26 -07:00
L. David Baron
c618b22345 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Susanna Bowen
4451470f2b Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-17 10:32:00 -04:00
Jonathan Watt
0324bd5749 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Ehsan Akhgari
baf1bebd32 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Simon Montagu
36dfc0d94f Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame 2014-06-17 05:19:38 -07:00
Susanna Bowen
556e2a7f1a Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats 2014-06-16 09:55:00 -04:00
Benoit Girard
2175dbff83 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Benoit Girard
8147665edf Bug 1024148 - Part 1: Merge nsDisplayOpacity items together. r=mattwoodrow
--HG--
extra : rebase_source : f461cb97357c854db22122b40777358a17f736ec
2014-06-12 11:34:35 -04:00
Wes Kocher
b29250a3a3 Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
de5185bcd2 Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-16 11:58:29 -07:00
Neil Deakin
ea26b1b89f Bug 994117, add method to check if an element has current animations, r=bbirtles 2014-06-16 14:43:04 -04:00
Ting-Yu Lin
79490d42f8 Bug 1024848 - part 2 - Enable selection carets sanity tests on Windows browser. r=mdas 2014-06-13 02:34:00 +02:00
Ting-Yu Lin
0a196bc8cb Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
Xidorn Quan
472c7c2172 Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame 2014-06-13 17:34:00 +02:00
Mats Palmgren
2398341e8a Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Mats Palmgren
270dc97973 Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
Chris Lord
43310b9b82 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Benoit Girard
ef93ef1973 Bug 1024742 - show will-change on the display list dump. r=mattwoodrow 2014-06-13 11:32:15 -04:00
Ting-Yu Lin
7a620dbe4c Bug 1020261 - Part 2: Enable touch caret sanity test on B2G. r=mdas 2014-06-12 23:02:00 -04:00
Ting-Yu Lin
b97f8e986a Bug 1020261 - Part 1: Fix touch event handling for touch caret. r=roc
For touch events generated by marionette, the touch id is not started
from 0. Therefore, instead of getting the event position of touch id 0
directly in HandleTouchDownEvent(), we should loop over all the touch
ids to get their positions.
2014-06-12 22:58:00 -04:00
Ryan VanderMeulen
2921c4798a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
b62be80252 Bug 1019441 - Skip test_selectioncarats on Windows. a=permafail 2014-06-12 16:05:58 -04:00
Ting-Yu Lin
f912c3b2a5 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
16c27c8766 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Jonathan Watt
e6f41c18a9 Bug 1016680, part 4 - Explicitly initialize members in nsFrameManagerBase's ctor rather than using memset. r=bz 2014-06-12 20:25:33 +01:00
Ryan VanderMeulen
1c3ae110f7 Merge m-c to inbound on a CLOSED TREE. 2014-06-12 14:56:35 -04:00
Ryan VanderMeulen
3ed2bbef13 Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
CLOSED TREE
2014-06-12 14:45:40 -04:00
Daniel Holbert
4820eab88b Bug 1024084: Clean up forward declarations and #includes in nsFrameManager.h and nsFrameManagerBase.h. r=jwatt 2014-06-12 10:09:31 -07:00
Susanna Bowen
995cc74fd1 Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron 2014-06-09 15:00:00 -04:00
Xidorn Quan
25d22122bf Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
837f68f5fc Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
482d688b23 Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
Wes Kocher
bcb140bc6f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
446d6e3518 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
02d217e9e4 backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
1fe4adc9cb Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
9f3f65a9bf Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Jonathan Watt
0b5ed58163 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Ting-Yu Lin
0c30fcf209 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Jonathan Watt
0193137a96 Bug 1016680, part 2 - Report the memory used by PresShell::mVisibleImages and PresShell::mFramesToDirty. r=dholbert
--HG--
extra : rebase_source : 0d348e97861917c67862271c4c4ee9f51b007255
2014-06-11 11:20:52 +01:00
Simon Montagu
7cc694ded9 Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats 2014-06-11 08:57:25 -07:00
Simon Montagu
ad53e2769d Back out wallpaper patch from bug 1007067 in favour of real fix from bug 1015128, r=mats 2014-06-11 08:57:24 -07:00
Wes Kocher
71d8b72158 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Geoff Brown
2bd4d26543 Bug 982915 - Use different expected assertion range for layout/base/crashtests/898913.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
Botond Ballo
c16d71e95b Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00