Commit Graph

13801 Commits

Author SHA1 Message Date
Xidorn Quan
21b619291a Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
--HG--
extra : source : 27743ccd4b9be84847c7eb6590adcf96fb424999
2015-05-04 09:52:53 +12:00
Xidorn Quan
ffec696346 Backout df7c88910f47 (bug 1149009) for new patch.
--HG--
extra : source : f1d1ec017c872676ca90738f31f41d8f4a77f9cb
2015-05-04 09:52:53 +12:00
Robert O'Callahan
25dceb01f1 Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
Wes Kocher
b492021bca Merge m-c to inbound a=merge 2015-05-01 17:23:32 -07:00
Wes Kocher
5ef0b7b6a7 Merge inbound to m-c a=merge 2015-05-01 17:19:28 -07:00
Ryan VanderMeulen
d6155ddbf6 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Ryan VanderMeulen
9440cb5e32 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : f158ed522808c8be66f918e7cd2d674a93e9e8b8
2015-05-01 10:50:07 -04:00
Danilo Cesar Lemes de Paula
a24ed2c0a4 Bug 1159405 - Fix "Found a non-root APZ with no handoff parent". r=botond 2015-04-30 06:06:00 -04:00
Danilo Cesar Lemes de Paula
8b923d9267 Bug 1156401 - Fix ContextMenu handling when building Fennec with C++ APZ. r=kats, r=botond
This commit deals with the situation where there's no scrollable element
on a fennec's page. It uses the Top Most root element (Xul viewport)
instead.

So this fixes the situation when the tap/click was not being send to the
correct dom element.
2015-04-30 06:09:00 -04:00
Jonathan Watt
b9b0d2b3c3 Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
--HG--
extra : rebase_source : 8ffca8102a9648642f9166c213ce9e964c34b2af
2015-04-28 19:55:42 +01:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ted Clancy
1cde58afc9 Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
Brian Birtles
a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Xidorn Quan
0c5653824d Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc
--HG--
extra : source : ad2134d545e36298124b6ec5aea600d3689022ad
extra : amend_source : 8bf117c8a17a8a9d0144a00709a8963f8b7efd14
2015-04-30 18:27:54 +12:00
Brian Birtles
4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
Ryan VanderMeulen
e7e6f40c2f Merge m-c to fx-team. a=merge 2015-04-30 14:05:10 -04:00
Mark Finkle
ea1ba80c9b Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
Markus Stange
e72a2b1b6a Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
--HG--
extra : amend_source : 35ca22eae3b3088eaae5143af8c47177bf601800
2015-04-30 14:54:48 -04:00
Botond Ballo
1b108ac0db Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
--HG--
extra : source : a993f4ed89d7aa36f1c48b85810319374f7bf671
2015-04-23 01:25:00 -04:00
Jonathan Kew
861e6a44ed Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
ed4f94f6c0 Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
d4ac33e086 Bug 1157752 - In vertical writing modes, text-orientation:upright should force LTR directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Cameron McCormack
abddd905f2 Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron 2015-04-29 14:47:15 +10:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Ted Clancy
f54f3ac732 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu
--HG--
extra : rebase_source : 30ded48b101e138996fd819ee255275ec7a7a350
2015-04-17 14:19:39 -04:00
L. David Baron
c1b1d10e7d Bug 1144410 - Remove finished transitions when a frame transitions away from being display:none. r=birtles
Since bug 960465 patch 14, we've retained finished transitions in order
to handle the issues described in
https://lists.w3.org/Archives/Public/www-style/2015Jan/0444.html .  The
code that did this made the assumption that the transition manager is
notified of the full sequence of style changes that happen to an
element.  However, when an element becomes part of a display:none
subtree and then later becomes displayed again, the transition manager
is not notified of a style change when it becomes displayed again (when
we do not have the old style context).

This patch introduces code to prune the finished transitions when that
happens.

