Commit Graph

15380 Commits

Author SHA1 Message Date
Xidorn Quan
68af7e6457 Bug 1097499 part 4 - Adjust computed value of writing-mode on text frames when text-combine-upright is used. r=heycam
MozReview-Commit-ID: KNRe0ZpzxGr

--HG--
extra : source : dfd24ab49704b6542207aaab5b1283a4db355e60
2016-04-22 09:18:41 +10:00
Xidorn Quan
d5599a3104 Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
MozReview-Commit-ID: 1GfoFEGhyka

--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
2016-04-22 09:18:41 +10:00
Xidorn Quan
b1521c643f Bug 1097499 part 1 - Control support of 'text-combine-upright: digits' via a separate pref. r=heycam
MozReview-Commit-ID: JerTsxaQCL4

--HG--
extra : source : 999d1d2997591935fa1259fa42a91658da8ee078
2016-04-22 09:18:41 +10:00
Wes Kocher
e80ed17c41 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5AQXGbI0ke2
2016-04-21 15:02:19 -07:00
Wes Kocher
aac511837d Merge inbound to m-c a=merge
MozReview-Commit-ID: GW9vcSRPgYc
2016-04-21 14:41:08 -07:00
Bobby Holley
1c7f68df06 Bug 1258017 - Cleanup fixes for trunk. r=me 2016-04-21 13:56:40 -07:00
Seth Fowler
4b0251d526 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Seth Fowler
82aae6c3ed Bug 1261554 (Part 2) - Mark frames which are added to the display list when painting to the window as having Visibility::IN_DISPLAYPORT. r=mstange 2016-04-21 01:22:10 -07:00
Seth Fowler
0847460298 Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange 2016-04-21 01:21:58 -07:00
L. David Baron
5cb5f30041 Bug 1053986 - Rename nsBox::GetParentBox to GetParentXULBox. r=dholbert
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/.

MozReview-Commit-ID: FqTrLBFZMF5
2016-04-20 21:28:32 -07:00
L. David Baron
376413eeb5 Bug 1053986 - Rename nsIFrame::IsBoxFrame to IsXULBoxFrame. r=dholbert
Written purely with sed, over .h and .cpp files in layout/.

But with additional manual changes in accessible/.

MozReview-Commit-ID: W0wUPoQsVH
2016-04-20 21:28:30 -07:00
Mark Capella
a5dadf5639 Bug 1265750 - Some word cannot be selected via long pressing, r=TYLin, mats 2016-04-21 08:53:13 -04:00
Masayuki Nakano
da3898bcb7 Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
MozReview-Commit-ID: L0GnVR6NcAe

--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
726b05f89b Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Mats Palmgren
8cea5ff5f7 Bug 1258476 - Optimize CreateRangePaintInfo by generating display lists for the minimum amount of range subtrees rather than for the range common ancestor. r=tn 2016-04-19 22:12:16 +02:00
L. David Baron
7ddb4d5d7b Bug 1265591 patch 3 - Make the comment describing RestyleForCSSRuleChanges match reality. r=heycam
MozReview-Commit-ID: 9CT2k59cYP2
2016-04-19 11:38:35 -07:00
L. David Baron
b1db407049 Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
L. David Baron
368f3bb46f Bug 1265591 patch 1 - Remove Internal/External versions of ReconstructStyleData. r=heycam
This Internal/External difference was added in bug 253889 in the year
2004, when we build layout as a library separate from things like
editor.  It is no longer needed now that we have libxul, and should not
be used by any external callers.

MozReview-Commit-ID: 7354lCl3hN8
2016-04-19 11:38:34 -07:00
CJKu
fec446cef3 Bug 1264949 - Ensure that the display list does not contain any background-image/background-color display item; r=jfkthame
MozReview-Commit-ID: LikPnuMxeMc

--HG--
extra : rebase_source : 177134421941ed144bd7e37271f2e25018a0c403
2016-04-19 13:41:03 +08:00
Daniel Holbert
c5c19672a7 Bug 1255180 part 3: Update test_bug370436.html to use SpecialPowers for privileged "rangeParent" access, & drop now-obsolete checks for SOWs in chrome. r=bholley
This patch also enables the test by uncommenting it in mochitest.ini, since it should now run successfully.

MozReview-Commit-ID: 36ZvUYA7sDi
2016-04-18 20:26:36 -07:00
Daniel Holbert
2ea3c08df4 Bug 1255180 part 2: Update script/style paths in test_bug370436.html to point to mochitest-plain resources. r=bholley
MozReview-Commit-ID: ElBfZMQOjSl
2016-04-18 20:26:35 -07:00
Daniel Holbert
3780efe576 Bug 1255180 part 1: Move test_bug370436.html out of its mochitest-chrome subdirectory. r=bholley
This patch also temporarily disables the test by commenting it out in mochitest.ini, its new home. (I'm disabling it temporarily because it won't pass until later patches in this queue have landed.)

MozReview-Commit-ID: 2CixMWUin8W

--HG--
rename : layout/base/tests/chrome/test_bug370436.html => layout/base/tests/test_bug370436.html
2016-04-18 20:26:33 -07:00
Kartikaya Gupta
51255cfde4 Bug 1263347 - When checking if displayport changes should schedule a paint, make sure to use the proper displayport. r=mstange
MozReview-Commit-ID: IVcNSbEiESa

