Commit Graph

47180 Commits

Author SHA1 Message Date
Nathan Froyd
956d3c942b Bug 1196430 - part 6 - move cut-and-paste stack fixer code into mozrunner; r=wlach
This code is cut-and-pasted in several different places around the tree.
Let's put it in a common place.
2015-08-26 19:57:36 -04:00
Simon Sapin
bffbb2521e Bug 1202419 - Include Ahem.ttf in reftests submitted to W3C. r=dbaron 2015-09-09 14:34:58 +02:00
Lee Salzman
73216ad949 Bug 1201272 - add reftest for canvas shadows with destination-out op. r=jmuizelaar
--HG--
extra : rebase_source : 12cd30c3837dc69c16133b2cee0f131da65a19f5
2015-09-04 14:30:32 -04:00
Ting-Yu Lin
8d952a059e Bug 1200194 - Remove unneeded AccessibleCaretManager::OnScrolling(). r=roc
This functions is for hiding caret in cursor mode on desktop browser
when receiving NS_WHEEL_WHEEL, which is never used on B2G in production.

On desktop browser, a proper wheel scroll cycle begins by NS_WHEEL_START
and ends by NS_WHEEL_STOP, which was covered by gtest. Move the three
marionette test for TouchCaret only.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : b33ca79699cfffe33da1890aed10935fa7565e1c
2015-09-09 16:47:21 +08:00
Ting-Yu Lin
b9f7a85db6 Bug 1200194 - Add UpdateCaretsHint to guide appearance changing. r=roc
This is the patch which fixed the bug.

When calling OnScrollPositionChanged in cursor mode, we want the
appearance of the caret to be preserved since the caret might be hidden
due to timeout. We should respect the old appearance of the caret.

Add a marionette test to ensure the caret does not appear due to
ScrollPositionChanged.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : e69ce44e11e079dc79c8e69e7aa25003ca5d0398
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
d8ee309227 Bug 1200194 - Tweak formatting and debug logging. r=roc
No logic change is involved.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : 2dc984fe27992b95e51f9bc1c5af52fcafc57844
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
cf9ff442dd Bug 1200194 - Fix AccessibleCaret is out of scrollport in cursor mode. r=roc
The comment reads "No need to consider whether the caret's position is
out of scrollport", which is untrue.

For example, the position of nsCaret might be shifted by typing and be
covered by other elements. So we need to set the appearance of first
caret to NormalNotShown when it becomes invisible.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : c5990c1b544354b80295507e3d886eb7bd11ed15
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
4c1ccfafa3 Bug 1200194 - Expose nsCaret::GetFrameAndOffset for reuse. r=roc
This function can be reused by AccessibleCaret.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : ec6bb5f771f14d5b39c598c51bccced48909945d
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
3ae4454e2a Bug 1200194 - Make Appearance convertible to string representation. r=roc
--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : ebad97bf4ed57a5f532f94074c035ddb3dabaf47
2015-09-09 16:47:20 +08:00
Cameron McCormack
caf777f1cb Bug 1194856 - Load noscript.css and noframes.css from data: URLs in release builds. r=dbaron 2015-09-10 13:24:12 +10:00
Kartikaya Gupta
e45e2f99e5 Bug 1151102 - Add some diagnostic logging. r=snorp
--HG--
extra : commitid : HGgmg6anUOh
2015-09-09 23:22:19 -04:00
Kartikaya Gupta
8f2b8f8996 Bug 1202290 - Remove special-case condition for Fennec that is not needed any more. r=tn
The special-case was added back when the Fennec dynamic toolbar showing/hiding
behaviour didn't resize the content area. As of bug 1180295 that is no longer
the case, and showing/hiding the dynamic toolbar *does* resize the content area.
Therefore the widget bounds always represents the actual content area and can
be used directly as the composition bounds.

In addition, the special-case code relied on a particular quirk of the Fennec
CSS viewport determination code which was removed in bug 1180267. The quirk was
that the CSS viewport height was always set such that it would cover the
available screen height when the page was zoomed out to the minimum allowed
zoom. This behaviour was technically incorrect as it would ignore any height
properties provided in the meta-viewport tag. Now that this quirk has been
removed, the special-case code breaks because the root frame's height is
independent of the screen height and can result in an incorrect composition
bounds.

