Граф коммитов

12485 Коммитов

Автор SHA1 Сообщение Дата
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
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
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