--HG--
extra : rebase_source : 3bfc8926b8059ea74bcb3e77d3f25c5800d0e71a
2016-04-18 17:00:52 -04:00
Markus Stange
789850e1f0 Back out bug 1164227, because bug 1236043 fixes the original problem in a better way.
MozReview-Commit-ID: F4bD1MvOWDR

--HG--
extra : rebase_source : 43a53b31eea4f945b2cca647514e073603d44e75
2016-03-28 18:37:07 -04:00
Markus Stange
2e917fb8fa Bug 1236043 - Adjust reftests and reftest annotations for new invalid region simplification. r=jrmuizel
Make the test_transformed_scrolling_repaints* tests taller so that the top and the bottom of the scrolled area don't share the same tile.
Fuzz layout/reftests/text/wordwrap-03.html on Linux because the native textbox gradient is painted in a slightly different position depending on the invalid area.
Mark layout/reftests/forms/select/out-of-bounds-selectedindex.html as fuzzy on Android because some listbox rounded corner pixel differs with the new invalidation behavior.
Mark layout/reftests/bugs/456219-1c.html as fuzzy on Linux, reasons unknown. :-(
Disable flexbox-widget-flex-items-3.html because of bad file input drawing on Linux, see bug 1260965.

MozReview-Commit-ID: B5c1a8D0G8F

--HG--
extra : rebase_source : 3e281d035831c77246d0e439246fdab9395dc884
2016-04-18 14:18:44 -04:00
Xidorn Quan
6ad4420e52 Bug 1264910 followup - Include the pref for background-clip: text. 2016-04-18 19:19:16 +10:00
Xidorn Quan
6694da2b67 Bug 1264910 - Simplify pref callback register/unregister in nsLayoutUtils. r=dholbert
MozReview-Commit-ID: 39XQHJULIRb

--HG--
extra : source : d210a7a5cb6d46e7546f68c7813b053333373cdc
extra : amend_source : 60628ebad0e6dd318d55bd9eb960117c290306cc
2016-04-18 19:11:15 +10:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Mike Conley
1cff2809c8 Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
MozReview-Commit-ID: 7wCYif8F6ws

--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Carsten "Tomcat" Book
c4445ccd33 merge mozilla-inbound to mozilla-central a=merge 2016-04-15 11:41:41 +02:00
Carsten "Tomcat" Book
0a47ef22ae Merge mozilla-central to fx-team 2016-04-14 11:39:50 +02:00
Mark Capella
88cc5b6c9a Bug 1235508 - Re-implement fast Phone number selection on long-press, r=TYLin 2016-04-14 02:14:16 -04:00
Mats Palmgren
d4dfb9f81d Bug 645647 part 4 - Add an 'm' prefix to some members to follow our naming conventions. r=dholbert 2016-04-14 01:32:12 +02:00
Ting-Yu Lin
727557d79f Bug 1258657 Part 2 - Remove SummaryFrame. r=bz
We can use nsBlockFrame to render summary elements.

This change undoes "Bug 591737 - Add SummaryFrame" and remove
summaryFrame usage in DetailsFrame and nsCSSFrameConstructor.

MozReview-Commit-ID: 4aJvHVPfsBb

--HG--
extra : rebase_source : 8e197fa61cfcbaf066a8a510aef7c92adddd30f2
2016-04-13 13:34:14 +08:00
Milan Sreckovic
e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Sebastian Hengst
2a9bc780d3 Backed out changeset 7ec8bfb9bbd4 (bug 759568) for failures in test_all_shorthand.html and more. r=backout 2016-04-12 17:55:52 +02:00
Sebastian Hengst
c9828de0c3 Backed out changeset e64951d74d2a (bug 759568) 2016-04-12 17:55:44 +02:00
Sebastian Hengst
44ca9afaa7 Backed out changeset 6c4a34241df5 (bug 759568) 2016-04-12 17:55:13 +02:00
CJKu
3571e41961 Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; r=jfkthame
MozReview-Commit-ID: 88jIDJ65ALf
2016-04-12 21:58:23 +08:00
CJKu
70f4e828d2 Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
MozReview-Commit-ID: HQHBe7OioWs
2016-04-12 21:58:22 +08:00
CJKu
a5da82483b Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycom
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-12 21:58:21 +08:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Jonathan Watt
3a3ceffce3 Bug 1263773 - Mark a bunch of classes in layout as MOZ_RAII. r=dholbert 2016-03-28 13:34:26 +01:00
Boris Chiou
6a9f22bcfe Bug 1182856 - Part 2: Let AnimationsWithDestroyFrame destroy transitions. r=heycam
We also want to cancel transitions with destroyed frames, so the simplest way
is to extend the ability of AnimationsWithDestroyFrame to cancel transitions as
well.

--HG--
extra : rebase_source : 87d09b6204240b51d425269cbdc07103df5d24ef
2016-04-10 21:28:00 +02:00
CJKu
4bfb2bf540 Bug 759568 - Part 6. Remove unused nsDisplayList::mVisibleRect; r=jfkthame
MozReview-Commit-ID: 88jIDJ65ALf
2016-04-14 16:28:07 +08:00
CJKu
2afb6ec588 Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 16:28:07 +08:00
CJKu
d2552e50a5 Bug 759568 - Part 1. Parse background-clip:text; r=dholbert r=heycam
MozReview-Commit-ID: BPuQjWYvAuj
2016-04-14 16:28:06 +08:00