--HG--
extra : commitid : 69FDhj50WEN
2015-09-09 23:22:19 -04:00
Masayuki Nakano
e949683492 Bug 895274 part.160 Rename NS_AFTERPAINT to eAfterPaint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
e463292274 Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug 2015-09-10 10:40:05 +09:00
Jonathan Kew
4c8804048c Bug 1057680 - Reftest for use of font-stretch values in the font shorthand. r=jdaggett 2015-09-07 09:10:00 +01:00
Jonathan Kew
3129f0ce22 Bug 1057680 - Add support for font-stretch values in the font shorthand. r=jdaggett
* * *
Bug 1057680 - pt 1 - Add a font-stretch keyword to the valid values for the font shorthand in property_database.js. r=jdaggett
* * *
Bug 1057680 - pt 2.1 - Fix up existing tests that depend on the shorthand not handling font-stretch values. r=jdaggett
2015-09-07 09:09:48 +01:00
Tom Tromey
4b0d6f34f9 Bug 1195978 - set line number when re-parsing sheet. r=heycam 2015-09-04 08:12:00 +02:00
Mats Palmgren
0ce5dacf61 Bug 1151212 - [css-grid] Tests for <flex> min-sizing. 2015-09-04 22:06:58 +02:00
Mats Palmgren
6c2c451fbe Bug 1176621 part 2 - [css-grid] Tests for flex track sizing. 2015-09-04 22:06:58 +02:00
Mats Palmgren
f85e46fd5d Bug 1151212 part 4 - [css-grid] Tests for intrinsic track sizing and intrinsic grid container sizing (bug 1174574). 2015-09-04 22:06:58 +02:00
Mats Palmgren
0c1cb50609 [css-grid] Use a smaller font-size to make sure the rendering fits within the reftest snapshot area. (minor test changes only, no bug, r=me) 2015-09-04 22:06:58 +02:00
Mats Palmgren
29efca660f Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
ea9f6fea4c Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
d799b25f16 Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
d9b3096fbb Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
d24fdc22fa Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
08a8ff8de4 Bug 1151212 part 3 - [css-grid] Implement the "Resolve Intrinsic Track Sizes" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
73b1279e0e Bug 1174553 part 3 - [css-grid] Implement the 'min-content' / 'max-content' sizing functions in layout. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
685fccb096 Bug 1174553 part 2 - Move the AddPercents function into a static method in the nsLayoutUtils class. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
44d4f3b05b Bug 1174553 part 1 - Add a new flag (BAIL_IF_REFLOW_NEEDED) for IntrinsicForWM() that makes it return early with a NS_INTRINSIC_WIDTH_UNKNOWN result if a reflow is needed to determine the child's correct BSize. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
891bf53892 Bug 1174546 part 2 - [css-grid] Implement the 'auto' min-sizing function in Grid layout. r=jfkthame 2015-09-04 22:06:57 +02:00
Mats Palmgren
04c2ee449f Bug 1151212 part 2 - [css-grid] Introduce a local GridItemInfo struct for holding a grid item's GridArea and other things. Put two nsTArrays of those in the grid container frame, one for normal flow items and one for abs.pos. grid-aligned descendants. Add a GridItemIndex method on the grid item iterator to return the index for the current item. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
1c16c0bb7e Bug 1151212 part 1 - [css-grid] Introduce a few local structs (GridReflowState, Tracks, TrackSizingFunctions) to make it easier to pass around data. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
bbb026b9f4 Bug 1174546 part 1 - Introduce nsLayoutUtils::MinSizeContributionForAxis which calculates an intrinsic size contribution from aFrame's 'min-width' property (or 'min-height' if the given axis is vertical) and the corresponding border, padding and margin values. r=jfkthame 2015-09-04 22:06:57 +02:00
David Anderson
99013f5fcf Hoist scroll info items above inactive blur containers. (bug 1193557 part 1, r=mstange) 2015-09-04 17:17:50 -07:00
Wes Kocher
99c36f1e96 Backed out changeset 24cd0974b365 (bug 1174546) for reftest bustage 2015-09-04 16:23:01 -07:00
Wes Kocher
926789d3e4 Backed out changeset 96fd29a6c902 (bug 1151212) 2015-09-04 16:22:51 -07:00
Wes Kocher
ff11b9b9a6 Backed out changeset 1194452bc071 (bug 1151212) 2015-09-04 16:22:50 -07:00
Wes Kocher
41e53d4c8a Backed out changeset f7ccd13584ad (bug 1174546) 2015-09-04 16:22:48 -07:00
Wes Kocher
95b85d4c58 Backed out changeset 25537ff71d2b (bug 1174553) 2015-09-04 16:22:40 -07:00
Wes Kocher
ad2d2381f0 Backed out changeset eea3ecbb5983 (bug 1174553) 2015-09-04 16:22:38 -07:00
Wes Kocher
360e4196e2 Backed out changeset 4a0c4ece75db (bug 1174553) 2015-09-04 16:22:36 -07:00
Wes Kocher
e7e63d003f Backed out changeset ada43c8af8ca (bug 1151212) 2015-09-04 16:22:34 -07:00
Wes Kocher
9f58317c65 Backed out changeset 19b5e154c6f9 (bug 1176619) 2015-09-04 16:22:33 -07:00
Wes Kocher
f9f8218c5f Backed out changeset 6bbbffdbda5b (bug 1176621) 2015-09-04 16:22:31 -07:00
Wes Kocher
9442d1aa62 Backed out changeset 16cf05b1664c (bug 1174574) 2015-09-04 16:22:30 -07:00
Wes Kocher
a93ac43a7e Backed out changeset fd3a53075e54 (bug 1174574) 2015-09-04 16:22:28 -07:00
Wes Kocher
d12dfe74c5 Backed out changeset 332af3c9e366 (bug 1174553) 2015-09-04 16:22:27 -07:00
Wes Kocher
bb03e73e8a Backed out changeset 69151dcea007 2015-09-04 16:22:25 -07:00
Wes Kocher
7ac952b187 Backed out changeset d5260ff7a146 (bug 1151212) 2015-09-04 16:22:24 -07:00
Wes Kocher
8736a3d04e Backed out changeset 89affe972ce3 (bug 1176621) 2015-09-04 16:22:22 -07:00
Wes Kocher
fba57f7b46 Backed out changeset ec2be5367116 (bug 1151212) 2015-09-04 16:22:21 -07:00
Wes Kocher
85ea8cdaff Merge m-c to inbound, a=merge 2015-09-04 15:41:19 -07:00
Wes Kocher
a5709b4620 Merge inbound to central, a=merge 2015-09-04 15:34:42 -07:00
Sebastian Hengst
1eb50ce368 Backed out 4 changesets (bug 571294, bug 1196479) for W(2) failure on Linux 64 opt. r=backout on a CLOSED TREE
TEST-UNEXPECTED-FAIL | /eventsource/eventsource-close.htm | EventSource: close(), test events - assert_unreached: Dunno what to do with message number 3 Reached unreachable code

Backed out changeset e2612be99d7d (bug 571294)
Backed out changeset 9aea0c4a0822 (bug 1196479)
Backed out changeset 196e98128c58 (bug 571294)
Backed out changeset 1d662c2552bd (bug 571294)
2015-09-04 20:29:48 +02:00
Michael Layzell
931d0d32a7 Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan 2015-09-04 12:35:49 -04:00
Michael Layzell
7ab1c57716 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-04 12:35:46 -04:00
Carsten "Tomcat" Book
ba11394eac Merge mozilla-central to fx-team 2015-09-04 16:25:40 +02:00
Carsten "Tomcat" Book
57bd4d9f0d merge mozilla-inbound to mozilla-central a=merge 2015-09-04 16:05:11 +02:00
Cameron McCormack
9c2b79104e Bug 1192302 - Part 2: Traverse the frame tree when processing eRestyle_SomeDescendants. r=bzbarsky 2015-09-04 10:00:14 +10:00
Cameron McCormack
5a7fd0fade Bug 1192302 - Part 1: Make MustCheckUndisplayedContent take its frame as an argument. r=bzbarsky 2015-09-04 10:00:14 +10:00
Wes Kocher
1478c7cff8 Merge m-c to b2ginbound, a=merge 2015-09-03 14:11:39 -07:00
Wes Kocher
be7cf69c3c Merge inbound to central, a=merge 2015-09-03 12:20:40 -07:00
Wes Kocher
53368e989a Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)

--HG--
rename : layout/style/test/chrome/test_moz_document_matching.html => layout/style/test/chrome/test_moz_document_rules.html
rename : layout/style/test/chrome/test_moz_document_nesting.html => layout/style/test/test_bug511909.html
rename : layout/style/test/chrome/test_moz_document_serialization.html => layout/style/test/test_rule_serialization.html
2015-09-03 11:41:39 -07:00
Carsten "Tomcat" Book
494d8996ce Backed out changeset b317ee483a64 (bug 1107372) for causing test failures in test_home_provider.html 2015-09-03 17:02:20 +02:00
Kartikaya Gupta
7dcd93cf22 Bug 1197824 - Remove the mAllowDoubleTapZoom field from nsViewportInfo as it is not needed. r=botond
--HG--
extra : commitid : I8h1z9d5809
2015-09-03 10:30:41 -04:00
Kartikaya Gupta
ffff568fff Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.

--HG--
extra : commitid : MWjCDpGJkH
2015-09-03 10:30:41 -04:00
Kartikaya Gupta
bd15a1287b Bug 1197824 - Constrain the min/max zoom if zooming is not allowed. r=botond
In the C++ APZ implementation this has no effect, because the min/max zoom values
are never even read if zooming is not allowed. When this is hooked up to the
Java implementation though, the code expects the min/max zoom values to be
equal to the default zoom values in the case where zooming is not allowed. This
behaviour change therefore facilitates hooking up the ZoomConstraintsClient
to the Java pan/zoom controller implementation, which happens in a future patch.

