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