This really fixes only part of the set of problems described in bug
1158431, which also affect running transitions.  However, it's the part
of that set that was a regression from bug 960465, which introduced the
retention of finished transitions, and which makes these issues
substantially easier to hit.

I'd like to fix this part quickly because it's a regression and we
should backport the fix.

Without the patch, I confirmed that the following two tests fail:
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity after starting second transition - got 0, expected 1
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity during second transition - got 0, expected 0.5

With the patch, all the added tests pass.

--HG--
extra : transplant_source : %B4%A5%5Ck%E1%B7%F5Et%CF%9B%9F%40%97c%C5NM%D3%A8
2015-04-26 19:20:19 -07:00
Shyam Venkatesh
83e06d1f7f Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
Kartikaya Gupta
9d19536ed8 Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp 2015-04-24 22:26:34 -04:00
Ting-Yu Lin
4961c5a716 Bug 1158090 - Fix documentation for nsDisplayListBuilder constructor. r=roc 2015-04-24 02:41:00 -04:00
Xidorn Quan
ff400fb4a5 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Mike Conley
f83673f8f9 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : ac3d5c25681356af06321bf4e2c8292fe88a3ade
2015-04-22 10:58:33 -04:00
L. David Baron
20dd52e0ad Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
Carsten "Tomcat" Book
3dd2fa2aaf Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley
e21dde0949 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug.
--HG--
extra : rebase_source : 2103f47a75612dc4f1b719f5913d6cc14be5fbf7
2015-04-22 10:58:33 -04:00
L. David Baron
cc896f3f84 Bug 1156456 patch 3 - Send transform origin and perspective origin to layer in device pixels rather than CSS pixels. r=birtles 2015-04-22 19:37:04 -07:00
Xidorn Quan
9c13d12b5e Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
--HG--
extra : source : c00a44185d012b612271e0c64c444832c19d3b54
2015-04-23 13:32:53 +12:00
Botond Ballo
568cc0377d Bug 1151663 - Only call GetOrMaybeCreateDisplayPort() in nsLayoutUtils::PaintFrame() if we are using containers for root scroll frames. r=tn
--HG--
extra : rebase_source : 832db6a5ae1b513aaea7e2349f09bb500ef726e8
extra : source : c1f3b5ba0562e98d8b39c28f3964e37dfcff8528
2015-04-15 17:14:32 -04:00
Botond Ballo
ed5527e448 Bug 1151663 - Initialize display list builder flags earlier in nsLayoutUtils::PaintFrame(). r=tn
--HG--
extra : rebase_source : 9b64fb508e4ed224396bf8c2c060264ec6f870d0
extra : source : 1cdbbd749b04f4a6068560f5d7c5528240fa8dfe
2015-04-15 15:48:09 -04:00
Seth Fowler
8b1d7b5a59 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-22 13:04:04 -07:00
Markus Stange
99aa852b73 Bug 1156393 - Cache nsDisplayBorder bounds. r=roc 2015-04-20 18:57:51 -04:00
Markus Stange
c8321737e0 Bug 1141089 - Add more asserts for DisplayItemData, trying to catch whether we're accessing deleted instances. r=roc 2015-04-21 14:13:54 -04:00
Carsten "Tomcat" Book
7ef9b42c28 merge mozilla-central to mozilla-inbound IGNORE IDL
--HG--
extra : rebase_source : 294f0cad1bada4ebf38f24ff52ebbd7798de5912
extra : amend_source : d7b1044b736cf3e351efbef9610c83a14e6543ae
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
53dd599648 Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
David Anderson
2509aee14f Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor) 2015-04-21 23:01:41 -04:00
Wes Kocher
b6e78e87bc Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Wes Kocher
687641fa14 Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher
103ab1ed0e Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson
9ae1c872f4 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Carsten "Tomcat" Book
57a5fd4e81 merge fx-team to mozilla-central a=merge 2015-04-21 12:06:04 +02:00