--HG--
extra : commitid : BYbR5yWXpjc
2015-09-03 10:30:40 -04:00
Pavel Ivanov
56e9fde7fd Bug 1194407 - Update the emoji reftest expectations now that B2G has proper support for them. r=RyanVM 2015-09-03 06:13:00 -04:00
Carsten "Tomcat" Book
3961c96b63 Merge mozilla-central to mozilla-inbound 2015-09-04 16:14:00 +02:00
Tom Tromey
71a0434d49 Bug 1201136 - treat "currentColor" as a valid color. r=heycam 2015-09-02 11:53:00 +02:00
Gian-Carlo Pascutto
4a5c572289 Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-09-03 15:36:06 +02:00
Geoff Brown
b0e201cce7 Bug 1196814 - Fail Android mochitest, robocop, reftests when Fennec is not installed; r=jmaher 2015-09-02 14:20:01 -06:00
Botond Ballo
39a631813d Bug 1200158 - Avoid expensive computations involving the maybe-hit region in hot code paths. r=mstange
--HG--
extra : source : 29aadb4e6ccf820fc2289db46f5e1671f4f74f3e
2015-08-31 19:53:34 -04:00
Botond Ballo
b2856971b2 Bug 1200158 - Define PaintedLayerData::AccumulateEventRegions() out of line. r=mstange
--HG--
extra : source : aee33a58cf9ad30d9723b33582748af2690a4050
2015-08-31 19:59:22 -04:00
Zack Weinberg
7912db5bd1 Bug 1035091 part 2: disable @-moz-document in author sheets. r=heycam
--HG--
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/moz_document_condition_text.css
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/moz_document_serialization.css
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/test_moz_document_condition_text.html
rename : layout/style/test/chrome/test_moz_document_rules.html => layout/style/test/chrome/test_moz_document_matching.html
rename : layout/style/test/test_bug511909.html => layout/style/test/chrome/test_moz_document_nesting.html
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/test_moz_document_serialization.html
extra : rebase_source : 9d97f4cfe5e5e3bbda1d1b7910db44faf33d14c1
2015-09-02 13:54:30 -04:00
Zack Weinberg
a48ac7cfae Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam
--HG--
extra : rebase_source : 2d860f8493e328dec364a00282fcf1257a1c4d23
2015-09-02 13:52:49 -04:00
Botond Ballo
9ae3f98fd5 Bug 1201548 - When testing whether the visible rect intersects event regions in FindPaintedLayerFor(), only use the bounds of the event regions. r=mstange
This is done for performance reasons, as the event regions can be complex.

--HG--
extra : rebase_source : 864ff7cf6f7286271c8f32b50b2166feefecc011
extra : source : 0de9f9d0f8c1dd915e0b04225450ad09552a139e
2015-09-04 12:14:28 -04:00
Mats Palmgren
eefc337d5d Bug 1151212 - [css-grid] Tests for <flex> min-sizing. 2015-09-04 22:06:58 +02:00
Mats Palmgren
df5f5a26fb Bug 1176621 part 2 - [css-grid] Tests for flex track sizing. 2015-09-04 22:06:58 +02:00
Mats Palmgren
73a8639f78 Bug 1151212 part 4 - [css-grid] Tests for intrinsic track sizing and intrinsic grid container sizing (bug 1174574). 2015-09-04 22:06:58 +02:00
Mats Palmgren
aa1a5f5be1 [css-grid] Use a smaller font-size to make sure the rendering fits within the reftest snapshot area. (minor test changes only, no bug, r=me) 2015-09-04 22:06:58 +02:00
Mats Palmgren
3be8c0c8f4 Bug 1174553 part 5 - [css-grid] Replace the ambiguous Dimension with LogicalAxis. r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
4b66bd9d6c Bug 1174574 part 2 - [css-grid] Implement intrinsic sizing for grid containers (aka GetMinISize/GetPrefISize). r=dholbert 2015-09-04 22:06:58 +02:00
Mats Palmgren
f91e1d63d8 Bug 1174574 part 1 - [css-grid] Move the guts of nsGridContainerFrame::CalculateTrackSizes into a Tracks method. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
60bf6b5654 Bug 1176621 - [css-grid] Implement "Stretch Flexible Tracks" and associated algorithms. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
bda8d77ccc Bug 1176619 - [css-grid] Implement the "Maximize Tracks" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
875298f740 Bug 1151212 part 3 - [css-grid] Implement the "Resolve Intrinsic Track Sizes" algorithm. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
548b396dbb Bug 1174553 part 3 - [css-grid] Implement the 'min-content' / 'max-content' sizing functions in layout. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
c80456a8fb Bug 1174553 part 2 - Move the AddPercents function into a static method in the nsLayoutUtils class. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
2df2316058 Bug 1174553 part 1 - Add a new flag (BAIL_IF_REFLOW_NEEDED) for IntrinsicForWM() that makes it return early with a NS_INTRINSIC_WIDTH_UNKNOWN result if a reflow is needed to determine the child's correct BSize. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
e1f94ea6c0 Bug 1174546 part 2 - [css-grid] Implement the 'auto' min-sizing function in Grid layout. r=jfkthame 2015-09-04 22:06:57 +02:00
Mats Palmgren
e4748155d5 Bug 1151212 part 2 - [css-grid] Introduce a local GridItemInfo struct for holding a grid item's GridArea and other things. Put two nsTArrays of those in the grid container frame, one for normal flow items and one for abs.pos. grid-aligned descendants. Add a GridItemIndex method on the grid item iterator to return the index for the current item. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
9ee23e16a2 Bug 1151212 part 1 - [css-grid] Introduce a few local structs (GridReflowState, Tracks, TrackSizingFunctions) to make it easier to pass around data. r=dholbert 2015-09-04 22:06:57 +02:00
Mats Palmgren
ebc2ad4495 Bug 1174546 part 1 - Introduce nsLayoutUtils::MinSizeContributionForAxis which calculates an intrinsic size contribution from aFrame's 'min-width' property (or 'min-height' if the given axis is vertical) and the corresponding border, padding and margin values. r=jfkthame 2015-09-04 22:06:57 +02:00
Masayuki Nakano
3394edcb4a Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
a07c726a8f Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Masayuki Nakano
e1d00d44c8 Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
6421cfec57 Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
b102d7ecce Bug 895274 part.57 Rename NS_LOAD_ERROR to eLoadError r=smaug 2015-09-02 15:07:59 +09:00
Nigel Babu
4fbb4e903e Backed out changeset 1f22cefbef23 (bug 1092125) for M3 bustage on CLOSED TREE 2015-09-02 11:34:47 +05:30
Nigel Babu
f17680c0bd Backed out changeset 4a68226609c8 (bug 1092125) for M3 bustage on CLOSED TREE 2015-09-02 11:34:34 +05:30
Tom Tromey
7fd213b165 Bug 1197930 - Add comments for getRuleLine and getRuleColumn. r=heycam
IGNORE IDL
2015-08-24 11:43:00 -04:00
Arthur Edelstein
2fd8996148 Bug 1193593 - Test fingerprinting resistance for media queries in picture elements. r=heycam
Based on Tor Browser #16315
https://trac.torproject.org/projects/tor/ticket/16315
2015-09-01 08:51:00 -04:00
Tom Klein
051b2f9483 Bug 1092125 - Part 2: Add non-scaling-stroke support to SVGLineElement::GetGeometryBounds. r=jwatt 2015-08-19 14:48:00 -04:00
Tom Klein
033cb8c72b Bug 1092125 - Part 1: Add non-scaling-stroke support to nsSVGPathGeometryElement::GetGeometryBounds (except line). r=jwatt 2015-09-01 06:17:00 -04:00
Masayuki Nakano
570f51e31c Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano
aeb3dbedf5 Bug 895274 part.89 Rename NS_XUL_POPUP_HIDING to eXULPopupHiding r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano
56f538bc5a Bug 895274 part.88 Rename NS_XUL_POPUP_SHOWN to eXULPopupShown r=smaug 2015-09-04 19:54:11 +09:00
Masayuki Nakano
930dfd9c08 Bug 895274 part.87 Rename NS_XUL_POPUP_SHOWING to eXULPopupShowing r=smaug 2015-09-04 19:54:11 +09:00
Nicolas Silva
41cd4bfb4b Bug 1198674 - null-check mFrameLoader in RenderFrameParent. r=sotaro 2015-09-04 12:11:33 +02:00
Hiroyuki Ikezoe
e66cf160a7 Bug 1151694 - Part 1 - Move CommonAnimationManager::sLayerAnimationInfo into LayerAnimationInfo.(cpp|h). r=bbirtles
--HG--
extra : rebase_source : 1226660e3e42a534d4c8b4f72c00888356a708fb
2015-09-03 22:59:00 +02:00
Jim Mathies
626e7b7b7c Bug 1195472 - Call Show after Enable on puppet widgets to avoid an assertion when running crash tests. r=aklotz 2015-09-01 10:39:30 -05:00
Kearwood (Kip) Gilbert
0d5944c188 Bug 1157984 - Part 5: Test,r=vlad
- Implemented a reftest to verify that the transformed element is clipped
  against the w=0 plane without disappearing

