Ting-Yu Lin
8c5af6b331
Bug 1282029 Part 2 - Update comments. r=dbaron
...
MozReview-Commit-ID: AB01qG99GeH
--HG--
extra : rebase_source : 333e0c02f9b6ef6daadd841cf4be2e35e72158c3
2016-06-24 17:47:33 +08:00
Ting-Yu Lin
b1101f8897
Bug 1282029 Part 1 - Remove superfluous access modifiers. r=dbaron
...
MozReview-Commit-ID: 5HRNtYECUjU
--HG--
extra : rebase_source : d0cc30bcd72168d1da345dcb72e9f41876977755
2016-06-24 17:47:32 +08:00
Brad Werth
bb6b3396a0
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Ray Lin
e1b4b9465e
Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
...
MozReview-Commit-ID: HzJ3ppbmQnk
--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Stone Shih
f3651866bf
Bug 1261673: Handle wheel event when mouse cursor is hovered on a focused number input as increasing/decreasing it's value. r=smaug
2016-05-06 18:39:10 +08:00
Xidorn Quan
677cf917fd
Bug 1275059 - Crashtest for this bug. DONTBUILD
...
MozReview-Commit-ID: FrJS2Y4ChGH
--HG--
extra : source : f9075e29d12b3f07a740320537c0a3b008fd8dbf
2016-07-04 13:36:08 +10:00
Matt Woodrow
b4b0f124bf
Bug 1283827 - Flatten transform-style:preserve-3d when combined with opacity. r=dbaron
...
This matches the behaviour required by the latest editor's draft spec and matches what blink is planning on shipping soon.
It may not be an entirely web compatible change, but we expect only a small number of websites to be affected. See
the bug for more details.
2016-07-02 14:47:12 +02:00
Xidorn Quan
5c09ece8ab
Bug 1281457 - Compute justification spacing eagerly in SetupJustificationSpacing. r=jfkthame
...
Before this change, SetupJustificationSpacing calls ComputeJustification
to compute how justification gaps are assigned to characters, and store
them in the PropertyProvider instance. When GetSpacing is called, those
information would be used to compute actual spacings from justification
before/after each character.
The bug is that, GetSpacing did not take gaps before the given range
into account when computing the spacing, which leads to unstable results
when range varies because of ignorance of accumulated error.
This patch changes it to eagerly computing the actual spacings inside
SetupJustificationSpacing, so that GetSpacing just queries the result
from mJustificationSpacings.
MozReview-Commit-ID: HoWqeOhD85w
--HG--
extra : source : 3838277a3883b6958293cb043bd14d8462bf4e8e
2016-06-28 10:26:47 +10:00
Makoto Kato
fb90c3584f
Bug 1203871 - Part 1. Add nsIFrame::GetCharacterRectsInRange. r=jfkthame
...
Masayuki suggests GetCharcterRectsInRange instead of first idea's API by part 2 implementation.
IME wants to need the width per character. Now nsTextFrame/nsIFrmae has only API to get point of string. So I want to add this method to calculate simply by comment #3 .
If no text frame, I would like to return error due to no character. (Caller shouldn't call this API on non-text frame.)
MozReview-Commit-ID: LQHUTzhnGn
--HG--
extra : rebase_source : bc495493c7be73afb05489ad2169e8dcdd6e6da4
extra : histedit_source : e54a7c3bfb100765317a0c8a83b432d5f706ffe1
2016-06-23 12:02:14 +01:00
Geoff Brown
1757b081e2
Bug 1263300 - Skip crashtest 724978.xhtml on Android Debug only; r=dholbert
2016-06-28 20:41:32 -06:00
Jonathan Kew
48c59f0c3d
Bug 1282248 - Declare a bunch of gfxTextRun measurement/drawing methods and related helpers as const. r=m_kato
2016-06-27 17:41:55 +01:00
Phil Ringnalda
28ae5ce216
Back out changeset 0bb00282a4c2 (bug 1243559
) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
179aa18d0d
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
...
--HG--
extra : rebase_source : fd19554f1611f8028a364ce93e833d8939688bfb
2016-06-21 13:17:11 -07:00
Xidorn Quan
05dcd227c5
Bug 1281099 part 2 - Merge three bidi frame properties into one. r=jfkthame
...
MozReview-Commit-ID: CEJhM3c21KO
--HG--
extra : rebase_source : 9e21c098692429ad3b35b2230887faf85c967ce8
2016-06-21 17:53:10 +10:00
Xidorn Quan
c81ed5494f
Bug 1281099 part 1 - Convert some macros to functions to help later change. r=jfkthame
...
MozReview-Commit-ID: 2OS5eIsNAYN
--HG--
extra : rebase_source : 345e33f986aa950eb122c1cc7451c7a59a8f84cb
2016-06-21 17:21:09 +10:00
Jesse Ruderman
7316c2f255
Bug 757413 - crashtest.
2016-06-21 13:23:29 +02:00
Mats Palmgren
5198fc4629
Bug 757413 - crashtest.
2016-06-21 13:23:28 +02:00
Abhishek Arya
2cc1b42a0f
Bug 876155 - crashtest.
2016-06-21 13:23:28 +02:00
Masayuki Nakano
13d4f396fe
Bug 1185307 part.2 Replace upcast from nsISelection to mozilla::dom::Selection with nsISelection::AsSelection() r=smaug
...
MozReview-Commit-ID: Gs3oiAgJFG9
--HG--
extra : rebase_source : a136405d99ff3361a595157986b3a33026bcd5f5
2016-06-17 22:32:49 +09:00
Masayuki Nakano
7b7ebc96f8
Bug 1185307 part.1 Add nsISelection::AsSelection() r=smaug
...
This patch adds nsISelection::AsSelection() for safer "upcast".
MozReview-Commit-ID: LlxoMaU0oE
--HG--
extra : rebase_source : 8b2fce25888bb256970ea1cb741a9f6fbe6dc542
2016-06-17 16:16:10 +09:00
Xidorn Quan
c9fe7c3435
Bug 1186892 - Handle url strikeout separately from IME selection types. r=jfkthame
...
MozReview-Commit-ID: CVwoKiMOHj9
--HG--
extra : source : d3aa2bc573dd575f12a1e585792cfaf37a7f5659
2016-06-21 08:19:21 +10:00
Mats Palmgren
583415c203
Bug 1174569 - [css-grid] Use the resolved column sizes to guide intrinsic row sizing. r=dholbert
2016-06-20 13:28:03 +02:00
Ting-Yu Lin
a178b8185c
Bug 1280647 - Rename nsStyleDisplay member mFloats to mFloat. r=dholbert
...
Also rename mOriginalFloats to mOriginalFloat.
MozReview-Commit-ID: COfmU34CtJU
--HG--
extra : rebase_source : 5b203dd9f0161f353a4a0b95003afe4af1d1480e
2016-06-18 22:16:20 +01:00
Kyle Zentner
b0138383bd
Bug 1166728 - Remove support for "box-sizing: padding-box", per CSS WG resolution. r=dholbert r=mats
...
MozReview-Commit-ID: JClqoCUrm11
2016-06-18 23:03:30 +01:00
Astley Chen
188c2c3e1a
Bug 1277131 : Part 4 - rename -moz-table-outer to -moz-table-wrapper. r=heycam
...
MozReview-Commit-ID: CsalRdLLcbJ
--HG--
extra : rebase_source : 64c55289f599932b81058935b7896dbcb33ba557
2016-06-16 13:35:54 +01:00
Astley Chen
5bcbb06586
Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
...
MozReview-Commit-ID: 7GIjtUH9hdZ
--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Astley Chen
4caee4596d
Bug 1277131 : Part 2 - rename nsMathMLmtableOuterFrame to nsMathMLmtableWrapperFrame. r=heycam
...
MozReview-Commit-ID: EylH72aitOj
--HG--
extra : rebase_source : 4261f2f2f4fef4cf3aaf99bcadb6dfeff9dcbad4
2016-06-16 13:14:50 +01:00
Astley Chen
1fcb0ee95d
Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
...
MozReview-Commit-ID: KrSHLbmovTM
--HG--
rename : layout/tables/nsTableOuterFrame.cpp => layout/tables/nsTableWrapperFrame.cpp
rename : layout/tables/nsTableOuterFrame.h => layout/tables/nsTableWrapperFrame.h
extra : rebase_source : 730a73b8439f1f5c5ccdb32b241deda5224c321c
2016-06-16 13:14:08 +01:00
Kartikaya Gupta
e71c0859af
Bug 1247050 - Avoid tripping an NS_ASSERTION that can legitimately fire. r=mstange
...
MozReview-Commit-ID: JpfBWiP3BeL
--HG--
extra : rebase_source : b571adf4124cc81fbc1833b55d61ad214f21b1d8
2016-06-15 01:27:21 +01:00
Jonathan Hao
a1a0a9bd7d
Bug 1280006 - Backout "Bug 1270680 - Part 1: Double-key the image cache by origin attribute." r=tanvi
...
This reverts commit bb0482fe09fbfad9be89384ec5cb8b6518187379.
2016-06-14 12:43:21 +01:00
Masayuki Nakano
9fdc31aea3
Bug 1278014 part.14 Rename SelectionType::SELECTION_URLSTRIKEOUT to SelectionType::eURLStrikeout r=smaug
...
MozReview-Commit-ID: 7AqeDbHxGE2
--HG--
extra : rebase_source : 2dada2c98e1186aa7f5699b8d11033eae50ba2c6
2016-06-09 20:58:56 +09:00
Masayuki Nakano
a0eb51f54d
Bug 1278014 part.13 Rename SelectionType::SELECTION_URLSECONDARY to SelectionType::eURLSecondary r=smaug
...
MozReview-Commit-ID: C2IW7nqjEkD
--HG--
extra : rebase_source : a64cd80650fe51dbc5586511ad8c3287a0ec3225
2016-06-09 20:47:48 +09:00
Masayuki Nakano
ebf3bc1862
Bug 1278014 part.12 Rename SelectionType::SELECTION_FIND to SelectionType::eFind r=smaug
...
MozReview-Commit-ID: BZxBnCDBghi
--HG--
extra : rebase_source : 099d1043c7e69f3c49a2d4e34190cbd7c4532107
2016-06-09 20:35:20 +09:00
Masayuki Nakano
61a6a5f987
Bug 1278014 part.11 Rename SelectionType::SELECTION_ACCESSIBILITY to SelectionType::eAccessibility r=smaug
...
MozReview-Commit-ID: 2nU4KQB5S7N
--HG--
extra : rebase_source : 8bb098b292fa92833e86fd65be62819844e0829e
2016-06-09 20:32:36 +09:00
Masayuki Nakano
10f047dba5
Bug 1278014 part.10 Rename SelectionType::SELECTION_IME_SELECTEDCONVERTEDTEXT to SelectionType::eIMESelectedClause r=smaug
...
MozReview-Commit-ID: 8v3mqcYorOI
--HG--
extra : rebase_source : a6823273c161eabbfa9e49e689154e547c14a106
2016-06-09 19:29:29 +09:00
Masayuki Nakano
aa3d2a6ce9
Bug 1278014 part.9 Rename SelectionType::SELECTION_IME_CONVERTEDTEXT to SelectionType::eIMEConvertedClause r=smaug
...
MozReview-Commit-ID: 5UNqhB2ZEcZ
--HG--
extra : rebase_source : 74d41ddf5496bdc50306bf916251df4f8d65a65b
2016-06-09 19:14:17 +09:00
Masayuki Nakano
ff86f10a4c
Bug 1278014 part.8 Rename SelectionType::SELECTION_IME_SELECTEDRAWTEXT to SelectionType::eIMESelectedRawClause r=smaug
...
MozReview-Commit-ID: DgprOxg87K6
--HG--
extra : rebase_source : 2f655353845292c4e8028f6e43f0dbbbfea11b68
2016-06-09 19:03:40 +09:00
Masayuki Nakano
569677d2f1
Bug 1278014 part.7 Rename SelectionType::SELECTION_IME_RAWINPUT to SelectionType::eIMERawClause r=smaug
...
MozReview-Commit-ID: BRe10Lyx5mt
--HG--
extra : rebase_source : e57239239fe8029040ce49faff9e37c5ad0b8305
2016-06-09 18:51:49 +09:00
Masayuki Nakano
a1636168ba
Bug 1278014 part.6 Rename SelectionType::SELECTION_SPELLCHECK to SelectionType::eSpellCheck r=smaug
...
MozReview-Commit-ID: 4n2jEVax37O
--HG--
extra : rebase_source : eb8c0dbedfeac83de330ccef874525dea355b52c
2016-06-09 18:37:36 +09:00
Masayuki Nakano
d960ef26d5
Bug 1278014 part.5 Rename SelectionType::SELECTION_NORMAL to SelectionType::eNormal r=smaug
...
MozReview-Commit-ID: AAdxTTKEvrk
--HG--
extra : rebase_source : 82e10db6b8b17d4f571625e34bb3c8f1905ef58a
2016-06-09 18:35:22 +09:00
Masayuki Nakano
b58c08cb8f
Bug 1278014 part.4 Rename SelectionType::SELECTION_NONE to SelectionType::eNone r=smaug
...
MozReview-Commit-ID: BRfzs8sColP
--HG--
extra : rebase_source : a5190cb20c263b01205e1ff75c76b2970c229b4e
2016-06-09 18:07:18 +09:00
Masayuki Nakano
581b9986bb
Bug 1278014 part.3 Define 2 constants for number of SelectionType and number of SelectionType except "none" r=smaug
...
This patch defines two constants kSelectionTypeCount and kPresentSelectionTypeCount. The former is same as nsISelectionController::NUM_SELECTIONTYPES. The latter is kSelectionTypeCount - 1 for excluding SELECTION_NONE. The latter is useful in some loops which handle all selection types except SELECTION_NONE.
Note that this patch fixes a bug of nsFrameSelection. That doesn't treat SELECTION_NONE as a selection (see the definition of index), however, it defines redundant item and doesn't use it actually. Additionally, it computes invalid selection type in each loop. Therefore, without this patch, debug build hits MOZ_ASSERT() in ToSelectionType(RawSelectionType).
Note that these constants are defined as anonymous enum because we cannot define as const (or static) even with extern. If we'd try to do it, it caused link error or not available in nsFrameSelection.cpp as constant value since they were not initialized if they were initialized in nsSelection.cpp. Therefore, these constants are defined as enum items but using "k" prefix.
MozReview-Commit-ID: H6sH7NBEXlE
--HG--
extra : rebase_source : fd517d5fc2e2d5dc2f96313e2802fd1719817af7
2016-06-11 11:12:26 +09:00
Masayuki Nakano
00591135a4
Bug 1278014 part.2 Define mozilla::SelectionType as an enum class and use it instead of RawSelectionType as far as possible r=smaug
...
This patch defines mozilla::SelectionType as an enum class. This is safer than nsISelectionController::SELECTION_* since setting illegal value to its variable is checked at build time. So, as far as possible, this should be used everywhere (but of course, this isn't available in scriptable interfaces).
And also this implements some useful methods for managing SelectionType and RawSelectionType which are implemented in layout/nsSelection.cpp because nsISelectionController is implemented by both PresShell and nsTextEditorState. Therefore, implementing one of them may make hard to find them. On the other hand, nsSelection.cpp is a better file name to look for them.
Note that this patch creates mozilla::Selection::RawType() for binding. Native code should keep using Selection::Type() but the binding code needs to use RawType() due to impossible to convert from SelectionType to RawSelectionType without explicit cast.
MozReview-Commit-ID: 81vX7A0hHQN
--HG--
extra : rebase_source : d9f88e217c713c60d1c2578ce6421c73ccba8650
2016-06-11 11:06:37 +09:00
Masayuki Nakano
17f667a2e2
Bug 1278014 part.1 Rename SelectionType in nsISelectionController.idl to mozilla::RawSelectionType r=smaug
...
mozilla::SelectionType will be an enum class. Therefore, we need to rename SelectionType with a word "raw" since it's a type for raw nsISelectionController::SELECTION_*.
MozReview-Commit-ID: K8SO0bbpv0Y
--HG--
extra : rebase_source : 56e3ac852657ef4795d718d2da09b16903c2e66c
2016-06-07 22:42:06 +09:00
Jonathan Watt
54c9a34ee0
Bug 1279642 - Remove CachedBackgroundImage. r=dholbert
...
--HG--
extra : rebase_source : e83199eccb12be43e755044da2b1aecdc08521bb
2016-06-09 21:14:36 +01:00
Ralph Giles
19a3dd8d6a
Bug 1275744 - Reference MOZ_LOG in layout comments. r=erahm
...
NSPR_LOG_MODULES is deprecated.
MozReview-Commit-ID: KGA9AzNUqnP
--HG--
extra : rebase_source : e3b4913f529be38da65a03e0961ee2cf8a9a7789
2016-05-26 11:40:17 -07:00
Tooru Fujisawa
cf7034940d
Bug 382721 - Part 8: Render too large dotted/dashed corner with solid style. r=jrmuizel
2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book
1e73eca6d5
Backed out changeset ba37839e4fde (bug 382721)
...
--HG--
extra : rebase_source : aceaae3ba44b2a60f70781439f28718cc3a80db9
2016-06-10 15:38:31 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Tooru Fujisawa
f56d021842
Bug 382721 - Part 8: Render too large dotted/dashed corner with solid style. r=jrmuizel
2016-06-10 13:10:03 +09:00
Mats Palmgren
03b9057a17
Bug 1278429 - [css-grid] Align a fragmented grid item with 'align-self' that is anchored at the end ('last-baseline', 'end', etc) at the end of its last track. r=dholbert
2016-06-10 02:56:23 +02:00
Mats Palmgren
eeceb11ef1
Bug 1278080 - Make nsContainerFrame::RemoveFrame deal with overflow containers. r=dholbert
2016-06-10 02:56:23 +02:00
Matt Woodrow
565f5ee9a1
Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt
2016-06-08 17:12:35 +12:00
Jonathan Chan
42ba4360c9
Bug 1043537 - Don't show resize handle for generated content. r=Enn
...
MozReview-Commit-ID: IZHqb9IwaAl
2016-06-07 10:22:04 -07:00
Carsten "Tomcat" Book
6439e7004c
merge mozilla-inbound to mozilla-central a=merge
2016-06-08 11:57:53 +02:00
Carsten "Tomcat" Book
1bd67fd288
merge fx-team to mozilla-central a=merge
2016-06-08 11:56:38 +02:00
Nicholas Nethercote
65989a693d
Bug 1278452 - Remove an unnecessary null check in layout/generic/. r=heycam.
...
mLineContainer is dereferenced shortly before and after the check, so it's
obviously not useful.
--HG--
extra : rebase_source : c8639197a10116e1251945f15edec6601a46265c
2016-06-07 14:45:38 +10:00
Xidorn Quan
2ee773aede
Bug 1277937 - Fix SELECTION_URLSTRIKEOUT. r=jfkthame
...
MozReview-Commit-ID: LumW94mTX4X
2016-06-07 16:12:15 -07:00
Nicholas Nethercote
a02611e830
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
Thinker K.F. Li
fc825d169c
Bug 1278021 - Clarify what nsIFrame::IsTransformed() does. r=mattwoodrow
2016-06-07 19:47:36 +12:00
Matt Woodrow
6f2b829c7e
Bug 1278021 - Don't treat nsDisplayOpacity as participating in a preserve-3d context if it is an untransformed leaf. r=thinker
...
--HG--
rename : layout/base/tests/test_bug1246622.html => layout/base/tests/test_bug1278021.html
2016-06-07 19:47:06 +12:00
Mats Palmgren
16d21bb3d7
Bug 1278007 - [css-grid] Reset all baseline bits when we decide a grid item doesn't participate in [first|last]-baseline alignment. r=dholbert
2016-06-03 17:30:00 +02:00
Jonathan Hao
b7c57a3da1
Bug 1270680 - Part 1: Double-key the image cache by origin attribute. r=jdm,seth
2016-06-01 23:07:00 +02:00
Sotaro Ikeda
bb5f65e394
Bug 1276403 - Fix nsPluginFrame::IsOpaque() r=mattwoodrow
2016-06-06 19:21:30 -07:00
Botond Ballo
2f0dad8fb6
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : rebase_source : 5817e50d64a1211e224c9b6dbd3e3efdcd5e48f0
extra : intermediate-source : 6f03149a7565e317156cc7218120f39c9fb41915
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Botond Ballo
d9b184b83a
Bug 1276107 - Ensure that the event-regions display item for a scrollable subframe ends up on top of perspective child items. r=mattwoodrow
...
MozReview-Commit-ID: 8nyeZb7g8Po
--HG--
extra : rebase_source : b8844ff0adc346b99276623d902f11ef00201aa2
extra : intermediate-source : 7658c369fd33bbb5e1b91f98a12061294c05db90
extra : source : 605e81003024844d1c7a34022e5c9bc7956f92c9
extra : histedit_source : 3e4ee4b583e09a481ec4ff80ebe87890c70a28e0
2016-05-30 18:56:32 -04:00
Wes Kocher
086c164bf6
Backed out 6 changesets (bug 1276107) for windows apz test bustage CLOSED TREE
...
Backed out changeset acd104ba0e8d (bug 1276107)
Backed out changeset f15df83c29a6 (bug 1276107)
Backed out changeset cd06b8e0f6dc (bug 1276107)
Backed out changeset e8361d5c43d2 (bug 1276107)
Backed out changeset 6f03149a7565 (bug 1276107)
Backed out changeset 7658c369fd33 (bug 1276107)
2016-06-06 12:16:52 -07:00
Botond Ballo
5a82b92113
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : rebase_source : 5817e50d64a1211e224c9b6dbd3e3efdcd5e48f0
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Botond Ballo
d085f720c0
Bug 1276107 - Ensure that the event-regions display item for a scrollable subframe ends up on top of perspective child items. r=mattwoodrow
...
MozReview-Commit-ID: 8nyeZb7g8Po
--HG--
extra : rebase_source : b8844ff0adc346b99276623d902f11ef00201aa2
extra : source : 605e81003024844d1c7a34022e5c9bc7956f92c9
extra : histedit_source : 3e4ee4b583e09a481ec4ff80ebe87890c70a28e0
2016-05-30 18:56:32 -04:00
Hiroyuki Ikezoe
d85954cbf5
Bug 1277991 - We don't need to check ShouldBlockAsyncTransformAnimations() when we just want to know whether the frame has transform animations or not. r=birtles
...
MozReview-Commit-ID: HYZCKoK62Fq
--HG--
extra : rebase_source : 5e389ab4f9695312f05515b3432d8cf285fbec2f
2016-06-06 11:27:27 +09:00
Mats Palmgren
0fa5c8b68d
Bug 1278010 - Add WritingMode convenience methods for determining whether to use central or alphabetical baselines. r=jfkthame
2016-06-03 17:43:00 +02:00
Jet Villegas
6d95828266
merge from inbound
2016-06-04 03:33:38 -07:00
Jet Villegas
a22a6660d7
Bug 1268736: An editable table cell means that both the cell and its contents are children of an editable node. r=mats
2016-06-04 03:23:56 -07:00
Kartikaya Gupta
f04e92726d
Bug 1108052 - Remove empty event regions display items because they only slow things down and can add extraneous layers. r=mstange
...
MozReview-Commit-ID: JkXGiudjBpe
--HG--
extra : rebase_source : a1eecb5705e79c992b0531711b4c0d40092712c4
2016-06-03 10:20:38 -04:00
Jonathan Watt
2eb705bb3f
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Matt Woodrow
d6c0343e48
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
2016-06-03 14:26:40 +12:00
Matt Woodrow
7fb4a7ee36
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
2016-06-03 14:26:26 +12:00
Matt Woodrow
a3ac199d7f
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
2016-06-03 14:22:57 +12:00
Matt Woodrow
d388fe3f47
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
2016-06-03 14:22:23 +12:00
Phil Ringnalda
f00b6395cb
Back out 7 changesets (bug 1274962) for timeouts in browser_tableWidget_mouse_interaction.js
...
CLOSED TREE
Backed out changeset c5c9bc65a408 (bug 1274962)
Backed out changeset 15b5f8019521 (bug 1274962)
Backed out changeset 9ac50a46557b (bug 1274962)
Backed out changeset 9cda37e5a581 (bug 1274962)
Backed out changeset bb0230c4bb6d (bug 1274962)
Backed out changeset 56ededfbdee6 (bug 1274962)
Backed out changeset e081fc6f3f90 (bug 1274962)
2016-06-02 20:37:31 -07:00
Matt Woodrow
09d7165bcb
Bug 1274962 - Part 7: Clean up unecessary parameter for RecomputePerspectiveChildrenOverflow. r=dbaron
...
--HG--
extra : rebase_source : 074d48327f4fe2450caab3a1cfa6db30f97b6c37
2016-06-03 14:26:40 +12:00
Matt Woodrow
3140e0e274
Bug 1274962 - Part 6: Make preserve-3d frames only contribute to the overflow area of the preserve-3d root frame. r=dbaron
...
--HG--
extra : rebase_source : 432370e344cc767a60a000424aec3274a9bdfcca
2016-06-03 14:26:26 +12:00
Matt Woodrow
d5e2d1e05c
Bug 1274962 - Part 3: Remove aOutAncestor. r=mstange
...
--HG--
extra : rebase_source : 579ec5e1ac8e5b31123504b53c5b280d7a2e10a1
2016-06-03 14:22:57 +12:00
Matt Woodrow
4b9ab44334
Bug 1274962 - Part 1: Remove callers of BASIS_AT_ORIGIN. r=mstange
...
--HG--
extra : rebase_source : 1c4c8615bb5ca52b731646bb9594b618ae4b6a98
2016-06-03 14:22:23 +12:00
Daniel Holbert
a67160ebff
Bug 1277703: Mark nsHTMLReflowState::ComputeContainingBlockRectangle as 'const'. r=mats
...
MozReview-Commit-ID: HuSDz3rgtQY
--HG--
extra : rebase_source : b5f8f14d71d62b0b56e4b4d5c6b6fc256f188ded
2016-06-02 15:24:00 -07:00
Masatoshi Kimura
107cbffdc0
Bug 1205027 - Only size <img> to broken-image size if it's actually broken. r=dholbert
2016-06-03 07:05:46 +09:00
Sebastian Hengst
d67adf9024
Backed out changeset e79968b5fd84 (bug 1276107) for often failing test_group_wheelevents.html with e10s. r=backout
2016-06-02 22:54:31 +02:00
Sebastian Hengst
58605fbcd6
Backed out changeset 8df1bde7eafd (bug 1276107)
2016-06-02 22:54:31 +02:00
Botond Ballo
5067bf046b
Bug 1276107 - Ensure sorting display items by z-order doesn't cause event-regions items to end up below items they are supposed to cover. r=mattwoodrow
...
MozReview-Commit-ID: BxnshG9TgRb
--HG--
extra : source : 4c1ca58448e3513691f92c1f9f0a92329ccc17c5
extra : histedit_source : d3ddaa7425ac1e2a1b019c957525653aeee8a4da
2016-05-30 20:01:04 -04:00
Botond Ballo
60bd909191
Bug 1276107 - Ensure that the event-regions display item for a scrollable subframe ends up on top of perspective child items. r=mattwoodrow
...
MozReview-Commit-ID: 8nyeZb7g8Po
--HG--
extra : source : 605e81003024844d1c7a34022e5c9bc7956f92c9
extra : histedit_source : 3e4ee4b583e09a481ec4ff80ebe87890c70a28e0
2016-05-30 18:56:32 -04:00
Mats Palmgren
7b8044d468
Bug 1256429 part 2 - [css-grid] Implement Grid layout for align|justify-content:baseline|last-baseline (aka "Baseline Content-Alignment"). r=dholbert
2016-06-02 17:46:59 +02:00
Mats Palmgren
5f1eaddbc8
Bug 1256429 part 1 - Move the ReflowStateFlags type to nsCSSOffsetState and add a 'ReflowStateFlags aFlags' param to nsCSSOffsetState::InitOffsets for later use (idempotent patch). r=dholbert
2016-06-02 17:46:59 +02:00
Mats Palmgren
0bdfe726a9
Bug 1221525 part 4 - [css-grid] Implement Grid layout for align|justify-self:baseline|last-baseline (aka "Baseline Self-Alignment"). r=dholbert
2016-06-02 17:46:58 +02:00
Mats Palmgren
539e419e85
Bug 1221525 part 3 - [css-grid] Caclulate the baseline offset values and baseline subtree alignment. r=dholbert
2016-06-02 17:46:58 +02:00
Mats Palmgren
aa90d52500
Bug 1221525 part 2 - [css-grid] Add GridItemInfo::mState member (for each axis) and make the mIsFlexing bool into a state flag, and add baseline state flags. Also add a baseline offset member. r=dholbert
2016-06-02 17:46:58 +02:00
Mats Palmgren
730431ba99
Bug 1221525 part 1 - [css-grid] Break out the grid item measuring reflow code to a separate function. Also, make the size contribution functions take a GridItemInfo instead of a frame, for use in later parts (idempotent patch). r=dholbert
2016-06-02 17:46:58 +02:00
Robert Longson
27d1839139
Bug 1217266 - fix animation of filters in resource documents. r=jwatt
2016-06-02 07:35:31 +01:00
Markus Stange
8e960525ba
Bug 1270023 - Make nsDisplayBullet respect DisableComponentAlpha(). r=mattwoodrow
...
MozReview-Commit-ID: BlPpm24Knwc
--HG--
extra : rebase_source : 3ad3366569ace6f92a168e96d5437ea65c7266b6
2016-05-31 14:56:22 -04:00
Hiroyuki Ikezoe
d69b9ca93c
Bug 1273042 - Part 2: Create stacking context for transform animations whose style is transform:none. r=mattwoodrow
...
To create stacking context for transform animations whose style is
transform:none, we need to check the frame has transform animations
regardless of current transform style.
2016-06-01 16:24:34 +09:00
Ting-Yu Lin
a649636701
Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
...
MozReview-Commit-ID: ETfT1Iow7kF
--HG--
extra : rebase_source : 0f679077ccb91a1873cb9be9def4008d55579725
2016-05-31 17:40:31 +08:00
Kartikaya Gupta
47b3b7b426
Bug 1280013 - Incorporate the APZ callback transforms when using the root composition bounds to clip the displayport base. r=botond,tnikkel
...
MozReview-Commit-ID: 1HOGQnCjIMt
2016-06-29 08:50:20 -04:00
Kilik Kuo
50e65bce86
Bug 1228601 - [Part2] Swap width,height if necessary and apply rotation matrix while building layer.; r=mattwoodrow
...
MozReview-Commit-ID: Jlh6oRa32fj
--HG--
extra : transplant_source : %7Ed%14%5Ea%01T%16%90R%0Auj%E6I%8D%EDR%EE%BC
2016-05-12 01:54:52 +08:00
Xidorn Quan
0a93398e34
Bug 1039541 part 2 - Use unprefixed text-align-last in tests. r=heycam
...
MozReview-Commit-ID: 5LReZwinajo
--HG--
extra : source : 69d39d59e0b856960b198aa2a99347a2816277cf
2016-05-30 14:52:01 +10:00
Xidorn Quan
1f74381c1c
Bug 1268342 part 3 - Treat orthogonal text frame as non-text frame when applying justification gap. r=jfkthame
...
Also correct the comment in ComputeJustification.
MozReview-Commit-ID: AWGGuupFLze
--HG--
extra : source : d0c6c36ab0770015a19134a9e2ec9652c171e46e
2016-05-30 09:24:18 +10:00
Xidorn Quan
4ac3826c0f
Bug 1268342 part 2 - Store writing mode of frame in PerFrameData. r=jfkthame
...
MozReview-Commit-ID: 66ZWj3EdCdh
--HG--
extra : source : 5d1bd8bfb21b8c75aff18c71377ffd29d44e361a
2016-05-30 09:24:18 +10:00
Xidorn Quan
db35f88ca8
Bug 1268342 part 1 - Remove useless constructor of PerFrameData. r=jfkthame
...
MozReview-Commit-ID: IL3iq4FFEaY
--HG--
extra : source : 8b3660dd50322d312da157895f20169255d23658
2016-05-30 09:24:18 +10:00
Sebastian Hengst
144882c03c
Backed out changeset 17dcafc58287 (bug 1205027) for wpt windows-1251.html permafail on Windows. r=backout
2016-05-29 09:10:07 +02:00
Masatoshi Kimura
d155af464f
Bug 1205027 - Only size <img> to broken-image size if it's actually broken. r=dholbert
2016-05-29 07:51:49 +09:00
Brad Werth
c6e972716a
Bug 1289509
- Supply a default value for mGenerateComputedGridInfo. r=bz
2016-07-26 10:03:26 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Jeremy Chen
7939ed0522
Bug 1275831 - part6: remove unused block layout debug flag. r=dholbert
...
1.Remove NOISY_FIRST_LINE, NOISY_MAX_ELEMENT_SIZE, NOISY_MAXIMUM_WIDTH.
2.Remove REALLY_NOISY_FIRST_LINE.
Only one static function, which has no caller, but defined under this flag.
3.Move REALLY_NOISY_REFLOW_CHILD into REALLY_NOISY_REFLOW.
The chunk of REALLY_NOISY_REFLOW_CHILD seems dead for long time, so make it
alive by moving it under REALLY_NOISY_REFLOW.
MozReview-Commit-ID: E7IW0qStdck
--HG--
extra : rebase_source : e5c8eace35e86ec3bfc449269ab5af336ca0af9e
2016-05-27 16:06:27 +08:00
Jeremy Chen
f67b32935b
Bug 1275831 - part5: fix NOISY_REFLOW_REASON block layout debug flag. r=dholbert
...
Add back a helper function for listing framelist tags. This function has been
called under other flags as well.
MozReview-Commit-ID: 5smFQ70tVRO
--HG--
extra : rebase_source : 95ba1c2cfaee330368bb8557605a58b360efc4d8
2016-05-27 16:06:27 +08:00
Jeremy Chen
e343a0fdc5
Bug 1275831 - part4: fix NOISY_BLOCK_DIR_MARGINS block layout debug flag. r=dholbert
...
MozReview-Commit-ID: 24JUxzbSeYQ
--HG--
extra : rebase_source : 668d32ab302a136a8ae6884baff68d822979aec5
2016-05-27 16:06:27 +08:00
Jeremy Chen
5ae7de2577
Bug 1275831 - part3: fix NOISY_COMBINED_AREA block layout debug flag. r=dholbert
...
MozReview-Commit-ID: 2LchMKfWNba
--HG--
extra : rebase_source : 0686c1b94b0809acd767ed46cbe5496ebd028977
2016-05-27 16:06:27 +08:00
Jeremy Chen
a200c33f52
Bug 1275831 - part2: fix NOISY_FINAL_SIZE block layout debug flag. r=dholbert
...
MozReview-Commit-ID: APtHNT1nohi
--HG--
extra : rebase_source : 19042b0c6b882285ed93c757d6ef8ccdbfa2272b
2016-05-27 16:06:27 +08:00
Jeremy Chen
a69caa89bb
Bug 1275831 - part1: fix NOISY_FLOAT block layout debug flag. r=dholbert
...
MozReview-Commit-ID: AOgV0TK6uyj
--HG--
extra : rebase_source : f418830b42e33637416b337b20d15276e17e16e2
2016-05-27 16:06:27 +08:00
Timothy Nikkel
b18470d23d
Bug 1275411. When descending into an out-of-flow without saved out of flow data we need to clear the scroll clip too. r=mattwoodrow
2016-05-26 01:54:48 -05:00
Daniel Holbert
9d77d9f4ce
Bug 1272721: Fix rtl-checking logic in legacy -webkit-box codepath, to actually reverse the correct axis under correct conditions. r=mats
...
MozReview-Commit-ID: AQf71HMuyzO
--HG--
rename : layout/reftests/webkit-box/webkit-box-direction-1-ref.html => layout/reftests/webkit-box/webkit-box-direction-2-ref.html
rename : layout/reftests/webkit-box/webkit-box-direction-1.html => layout/reftests/webkit-box/webkit-box-direction-2.html
extra : rebase_source : aab9386919b67f767b4ce3b1e2d02389ef84f890
2016-05-25 10:48:06 -07:00
Kyle Machulis
03effee7b4
Bug 1269444 - Move Plugin Zoom Value update into SetWindow call; r=bsmedberg
...
Currently, CSS Zoom is updated on calls to ResolutionMayHaveChanged.
However, this happens in between two calls in NPP_SetWindow, one for
widget repaint and then one for resolution updates. Not having CSS Zoom
updated during the first call to NPP_SetWindow would result in
desynchronized window updates in Adobe Flash. Therefore,
ResolutionMayHaveChanged is called on all NPP_SetWindow calls from
nsPluginFrame, meaning the plugin library will always have access to the
correct values via NPP_GetValue/NPP_SetValue.
MozReview-Commit-ID: 6BddqngxsKy
--HG--
extra : rebase_source : c4cdc84f1a05e039c80e7d9ef672aead1c9d490e
2016-05-20 13:32:10 -07:00
Mats Palmgren
5e2c16366e
Bug 1266268 - [css-grid] Implement <percentage> for grid gap properties. r=dholbert
2016-05-25 10:48:52 +02:00
Xidorn Quan
3b26ebeeef
Bug 1275059 - Simple fix for this bug. r=jfkthame
...
MozReview-Commit-ID: IVScO6eV6RP
--HG--
extra : source : d60cc6ea7a92f144f4efdea382a84250f7dd2576
2016-05-25 09:54:37 +10:00
Carsten "Tomcat" Book
6dc6665bce
Backed out changeset 4cfdd1649464 (bug 1263349)
2016-05-24 11:13:59 +02:00
Carsten "Tomcat" Book
98373d66dc
Backed out changeset 1ae4cfe35d71 (bug 1263349)
2016-05-24 11:13:58 +02:00
Seth Fowler
659485ec4c
Bug 1263349 (Part 3) - Only consider a frame IN_DISPLAYPORT if it's within the critical displayport, considering ancestors. r=botond
2016-05-24 01:12:48 -07:00
Seth Fowler
1cb3c53e11
Bug 1263349 (Part 2) - Cache the current scroll parent and information about scrollports and displayports on nsDisplayListBuilder. r=botond,mstange
2016-05-24 01:12:48 -07:00
Hiroyuki Ikezoe
ba777b0dd6
Bug 1166500 - Part 4: Add nsIFrame::IsScrolledOutOfView. r=mattwoodrow
...
IsScrolledOutOfView method checks that overflow rect for the frame is
scrolled out of view.
2016-05-24 12:57:42 +09:00
Sebastian Hengst
8cd2f85f26
Backed out changeset 1ed74da8c8bb (bug 1228601)
2016-05-23 14:23:51 +02:00
Kilik Kuo
650f34aa50
Bug 1228601 - [Part2] Swap width,height if necessary and apply rotation matrix while building layer.; r=mattwoodrow
...
MozReview-Commit-ID: Jlh6oRa32fj
--HG--
extra : transplant_source : %C2%A5%8C%DA4TF%0C%D4%C9%C6%9C%98%25t%3C%B9%90%E8%B2
2016-05-12 01:54:52 +08:00
L. David Baron
aa7131a140
Back out bug 1271714 (changeset f66a5b9da35f and changeset 557c5dbd25a1) for causing unexpected assertions in Android debug crashtest and reftest.
...
In particular, the failures are, in crashtest 8:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/generic/crashtests/details-open-overflow-auto.html | assertion count 3 is more than expected 0 assertions
in reftest 11:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/bugs/301726-1.html | assertion count 8 is more than expected 0 assertions
and in reftest 22:
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/overflow-auto-open-details.html | assertion count 8 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/details-summary/mouse-click-overflow-auto-details.html | assertion count 10 is more than expected 0 assertions
In all cases the unexpected assertion is:
###!!! ASSERTION: Bounds computation mismatch: 'mContainerBounds.IsEqualInterior(mAccumulatedChildBounds)', file /builds/slave/m-in-and-api-15-d-000000000000/build/src/layout/base/FrameLayerBuilder.cpp, line 4929
MozReview-Commit-ID: K6wqEQfJxNF
2016-05-21 01:34:03 -07:00
Timothy Nikkel
89606c568a
Bug 1271714. When creating the wrap list item that contains the display list for a frame make sure to use a scroll clip that includes content in the display list. r=mstange
...
In nsIFrame::BuildDisplayListForChild for certain types of frames we create wrap list items to wrap the constructed display list to make those items inseperable.
We were using the current scroll clip by default when creating these items, but that scroll clip may not contain all the content in the display list if we traversed into an out of flow frame whose containing block is an ancestor of the current frame. The CurrentAncestorScrollClipForStackingContextContents keeps track of exactly this. (Its name might be a little misleading as we may not be dealing with a true stacking context here. Nevertheless it does contain the correct clip.)
2016-05-20 22:00:57 -05:00
Daniel Holbert
65a3be93db
Bug 1272983 part 1: If GetUsed{Margin,Padding} get called for a value that can't be resolved & isn't cached, assert & return 0-sized nsMargin. r=dbaron
...
(This restores the behavior we had before bug 1269901 landed, for this scenario.)
MozReview-Commit-ID: Ir1TNM1CgwU
2016-05-20 15:05:31 -07:00
Shing Lyu
08c980d3a0
Bug 1242781 - Add 1 appunit in BRFrame::AddINlinePrefISize to match the 1 appunit added during reflow. r=dbaron
...
--HG--
extra : rebase_source : a8401f04f565e3e475e4a0ec19781b54ceb335c2
2016-05-08 19:41:00 -04:00
Ting-Yu Lin
316b3d93b6
Bug 1272831 - Add AutoRestore::SavedValue() to retrieve the saved value. r=froydnj
...
MozReview-Commit-ID: eZCWmTpvXi
--HG--
extra : rebase_source : fc43e8b43edaad362971e7c7f91895759f47bf8f
2016-05-14 09:47:14 +08:00
Matt Woodrow
ecff14fb35
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
2016-05-18 15:12:44 +12:00
Jonathan Kew
d1ba203234
Bug 1272997 - followup 3 - Use logical accessors for resize flags in nsViewportFrame. r=dholbert
2016-05-18 21:07:54 +01:00
Jonathan Kew
c160cdbf15
Bug 1272997 - followup 2 - Convert storage of resize flags from physical to logical. r=dholbert
2016-05-18 21:07:54 +01:00
Jonathan Kew
2527687995
Bug 1272997 - followup 1a - Add missing braces, because the style guide likes them. rs=dholbert
2016-05-18 21:07:54 +01:00
Jonathan Kew
bfdda7ee51
Bug 1272997 - followup 1 - Check for orthogonal writing modes when propagating (logical) resize flags from parent to child. r=dholbert
2016-05-18 21:07:54 +01:00
Jonathan Kew
8883bbb6a6
Bug 1272997 - Set resize flags properly when calling SetComputed{Width,Height} on the reflow state for a viewport frame. r=dholbert
2016-05-18 21:07:53 +01:00
Keith Yeung
24bac18bf5
Bug 1273424 - Rename -moz-float-edge constants to be more consistent with keywords. r=bholley
2016-05-18 11:07:46 -07:00
Mats Palmgren
5dcee2e2c6
Bug 1271492 - Rename nsIFrame::eUseAutoHeight to eUseAutoBSize. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
e643bbeaf5
Bug 1271392 part 6 - [css-grid] Remove now dead code. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
4d19f2a6ef
Bug 1271392 part 4 - [css-grid] Make sure a grid item's last fragment fills its grid area. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
88e4ba9cfe
Bug 1271392 part 3 - Only merge in children from the EOC list that don't already have a prev-in-flow in this frame. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
a1b690d0f2
Bug 1271392 part 2 - [css-grid] When pulling up grid item, make sure its next-in-flow (if any) is in our next-in-flow. r=dholbert
2016-05-18 13:49:33 +02:00
Mats Palmgren
6dca609754
Bug 1271392 part 1 - [css-grid] Make grid item 'stretch' not require an extra reflow. r=dholbert
...
This part removes the 'stretch' logic in AlignJustifySelf and implements
it in nsLayoutUtils::ComputeSizeWithIntrinsicDimensions /
nsFrame::ComputeSize instead.
2016-05-18 13:49:33 +02:00
Mats Palmgren
b4594808f5
Bug 1273705 - Add convenience methods to check if a margin is 'auto' on either side in an axis. r=dholbert
2016-05-18 13:49:32 +02:00
Sebastian Hengst
68055f003a
Backed out changeset 0e40f51068b4 (bug 1141468)
2016-05-18 10:38:03 +02:00
Matt Woodrow
654125d823
Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
...
--HG--
extra : rebase_source : ae9ded54e633e2ebffaeb8fef0b47a2d041dab1f
2016-05-18 15:12:44 +12:00
Xidorn Quan
6972973d70
Bug 1266645 - Move around a warning to avoid triggering it for valid cases. r=jfkthame
...
MozReview-Commit-ID: 3qRkNIUeCom
--HG--
extra : source : df5b541e7189cd1bee7dd073f8f8543bd9bb5197
2016-05-18 09:09:25 +10:00
firefox@hindlemail.co.uk
94f266f4ff
Bug 1263288 - Make GetFrameForNodeOffset return a sibling frame for frameless content. r=mats
...
This fixes missing caret problems.
Also changed GetFrameForNodeOffset to be non recursive to prevent possibly of
large stack frame.
2016-05-11 15:28:45 -06:00
Kartikaya Gupta
11bfa10a5a
Bug 1264297 - Don't do paint-skipping for elements with perspective, until we can properly populate the displayport. r=mstange
...
MozReview-Commit-ID: D3wKzWU72yi
--HG--
extra : rebase_source : f4487d2b37fe9799b32b40d0207b44dd50fca42f
2016-05-16 12:07:01 -04:00
Hiroyuki Ikezoe
00e2f46aeb
Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
...
MozReview-Commit-ID: 3tTkDtxkHcT
--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Ting-Yu Lin
d9623c94f4
Bug 1272840 - Resurrect the URL to block-and-line.html r=dbaron
...
DONTBUILD (NPOTB)
MozReview-Commit-ID: Hqk3kSUftRM
--HG--
extra : rebase_source : c193442d7018355914f731d94dba587e480443bf
2016-05-14 11:44:38 +08:00
L. David Baron
55b6b3268e
Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
...
This patch was generated by the command:
find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g
The diffs for the following files:
layout/style/nsCSSPropAliasList.h
layout/style/test/property_database.js
layout/style/test/test_value_computation.html
were then manually removed from the patch.
MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Markus Stange
8ece268559
Bug 1263192 - Clip scrolled contents to the display port. r=mattwoodrow
...
MozReview-Commit-ID: 4Uut8OAmCAd
--HG--
extra : rebase_source : 6b32f018f671ce0028dc558fdecc43c41756e1fa
2016-05-12 18:56:24 -04:00
CJKu
3e44bcb79b
Bug 1269971 - Part 7. Clean out unused things created in bug 759568; r=jfkthame
...
MozReview-Commit-ID: 4spLj1fgthI
--HG--
extra : rebase_source : 02261090faab2c37cf5e9c35b223832ec3af59cf
2016-05-13 00:09:39 +08:00
CJKu
39f4a65281
Bug 1269971 - Part 4. Add text stroke into text mask; r=jfkthame
...
MozReview-Commit-ID: IkaLMEX5q0T
--HG--
extra : rebase_source : 14ef2f4e033121873cbb51e437c3e7690c963fdb
2016-05-13 00:09:05 +08:00
CJKu
31d52bc0c4
Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
...
MozReview-Commit-ID: CQmqiCmvygr
--HG--
extra : rebase_source : 271b8d2aae82c02678637bcbbb3a77bc7c5b43f8
2016-05-13 00:08:53 +08:00
CJKu
b901424670
Bug 1269971 - Part 2. From ClipBackgroundByText to GenerateAndPushTextMask; r=jfkthame,mtseng
...
MozReview-Commit-ID: 1PK2Huytq3i
--HG--
extra : rebase_source : 71f3e70694d874d5d575b12f882980544b1931e2
2016-05-13 00:08:41 +08:00
CJKu
ea85bf6191
Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
...
MozReview-Commit-ID: 80DZsEAvXxB
--HG--
extra : rebase_source : 2b6205ad119265679b28d06056c3b433aab445c8
2016-05-13 00:08:30 +08:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Seth Fowler
1678f1d3bb
Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange
2016-05-11 19:27:27 -07:00
Seth Fowler
180fb0583d
Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange
2016-05-11 19:27:27 -07:00
Cameron McCormack
4ca33888b2
Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert
2016-05-11 14:03:34 +10:00
Matt Woodrow
fec269f78c
Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange
2016-05-10 12:48:59 +12:00
CJKu
a4e3f835fa
bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
...
MozReview-Commit-ID: GbhxyY93Vur
--HG--
extra : rebase_source : 2eb309017fe2dcc33424de81eecdf4405cd38334
2016-05-07 00:47:01 +08:00
Matt Woodrow
23ad434a74
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
2016-05-06 10:53:24 +12:00
Bobby Holley
60bd9ae61b
Bug 1269901 - Remove mCachedMargin. r=dbaron
2016-05-04 16:56:17 -07:00
Bobby Holley
f2c9cdf0d8
Bug 1269901 - Remove mCachedPadding. r=dbaron
2016-05-04 16:56:17 -07:00
Timothy Nikkel
bab76c33fa
Bug 1265577. r=mats
2016-05-04 16:12:48 -05:00
Markus Stange
7a09990486
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 990d5724e70858525ebd5732e184b96e1c75d7f3
2016-05-04 14:14:23 -04:00
Cameron McCormack (:heycam)
e78be5f934
Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
...
This renaming helps with auto-generated code in stylo.
--HG--
extra : rebase_source : d11cf8190f7aa4a73bf63c55afc97043d7c9c159
2016-05-03 23:32:00 +02:00
Phil Ringnalda
f74761a568
Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
...
CLOSED TREE
Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Phil Ringnalda
6d562f3981
Back out 23bf1e82cc34 (bug 1265237) for reftest failures
...
CLOSED TREE
2016-05-03 19:24:33 -07:00
Matt Woodrow
071273aa13
Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
...
--HG--
extra : rebase_source : e9f88b3e469a8afdec5c9636751a278a70ae7102
2016-05-04 12:58:01 +12:00
Matt Woodrow
76c8d4c781
Bug 1269184 - Make sure we create an nsDisplayWrapList around nsDisplayPerspective items so that the z-index of the perspective frame gets taken into account. r=mstange
...
--HG--
extra : rebase_source : 735c30ec166eeab19e26a78864e7626c9f00790a
2016-05-04 12:56:50 +12:00
Matt Woodrow
47cde44daf
Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron
2016-05-04 12:27:43 +12:00
Kartikaya Gupta
65f5105de7
Bug 1269539 - Ensure that the scroll position is restored properly on reloading a page which loads incrementally. r=tnikkel
...
MozReview-Commit-ID: 1qVA5yU7a7g
--HG--
extra : rebase_source : 032336d7552ece6dbeafa4eb07eceb7ed2a096ba
2016-05-03 10:40:20 -04:00
Markus Stange
6231d39a7c
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : da85ec302345a64424e08693f3909c185364d913
2016-05-03 15:16:11 -04:00
Phil Ringnalda
5387bf0160
Back out 6 changesets (bug 1227327) for failures in est_fixed_bg_scrolling_repaints.html
...
Backed out changeset 529ff32ced48 (bug 1227327)
Backed out changeset b726c30c4290 (bug 1227327)
Backed out changeset 5453b1ce4e85 (bug 1227327)
Backed out changeset 462dc0904d05 (bug 1227327)
Backed out changeset 1515512d3731 (bug 1227327)
Backed out changeset 2276fc059bf7 (bug 1227327)
2016-05-02 22:23:10 -07:00
Markus Stange
2fc65c65af
Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
...
MozReview-Commit-ID: 5X6FJYRCnWt
--HG--
extra : rebase_source : 334ea74abc71041246fcf9cbf25ff642c9e92b67
2016-04-27 17:39:25 -04:00
Kartikaya Gupta
bf75215060
Bug 1266833 - When the scroll position is clamped during a frame reconstruction, send a scroll offset update to APZ. r=tnikkel
...
MozReview-Commit-ID: 2UBM4AWWIVI
2016-05-02 15:44:29 -04:00
Kyle Machulis
85146b9ee1
Bug 1263696 - Block embed content loading when ancestor of object element with content; r=bz
2016-05-02 09:54:16 -07:00
Aryeh Gregor
f7bc47d59b
Bug 1193762 part 7 - Use .get() when assigning to variables; r=froydnj
...
Unlike when returning an nsCOMPtr in a ternary operator or passing to a
function, I used .get() here, since the operation is actually unsafe and
deserves to be marked explicitly.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
585263dafa
Bug 1193762 part 4 - Avoid nsCOMPtr in ternary operator; r=froydnj
2016-05-01 21:29:22 +03:00
Kartikaya Gupta
0858e31ab6
Bug 1268195 - When restoring a scroll position outside of incremental load, don't keep trying in a loop - just do it once and stop. r=tnikkel
...
It may be that when the frame is reconstructed after load, the frame gets shorter,
and the old scroll position cannot be restored, because it is out of bounds. In
such a case, we don't want to keep mRestorePos tracking the old scroll position,
because it can get incorrectly applied on a future frame reconstruction. Instead,
for scroll position restorations during frame reconstructions, we just try the
restore once and then clear mRestorePos.
MozReview-Commit-ID: BHoJHz0mGmf
2016-04-29 23:06:18 -04:00
Botond Ballo
b198a432f2
Bug 1268009 - If APZ is force-disabled, disable paint skipping even for apz-originated scrolls. r=kats
...
MozReview-Commit-ID: 2HgM5XiTcgA
--HG--
extra : rebase_source : 86ced7735a7db45a74209efc6a1d8a2e0c5d77ab
2016-04-27 16:55:34 -04:00
Cameron McCormack
3aadcf811c
Bug 1268404 - Part 1: Split out ResolveStyleForText from ResolveStyleForNonElement and pass in the text node. r=bholley
2016-04-29 14:01:44 +10:00
Daniel Holbert
880ec173d2
Bug 1030952 part 4: For flex items with an aspect ratio, stomp on reflow state's main size *and cross size* in final reflow. r=mats
...
MozReview-Commit-ID: CzZzy9gOHFK
2016-04-28 20:17:03 -07:00
Daniel Holbert
774f83d738
Bug 1030952 part 3: Add a frame property to allow flex container to impose a different main-size on a flex item for aspect ratio calculations. r=mats
...
MozReview-Commit-ID: HZylbVhO1Iv
2016-04-28 20:17:02 -07:00
Daniel Holbert
924d376db3
Bug 1030952 part 2: Change flex layout to recognize that an aspect ratio allows main-size to influence cross-size. r=mats
...
MozReview-Commit-ID: E2htKm7XGLY
2016-04-28 20:16:59 -07:00
Daniel Holbert
7800939204
Bug 1030952 part 1: Save each flex item's intrinsic ratio during reflow, for easy reuse. r=mats
...
MozReview-Commit-ID: 84dtBQUJZP7
2016-04-28 20:16:58 -07:00
Kyle Machulis
bb87072fdb
Backout of 541618e4babd (bug 1263696) due to performance timeline test bustage
2016-04-28 14:48:14 -07:00
Kyle Machulis
58d9018e54
Bug 1263696 - Block content loading for embed nodes that are ancestors of objects with data; r=bz
2016-04-28 13:08:12 -07:00
Mats Palmgren
5ed9f29039
Bug 1267555
part 1 - [css-grid] Make grid-aligned abs.pos. descendants that span from 'auto' to the first/last line stretch to the outer edge of the first/last track respectively. r=dholbert
2016-04-28 21:21:19 +02:00
Ting-Yu Lin
3256e20da1
Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
...
MozReview-Commit-ID: 4IFOlP9oVHl
--HG--
extra : rebase_source : 012b15e5e7b7489cf8ea9a2c812719ed009ef72e
2016-04-27 12:01:54 +08:00
CJKu
3acf2e463b
Bug 1266948 - text-decoration-color: currentcolor should not use value from -webkit-text-fill-color; r=jfkthame
...
MozReview-Commit-ID: 2SfENZieSzQ
--HG--
extra : rebase_source : 3880f8fd6ae18e9f4b1cbf0a2f5eff48c060548b
2016-04-26 23:56:44 +08:00
Boris Zbarsky
b7702c0119
Bug 1263845. When a parent changes from auto height to non-auto height or vice versa, a percentage height non-block child needs to realize it's doing a vertical resize. r=dbaron
2016-04-26 12:56:26 -04:00