--HG--
extra : rebase_source : 26ad8c58b95c0af384a14b2c70fffe80190b8a17
2015-08-26 16:39:52 -07:00
Kearwood (Kip) Gilbert
cbc7ba3ddb Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.

--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Kartikaya Gupta
95631466e1 Bug 1185747 part 3 - Rip out code to explicitly override the CSS viewport. r=tn
--HG--
extra : commitid : KeYHVLqoKK0
2015-09-01 16:47:52 -04:00
Kartikaya Gupta
3a4b8916d2 Bug 1185747 part 2 - Remove magical reftest harness properties and use standard meta-viewport tags instead. r=tn
--HG--
extra : commitid : KYDd76jwpXj
2015-09-01 16:47:52 -04:00
Kartikaya Gupta
093f1dd881 Bug 1200303 - Support meta-viewport changes in ZoomConstraintsClient as well. r=miketaylr
--HG--
extra : commitid : I8qhld1fBKR
2015-09-01 14:04:56 -04:00
Jonathan Watt
e50ac9ab7a No bug. Add comment to nsStyleClipPath::ReleaseRef explaining why only one member is nulled out. r=me (NPOTB)
--HG--
extra : rebase_source : 155c6eeab7ea32f8a43e6885a5f7fea3400085f3
2015-08-11 10:38:37 +01:00
Xidorn Quan
300011c44e Bug 1197765 - Compare text content inside frame instead of the content node for ruby autohiding. r=dbaron
--HG--
extra : source : d265d1e03757b1f886e435ef9b60aa962787e676
2015-09-01 09:24:37 +10:00
Ryan VanderMeulen
f7ab6f4dde No bug - Fuzz more css-mediaqueries tests on Android.
--HG--
extra : rebase_source : 5dd30a13f5dfe2714e46c6ea46deaa6e82a7445c
2015-08-31 16:40:43 -04:00
Tom Klein
0160852c31 Bug 1181317 - Switch drawing order of filter feBlend inputs. r=mstange
--HG--
extra : rebase_source : 13de9d6236f4fe38cb08e299b6c50f27a688b2e3
2015-08-28 09:16:00 -04:00
Ryan VanderMeulen
1022db7d1e Merge m-c to inbound. a=merge 2015-08-31 15:22:43 -04:00
Ryan VanderMeulen
0f38752ebc Merge inbound to m-c. a=merge 2015-08-31 15:21:02 -04:00
Carsten "Tomcat" Book
fa01817a0a Backed out changeset 2734a3110b4a (bug 1107372) for Talos Bustage on a CLOSED TREE 2015-08-31 16:19:39 +02:00
Victor Porof
e14eb49e91 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
dominique vincent
599e8238ff Bug 1191041 - Increase the likelihood of zoomed view triggering for small elements but decreased the likelihood for large elements. r=kats 2015-08-28 22:54:41 +02:00
Victor Porof
c78fbabbef Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof
4ce24e2588 Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Ryan VanderMeulen
cb6f9fc8c5 Bug 1146002 - Add more Android fuzz to box-sizing-replaced-003.xht.
--HG--
extra : rebase_source : 9e40494bc663c35891300a961aadbe0272e2297a
2015-08-30 18:12:25 -04:00
Ryan VanderMeulen
32e2481e0c Bug 1178697 - Add Android fuzz to mq_print_height.xhtml.
--HG--
extra : rebase_source : f3a0fbaa043a13c486e43a5cf16d249c49f4d605
2015-08-30 18:07:44 -04:00
Ryan VanderMeulen
d88af421c5 Bug 1182082 - Add Android fuzz to large-gradient-2.html.
--HG--
extra : rebase_source : 0d4aaa82f8f7a8b8701df257700ed15af2fbc622
2015-08-30 18:01:21 -04:00
Ting-Yu Chou
c9627afeba Bug 1194121 - Skip UpdateCommands() from initializing collapse to avoid sync IPC during app startup. r=jst 2015-08-28 15:18:56 +08:00
Jonathan Kew
6bf6268612 Bug 1162418 - Try to find a suitable non-zero dimension to use when containing block's inline-size depends on an SVG element which is specified as a percentage of its container. r=jwatt 2015-08-31 16:22:20 +01:00
Masayuki Nakano
cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Masayuki Nakano
efc8ec6803 Bug 895274 part.49 Rename NS_POINTER_MOVE to ePointerMove r=smaug 2015-09-01 00:20:06 +09:00
Masayuki Nakano
517f9e1565 Bug 895274 part.48 Rename NS_POINTER_UP to ePointerUp r=smaug 2015-09-01 00:20:06 +09:00
Masayuki Nakano
d417be70fc Bug 895274 part.47 Rename NS_POINTER_DOWN to ePointerDown r=smaug 2015-09-01 00:20:06 +09:00
Masayuki Nakano
c2883da60a Bug 895274 part.42 Rename NS_POINTER_CANCEL to ePointerCancel r=smaug 2015-09-01 00:20:05 +09:00
James Kitchener
23d9b8c10b Bug 1190646 - Make all largeops vertical for sizing calculations. r=fredw 2015-08-24 06:44:00 -04:00
Markus Stange
0eb1d7c10b Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip
--HG--
extra : commitid : 8kd91z4FD2n
extra : rebase_source : bcdf5a75c527f871d2077ca1ef2e1958eb3db4d9
2015-08-04 16:11:37 -04:00
Xidorn Quan
ef4e2e1473 Bug 1192655 - Make menubar not react to events when it is not visible. r=enn
--HG--
extra : source : 91aae6b3814b973be71cf460efd6246b68048ff4
2015-08-29 11:12:41 +10:00
Masayuki Nakano
83f18479ed Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano
7645260328 Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296 Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180 Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
bd4bf17fbd Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
9895f90eca Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187 Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
8d32b818af Bug 895274 part.24 Rename NS_MOUSE_MESSAGE_START to eMouseEventFirst r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
07ce780806 Bug 895274 part.19 Rename NS_PLUGIN_FOCUS to ePluginFocus r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
956405c088 Bug 895274 part.18 Rename NS_PLUGIN_ACTIVATE to ePluginActivate r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
2fbb0f1587 Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
b3c538f248 Bug 895274 part.16 Rename NS_RESIZE to eResize r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
b686bf9204 Bug 895274 part.15 Rename NS_KEY_AFTER_UP to eAfterKeyUp r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
e7cc73d938 Bug 895274 part.14 Rename NS_KEY_BEFORE_UP to eBeforeKeyUp r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
9e009e82ee Bug 895274 part.13 Rename NS_KEY_AFTERE_DOWN to eAfterKeyDown r=smaug 2015-08-29 08:58:28 +09:00
Masayuki Nakano
5e85af9f61 Bug 895274 part.12 Rename NS_KEY_BEFORE_DOWN to eBeforeKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
6ecfef2cde Bug 895274 part.5 Rename NS_EVENT_NULL to eVoidEvent r=smaug 2015-08-29 08:58:26 +09:00
Kevin Wern
368ce48f75 Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.

--HG--
extra : rebase_source : bbc226f4135c2cf229c4e00dfb017a6c9c078391
extra : source : c2732f62a3b9a5246801aa000ce572ee07f53481
2015-08-28 12:00:29 -04:00
Botond Ballo
77b7e71f64 Bug 1166301 - Test that a fixed background on a child element doesn't move when a scroll frame containing the child element is async-scrolled. r=mstange
--HG--
extra : source : 1dccd53868d813a03d11c723b76c0adab4351f01
2015-08-26 12:04:53 -04:00
Botond Ballo
d86a4b0d3f Bug 1166301 - Layerize background images fixed to child elements. r=mattwoodrow
--HG--
extra : source : d5e8112052b1de93f41e15ea1ed6ccf80b498815
2015-08-28 15:13:50 -04:00
Cameron McCormack
d32a93dce9 Bug 1180120 - Part 7: Add eRestyleResult_StopWithStyleChange. r=dbaron 2015-08-29 06:13:48 +10:00
Cameron McCormack
f7742cef5d Bug 1180120 - Part 6.2: Refactor MaybeReframeFor{Before,After}Pseudo. r=dbaron 2015-08-29 06:13:48 +10:00
Cameron McCormack
a830175340 Bug 1180120 - Part 6.1: Factor out some of RestyleUndisplayedDescendants. r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
b332673f40 Bug 1180120 - Part 6: Replace HasSameCachedStyleData call with samePointerStructs bit tests. r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
ec9fcbb753 Bug 1180120 - Part 5: Factor out section of ElementRestyler::Restyle that calls AddPendingRestylesForDescendantsMatchingSelectors. r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
1a2b30b0fc Bug 1180120 - Part 4: Add an outparam to CalcStyleDifference to indicate which struct pointers were identical. r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
bbf3e2feac Bug 1180120 - Part 3: Record on ElementRestyler whether we are at the root of a restyle. r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
10bcb04d6f Bug 1180120 - Part 2: Move style-if-visited as well in nsStyleContext::Move (and assert that its parent is the same as the non-visited-style parent). r=dbaron 2015-08-29 06:13:47 +10:00
Cameron McCormack
e51337e0b2 Bug 1180120 - Part 1: Record on style contexts that reset style is explicitly inherited. r=dbaron 2015-08-29 06:13:47 +10:00
Ting-Yu Lin
e63f8dd3e4 Bug 1197739 - Do not change focus too early unless the frame is selectable. r=roc
Split |ChangeFocus| into two separate functions: |GetFocusableFrame| and
|ChangeFocusToOrClearOldFocus|.

We should only change the focus to the focusable frame until
AccessibleCaretManager is going to:

1) Dispatch CaretStateChangedEvent on an empty editable field.
2) Select a word on a selectable frame.

--HG--
extra : transplant_source : %C9v%F6%9B%EE%85y%9B0%AD8%CB%1B%E1%22%98%DE%D5%B9e
2015-08-27 16:55:33 -04:00
Ben Tian
f9389ddddf Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu
--HG--
rename : dom/bluetooth/common/BluetoothAdapter.cpp => dom/bluetooth/common/webapi/BluetoothAdapter.cpp
rename : dom/bluetooth/common/BluetoothAdapter.h => dom/bluetooth/common/webapi/BluetoothAdapter.h
rename : dom/bluetooth/common/BluetoothClassOfDevice.cpp => dom/bluetooth/common/webapi/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/common/BluetoothClassOfDevice.h => dom/bluetooth/common/webapi/BluetoothClassOfDevice.h
rename : dom/bluetooth/common/BluetoothDevice.cpp => dom/bluetooth/common/webapi/BluetoothDevice.cpp
rename : dom/bluetooth/common/BluetoothDevice.h => dom/bluetooth/common/webapi/BluetoothDevice.h
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.h => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/common/BluetoothGatt.cpp => dom/bluetooth/common/webapi/BluetoothGatt.cpp
rename : dom/bluetooth/common/BluetoothGatt.h => dom/bluetooth/common/webapi/BluetoothGatt.h
rename : dom/bluetooth/common/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/common/BluetoothGattCharacteristic.h => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.h
rename : dom/bluetooth/common/BluetoothGattDescriptor.cpp => dom/bluetooth/common/webapi/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/common/BluetoothGattDescriptor.h => dom/bluetooth/common/webapi/BluetoothGattDescriptor.h
rename : dom/bluetooth/common/BluetoothGattServer.cpp => dom/bluetooth/common/webapi/BluetoothGattServer.cpp
rename : dom/bluetooth/common/BluetoothGattServer.h => dom/bluetooth/common/webapi/BluetoothGattServer.h
rename : dom/bluetooth/common/BluetoothGattService.cpp => dom/bluetooth/common/webapi/BluetoothGattService.cpp
rename : dom/bluetooth/common/BluetoothGattService.h => dom/bluetooth/common/webapi/BluetoothGattService.h
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.h => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/common/BluetoothManager.cpp => dom/bluetooth/common/webapi/BluetoothManager.cpp
rename : dom/bluetooth/common/BluetoothManager.h => dom/bluetooth/common/webapi/BluetoothManager.h
rename : dom/bluetooth/common/BluetoothPairingHandle.cpp => dom/bluetooth/common/webapi/BluetoothPairingHandle.cpp
rename : dom/bluetooth/common/BluetoothPairingHandle.h => dom/bluetooth/common/webapi/BluetoothPairingHandle.h
rename : dom/bluetooth/common/BluetoothPairingListener.cpp => dom/bluetooth/common/webapi/BluetoothPairingListener.cpp
rename : dom/bluetooth/common/BluetoothPairingListener.h => dom/bluetooth/common/webapi/BluetoothPairingListener.h
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.cpp => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.cpp
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.h => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.h
2015-08-21 15:15:41 +08:00
Ben Tian
44c939383c Bug 1193379 - Rename bluetooth2 folder to common. r=joliu
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.cpp => dom/bluetooth/common/BluetoothAdapter.cpp
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.h => dom/bluetooth/common/BluetoothAdapter.h
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.cpp => dom/bluetooth/common/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.h => dom/bluetooth/common/BluetoothClassOfDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDevice.cpp => dom/bluetooth/common/BluetoothDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDevice.h => dom/bluetooth/common/BluetoothDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.h => dom/bluetooth/common/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothGatt.cpp => dom/bluetooth/common/BluetoothGatt.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGatt.h => dom/bluetooth/common/BluetoothGatt.h
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.h => dom/bluetooth/common/BluetoothGattCharacteristic.h
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.cpp => dom/bluetooth/common/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.h => dom/bluetooth/common/BluetoothGattDescriptor.h
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.cpp => dom/bluetooth/common/BluetoothGattServer.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.h => dom/bluetooth/common/BluetoothGattServer.h
rename : dom/bluetooth/bluetooth2/BluetoothGattService.cpp => dom/bluetooth/common/BluetoothGattService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattService.h => dom/bluetooth/common/BluetoothGattService.h
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.h => dom/bluetooth/common/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/bluetooth2/BluetoothManager.cpp => dom/bluetooth/common/BluetoothManager.cpp
rename : dom/bluetooth/bluetooth2/BluetoothManager.h => dom/bluetooth/common/BluetoothManager.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.cpp => dom/bluetooth/common/BluetoothPairingHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.h => dom/bluetooth/common/BluetoothPairingHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.cpp => dom/bluetooth/common/BluetoothPairingListener.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.h => dom/bluetooth/common/BluetoothPairingListener.h
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.cpp => dom/bluetooth/common/BluetoothProfileController.cpp
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.h => dom/bluetooth/common/BluetoothProfileController.h
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.cpp => dom/bluetooth/common/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.h => dom/bluetooth/common/BluetoothReplyRunnable.h
rename : dom/bluetooth/bluetooth2/BluetoothService.cpp => dom/bluetooth/common/BluetoothService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothService.h => dom/bluetooth/common/BluetoothService.h
2015-08-21 15:19:12 +08:00
Botond Ballo
7a4a9eded6 Bug 1177018 - When finding a painted layer for a display item, include event regions in a layer's visible region. r=tn
--HG--
extra : rebase_source : 879b4d19ad4ffa08a5a57d35063b57098a03d1b6
extra : source : 0d93e3adfeeaa3360b236157d0747e1570135c64
2015-06-26 17:26:06 -04:00
Benoit Girard
411ab85eaa Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats
--HG--
extra : commitid : ptd0dqCx1S
extra : rebase_source : fd3e1c04e7c21362c7496d32139ff9f30c2b2d5c
2015-08-27 14:21:58 -04:00
Xidorn Quan
02e64b9ce8 Bug 1177155 part 1 - Defer resize reflow and freeze refresh driver during window fullscreen change. r=smaug
--HG--
extra : source : 4b2ad889658bdb2b0f03c9476db0ceb2d81611e9
2015-08-27 23:14:49 +10:00
Kartikaya Gupta
afa961660f Bug 1198839 - Don't update the displayport from the MVM unless there is already on the content. r=botond
--HG--
extra : commitid : JsAHc4tIfkm
2015-08-27 08:26:00 -04:00
Phil Ringnalda
02603b885d Back out 7 changesets (bug 1177018) for debug b2g assertion failures in test_bug982141.html
CLOSED TREE

Backed out changeset 40fdd735520d (bug 1177018)
Backed out changeset a82c39bb97ab (bug 1177018)
Backed out changeset dbb14a5cd2cd (bug 1177018)
Backed out changeset 112ec6bdaf4e (bug 1177018)
Backed out changeset 486f9a11fcbd (bug 1177018)
Backed out changeset 8e54cc5e6901 (bug 1177018)
Backed out changeset c2a30b4f3a7c (bug 1177018)
2015-08-26 21:38:05 -07:00
Botond Ballo
0885317d46 Bug 1177018 - When finding a painted layer for a display item, include event regions in a layer's visible region. r=tn
--HG--
extra : rebase_source : 797a7d5274cee6280a6eced86784e40454f44924
extra : source : 0d93e3adfeeaa3360b236157d0747e1570135c64
2015-06-26 17:26:06 -04:00
Seth Fowler
59f5f53a8b Bug 1181907 (Part 3) - Add CSSVariableImageTable and use it to store ImageValues generated by CSS variables. r=heycam 2015-08-26 18:19:38 -07:00
Seth Fowler
5d3e2f76e1 Bug 1181907 (Part 2) - Make nsCSSProperty hashable. r=heycam 2015-08-26 18:19:34 -07:00
Markus Stange
d55472e3ca Bug 1193062 - Fix UntransformVector w coordinate checks. r=kip
It shouldn't be checking the w coordinate of the difference of two Point4Ds. The 4D difference isn't really meaningful. Instead, it should be checking each point's w coordinate individually.

--HG--
extra : commitid : FXadogU6iXy
extra : rebase_source : 14b823c99ee928c9922392fe9480acc6f9bb4e19
extra : histedit_source : 74bade5d7ef478e968ec3cabe9cd50bae6b82b95
2015-08-07 14:36:04 -04:00
Kartikaya Gupta
48933a096d Bug 1194811 Part 2 - Use the content viewer size rather than the composition size of the root frame when computing the CSS viewport. r=botond
This aligns the code in the ZoomConstraintsClient with the other code in the
MobileViewportManager. That way they should always end up with the same result
for the CSS viewport.

--HG--
extra : commitid : H94N6zjvty3
2015-08-26 14:41:20 -04:00
Kartikaya Gupta
7f4539d2a6 Bug 1194811 Part 1 - Recompute the zoom constraints if the available screen area changes. r=botond
--HG--
extra : commitid : 56pOj2LAANE
2015-08-26 14:41:12 -04:00
Mason Chang
29e0f6a8fd Bug 1198362 - Delete PreciseRefreshDriverTimer. r=roc 2015-08-26 09:45:54 -04:00
Yury Delendik
227cd6c1dc Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv
--HG--
extra : rebase_source : 7486debb89472aa52d034a8eb458245d7daec5ff
extra : source : 2d9ed9032a45d4c3644f40420428e1a8441785db
2015-08-20 15:15:18 -05:00
Masayuki Nakano
0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Chris Peterson
1416e566de Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium 2015-08-25 09:14:38 -07:00
Gian-Carlo Pascutto
ba3b7a169c Bug 1107372 - Update preferences for new SafeBrowsing prefs structure. r=francois 2015-08-27 10:05:23 +02:00
Brian Birtles
1038c1e99a Bug 1194037 part 4 - Remove ticking from FlushAnimations; r=dholbert
This patch makes FlushAnimations purely responsible for posting restyles. All
ticking behavior is performed in response to an actual refresh driver tick
(currently CommonAnimationManager::WillRefresh).
2015-08-31 16:21:55 +09:00
Brian Birtles
a362d9f14e Bug 1194037 part 3 - Add Animation::HasEndEventToQueue(); r=dholbert
We currently determine if we need refresh driver ticks when composing style
but sometimes we might not need ticks for composing style but we might need
one more tick in order to queue a final end event. Currently, this doesn't
seem to be a problem because FlushAnimations calls Animation::Tick where we
queue up events. When we remove the call to Animation::Tick from
FlushAnimations in order to make FlushAnimations purely responsible for
posting restyles, however, we will create a situation where we might mark an
animation collection as no longer needing refreshes and not simultaneously
queueing the corresponding event. If another animation collection is deleted in
the meantime we may trigger the code that causes us to disassociate from the
refresh driver and the corresponding event will never be dispatched.

Long-term (bug 1195180) we will check if it we can stop observing the refresh
driver and queue events in the same step. Until then, this patch adds a method
to detect this particular situation and uses it to avoid unregistering from
the refresh driver while we still have end events to queue.
2015-08-31 16:21:55 +09:00
Brian Birtles
a58273cbc5 Bug 1194037 part 2 - Make WillRefresh no longer call FlushAnimations; r=dholbert
In order to support ticking animations from their timeline we want to separate
the following two methods:

CommonAnimationManager::WillRefresh - responsible for responding to refresh
  driver ticks by updating timing information and posting the necessary
  pending restyles. This is the functionality we will eventually move to
  Animation.

CommonAnimationManager::FlushAnimations - responsible simply for posting
  pending restyles.

Currently, WillRefresh calls FlushAnimations. This patch separates the two by
copying the necessary functionality into WillRefresh. Later in this patch series
we will further separate the two by removing duplicate functionality from
FlushAnimations.
2015-08-31 16:21:55 +09:00
Brian Birtles
f32d302515 Bug 1194037 part 1 - Make nsAutoAnimationMutationBatch batch multiple elements at once; r=smaug
In bug 1195180 we plan to tick animations from their timeline where they
are stored in a hashtable. As a result, we will not visit them in order of
their associated target element (indeed, part of the reason we are doing
this is to support animations that do not have, or even have multiple target
elements).

The current animation mutation observer batching mechanism, however, assumes
that we visit each target element in turn and make all the necessary work at
once.  In order to support visiting animations in a potentially random order
this patch reworks the animation mutation observer batching mechanism so that
it can support batching multiple elements at once.
2015-08-31 16:21:49 +09:00
Robert O'Callahan
17e4562af8 Bug 1199534. Only set TabChild canvas background for the background of root PresContexts. r=mats
--HG--
extra : commitid : 4q2ltWPrjtx
extra : rebase_source : b07067b3ffa1236b61522b477a58816a0d0c02bc
2015-08-28 15:20:10 +12:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Francois Marier
f04275bd0b Bug 1196740 - Consider redirects when looking for SRI-eligibility. r=ckerschb
--HG--
rename : dom/security/test/sri/iframe_style_sameorigin.html => dom/security/test/sri/iframe_style_crossdomain.html
rename : dom/security/test/sri/script_crossdomain4.js => dom/security/test/sri/script_crossdomain5.js
rename : dom/security/test/sri/style1.css => dom/security/test/sri/style_301.css
rename : dom/security/test/sri/test_style_sameorigin.html => dom/security/test/sri/test_style_crossdomain.html
2015-08-25 13:38:39 -07:00
Mike Taylor
5f7b28a197 Bug 976616 - Part 2: Update mobile viewport on DOMMetaChanged event. r=kats 2015-08-24 15:35:00 -04:00
Daniel Holbert
db0b03b6ae Bug 1195523: Use type-safe LinkedList instead of PRCList to manage AnimationCollection objects. r=birtles 2015-08-17 21:13:14 -07:00
Mats Palmgren
98e0e2b9c8 Bug 1194888 - [css-grid] A line outside the existing grid should be treated as 'auto' for abs.pos (10.1). r=dholbert 2015-08-25 15:40:10 +02:00
Mats Palmgren
5e18f6b48c Bug 1194892 - [css-grid] "span * / span *" should be treated as "auto / auto" for abs.pos. grid items. r=dholbert 2015-08-25 15:40:10 +02:00
Mason Chang
1c24730f8d Bug 1197898 - Delete vsync refresh driver preference. r=kats 2015-08-25 09:01:40 -04:00
Kartikaya Gupta
79b7335af2 Bug 1180267 - Don't set root displayport margins from the mobile viewport manager unless the C++ APZ is enabled. r=botond
--HG--
extra : commitid : 6CQINQxlDzN
2015-08-24 13:45:45 -04:00
Kartikaya Gupta
fa26656650 Bug 1180267 - Switch Fennec over to using the MobileViewportManager for computing the CSS viewport. r=snorp
--HG--
extra : commitid : IwWBhpML3bl
2015-08-24 13:45:45 -04:00
Kartikaya Gupta
50d8193e09 Bug 1197592 - Don't set an SPCSPS in the mobile viewport manager if APZ zooming is not enabled. r=botond
--HG--
extra : commitid : k3dsO29PIm
2015-08-24 13:45:44 -04:00
Peter Linss
1714ccc6aa update draft spec urls from dev.w3.org/csswg to drafts.csswg.org. No bug.
Imported from https://hg.csswg.org/test/rev/3f200ac00126 by L. David Baron.
2015-08-19 19:38:01 -07:00
Mason Chang
696de26763 Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
Ryan VanderMeulen
7e078b31d6 Backed out changeset 2d9ed9032a45 (bug 1192831) for suspicion of causing bug 1178709 to spike. 2015-08-23 15:21:23 -04:00
Bobby Holley
ded73cd30e Bug 1196638 - Infer the proper button for synthesized mouse clicks on all callsites. r=jmaher 2015-08-22 09:51:51 -07:00
Masayuki Nakano
66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Andrew Comminos
bf63f14959 Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt 2015-08-21 16:38:15 -04:00
Wes Kocher
da63c9c4df Merge m-c to inbound, a=merge 2015-08-21 10:06:54 -07:00
dominique vincent
e32719478d Bug 1192075 - Change copy in Settings for Zoomed View/ magnifying glass preference. r=mcomella
--HG--
extra : source : e32341309d701cb6fb360accd3afe937be10ba20
2015-08-20 13:44:18 -07:00
Wes Kocher
a7cefecb3e Backed out changeset e32341309d70 (bug 1992075) for landing with the wrong bug number
--HG--
extra : amend_source : be5b170b5b8030a856b2873846bc6f0c447f93f3
2015-08-20 13:50:27 -07:00
dominique vincent
df8503e81a Bug 1992075 - Change copy in Settings for Zoomed View/ magnifying glass preference. r=mcomella 2015-08-20 13:44:18 -07:00
Robert O'Callahan
c00a9e21a0 Bug 1059519. Relax assertion. r=mstange
--HG--
extra : commitid : 3juxKjI2Tv4
extra : rebase_source : 440f5dfacd13757cbd83931b7f059ee9c4edd827
2015-08-19 13:23:06 +12:00
Tom Tromey
01fd372c45 Bug 1187409 - make CssPropertyIsShorthand handle CSS variables r=heycam
--HG--
extra : rebase_source : 9006fb95bd6d371367a74c9f687b46c4c9ddffa6
2015-08-19 14:48:55 -07:00
Justin Wood
d0f4238f1c Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas
--HG--
extra : rebase_source : d1a1e1a135eaf3c40fb2a8cd387ed96b71ac68a2
2015-08-19 11:16:18 -04:00
Justin Wood
b2d2dffd0c Bug 1195499 - Adjust fuzz and skips for win10. r=Bas
--HG--
extra : rebase_source : ad917963397787a137226d44c19b9669cca89430
2015-08-18 13:19:05 -04:00
Hiroyuki Ikezoe
56f8274c93 Bug 1194028 - Part 2: Use KeyFrameEffect SetTiming. r=bbirtles
Now KeyframeEffect.SetTiming() updates the owning animation timing and relavance, so
we don't need to call each methods respectively for the animation any more.
2015-08-18 03:57:00 -04:00
Jonathan Watt
c9336c7d2b Bug 1180509 - Fix judder of icons in Australis doorhanger menu at the end of its scale-in animation. r=roc 2015-08-09 22:23:06 +01:00
Jonathan Watt
db9584f577 Bug 1182414, part 2 - Add printing crash test. r=dholbert 2015-08-03 12:19:34 +01:00
Jonathan Watt
fca83ea565 Bug 1182414, part 1 - Fix printing crash with range input controls. r=dholbert 2015-08-03 12:08:32 +01:00
Jonathan Kew
d37da4f798 Bug 1194055 - GetSysFontInfo should return MS Shell Dlg 2 for eFont_Field and eFont_List on Windows. r=masayuki 2015-08-18 17:21:38 +01:00
Masayuki Nakano
0882629f91 Bug 299603 part.5 nsTextFrame should use system foreground or background color when painting IME selections if whose style defines only one of foreground color or background color r=roc 2015-08-19 16:37:39 +09:00
Masayuki Nakano
f40421a26b Bug 299603 part.4 Some global methods in nsTextFrame.cpp should be members of nsTextFrame class r=roc 2015-08-19 16:37:39 +09:00
Benjamin Smedberg
c7c2a60c7e Bug 1098064 part C - remove SimpleTest and reftest testPluginIsOOP and related usage, r=jimm
--HG--
extra : rebase_source : c834e7ff20c9a9a352e2e037f6a70b611a45a8b8
2015-08-14 14:10:17 -04:00
Benoit Girard
1498226863 Bug 1195884 - Reject CSS 'will-change: will-change' for spec compliance. r=dholbert
--HG--
extra : commitid : 9nZkbbC8zQe
extra : rebase_source : ff05ba0e7fe0ab6ca574c525d3505bed5f341184
2015-08-18 16:07:01 -04:00
Daniel Holbert
14faf6467e Bug 1195857: Make nsPresContext::HasAuthorSpecifiedRules()'s arg 'const', to remove need for const_cast in callers. r=jwatt 2015-08-18 15:41:24 -07:00
Wes Kocher
f84455e83a Backed out changeset de7aa6b08234 (bug 1194055) for windows 8 reftest failures CLOSED TREE 2015-08-18 12:09:56 -07:00
Kartikaya Gupta
3fd3f3cf8e Bug 1180295 - Stop clipping the content while the toolbar is in the process of sliding off. r=rbarker
--HG--
extra : commitid : IMjRmklIhXd
2015-08-18 14:27:19 -04:00
Kartikaya Gupta
056c55b10f Bug 1180295 - Rip out call to setContentDocumentFixedPositionMargins. r=rbarker
--HG--
extra : commitid : 7uU6xgPVZom
2015-08-18 14:27:18 -04:00
Kartikaya Gupta
ab181715ad Bug 1192616 - Skip over some reftests which fail on the pandaboards with the new dynamic toolbar implementation due to the screen size being too small. r=gbrown
--HG--
extra : commitid : FQlOBuH0lQN
2015-08-18 14:27:17 -04:00
Nathan Froyd
797182f90f Bug 968923 - part 5b - add nsIDOMWindowUtils::forceUseCounterFlush; r=bz
Use counter submission normally happens at document destruction.  For
testing use counters, however, we need to have use counters updated in
telemetry at deterministic points.  Therefore, we provide a method on
nsIDOMWindowUtils that forces use counters out to telemetry so we can
examine them.
2015-03-17 15:25:35 -04:00
Yury Delendik
d5e63ae0b8 Bug 1192831 - Remove PlayPreview API. r=jet, r=peterv 2015-08-20 15:15:18 -05:00
Jonathan Kew
ba8a9d5901 Bug 1196887 - Compare the writing-mode property, not only whether it is horizontal or vertical, when deciding whether to compute display:inline as inline-block. r=dholbert 2015-08-21 09:55:43 +01:00
Ting-Yu Lin
eebda9bb00 Bug 1195672 - Revise the logic of long tap on empty content. f=mtseng, r=roc
The only logic change is that we now call UpdateCaret() before
dispatching CaretStateChangedEvent.

This resolves a bug that the text selection dialog flashes when long
tapping on an empty content.

--HG--
extra : commitid : JHAxvifqpZS
extra : rebase_source : 9ae578f616eedc939839bc056c5437a84e8fedea
2015-08-19 15:54:10 +08:00
Ting-Yu Lin
8dbb5ca794 Bug 1195672 - Move the check that frame is selectable into SelectWord. f=mtseng, r=roc
There's a bug that when a frame is focusable but not selectable, we
won't focus on it because we call IsSelectable() before ChangeFocus().

By moving the check into SelectWord(), we'll have a chance to focus on
it.

This resolves a issue that when long press to select a word on a new
opened app, the selection highlight is gray instead of blue.

--HG--
extra : commitid : Fmupbt6gIQ9
extra : rebase_source : 0c427bf767c9d44e9467469e929f27e743e7d013
2015-08-19 15:54:10 +08:00
Ting-Yu Lin
1fc80119ff Bug 1195672 - Make focus changing by long tap behaves like by single tap. f=mtseng, r=roc
We want the focus changing behavior by long tap as close as to the one
by single tap.

The only functional change is that we always clear old focus and
re-focus the window if a focusable frame cannot be found. This behavior
is the same as the single tap implemented in
EventStateManager::PostHandleEvent().

Besides, ChangeFocus now returns the new focusable frame instead of bool
which provides more information.

--HG--
extra : commitid : 3y2smyRZQCW
extra : rebase_source : 36e7b65cf67f3148ea24668eef7078ee4daadb3c
2015-08-19 15:54:10 +08:00
Ting-Yu Lin
ef51f04d19 Bug 1195672 - Add |nsAutoCString nsIFrame::ListTag()| for debugging. f=mtseng, r=roc
This make it easier to print a frame tag name in one debug log line.

--HG--
extra : commitid : 5bl8GhmTLQi
extra : rebase_source : f151c98dc99c33e8050b106ab8695a9053dbb3ad
2015-08-19 15:54:10 +08:00
Benoit Girard
074eb08eb1 Bug 1186662 - Part 1: Add SuppressDisplayport painting and use it during tab switch. r=kats,mconley
--HG--
extra : commitid : 9fUfVIK8ikm
extra : rebase_source : e45570f97a25f965d2caf24f152da02efcf6495f
2015-08-19 17:08:41 -04:00
Mats Palmgren
1b43a8a43a Bug 1194733 - Don't honor DefaultPrevented for mouseup events in list control frames. r=enndeakin@gmail.com 2015-08-20 18:45:17 +02:00