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

50871 Коммитов

Автор SHA1 Сообщение Дата
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
Olli Pettay c660d9c623 Bug 1277358 xul:browser element kept alive too long if tab is dnd'ed to a new window, r=kats
--HG--
extra : rebase_source : 38024349a694bd44962ad673ed0a304fdb77463c
2016-06-02 18:02:14 +03:00
Mike Conley 0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Ethan Lin b48243a642 Bug 1275957 - Part 2. Add reftests for gradient image's background-repeat: round/space. r=mstange 2016-06-02 00:20:00 +02:00
Ethan Lin 094e16eac7 Bug 1275957 - Part 1. Apply space property to gradient. r=mstange 2016-06-02 02:09:00 +02:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E) 8687d34336 Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Robert Longson 27d1839139 Bug 1217266 - fix animation of filters in resource documents. r=jwatt 2016-06-02 07:35:31 +01:00
Carsten "Tomcat" Book a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley 0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Kartikaya Gupta c6021ffe84 Bug 1275604 - Ensure that we schedule a paint if the touch-action property changes. r=tnikkel
MozReview-Commit-ID: Jy10Qa2JpSE
2016-06-01 13:13:14 -04: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
Frederik Braun 404a0bbb99 Bug 1265318: add require-sri-for CSP directive. r=ckerschb
MozReview-Commit-ID: 200PAvKtBME
2016-05-31 11:14:00 +02:00
John Dai 7b9485089a Bug 1024350 - Support fire input event for select element.r=smaug 2016-06-01 00:10:00 +02:00
John Dai 682e2cdf72 Bug 1024350 - Remove redundant trailing spaces.r=smaug 2016-05-30 02:41:00 +02:00
Emilio Cobos Álvarez e149d9fa0d Bug 1276085: stylo: Support creating and setting gradient stops from Servo r=heycam
MozReview-Commit-ID: Gh6CMrf1PE5
2016-06-01 10:36:15 +02:00
Hiroyuki Ikezoe 76b1ff2552 Bug 1273042 - Part 4: Drop nsLayoutUtils::GetAnimationContent declaration. r=birtles.
MozReview-Commit-ID: CE1CCkiCnW2

The implementation of nsLayoutUtils::GetAnimationContent has been dropped in
bug 771367.
2016-06-01 16:24:34 +09:00
Hiroyuki Ikezoe 8f62183f96 Bug 1273042 - Part 3: Reftest for checking transform:none animations create a stacking context. r=birtles
This patch has two test cases one if for CSS animations and one is for web animations.

For CSS animations test cases:
@keyframes {
  from, to { transform: none; }
}

For web animtions test cases, the target element is appended after animate().

MozReview-Commit-ID: Gy1sY41jV7G
2016-06-01 16:24:34 +09: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
Carsten "Tomcat" Book a415d80096 Backed out changeset a9db7e5634d7 (bug 1258286) for test_smilCSSFromTo.xhtml test failures 2016-06-01 08:47:06 +02:00
Carsten "Tomcat" Book 85f95c9e86 Backed out changeset d5832177887d (bug 1258286) 2016-06-01 08:46:47 +02:00
Jonathan Hao 525c086187 Bug 1259871 - Replace getSimpleCodebasePrincipal with createCodebasePrincipal. r=sicking
MozReview-Commit-ID: Frx0CjBzuve

--HG--
extra : histedit_source : 036eb321d9ccb20e0e071ba588b0a1249eb34bdd
2016-05-24 18:01:34 +08:00
Astley Chen 3102a18f88 Bug 1258286: Part 2 - update w3c css masking mask-repeat ref test case. r=heycam
MozReview-Commit-ID: 44YCmdFrmok

--HG--
extra : histedit_source : caa06b6d50b61e7d256cd88a425b824546ee2e8a
2016-06-01 11:13:48 +08:00
Astley Chen 23317c963f Bug 1258286: Part 1 - add layer types to nsStyleImageLayers and layer initialization. r=heycam
MozReview-Commit-ID: ENLXAEA62Bm

--HG--
extra : histedit_source : a93d2a0d1603026dfc94e38e8e754646cd307b6d
2016-06-01 11:00:58 +08: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
Andrew Comminos 8941af6511 Bug 1276734 - Avoid unnecessary invalidations for a nsDisplayTableBorderBackground if it uses a fixed background with a separate display item. r=mattwoodrow
MozReview-Commit-ID: 8zJnLCZsbzC

--HG--
extra : rebase_source : 12200ae0fb8d51fbd46f10cca8227fa81d7499d2
2016-05-30 16:03:50 -04:00
Andrew Comminos e11a28e748 Bug 1276734 - Use nsDisplayBackgroundImage for table cells without collapsed borders. r=mattwoodrow
MozReview-Commit-ID: JrGVd2z7FFk

--HG--
extra : rebase_source : b52f4651934673a22573393c4d2326191b635011
2016-05-27 18:41:40 -04:00
Tooru Fujisawa 5fd0e1df86 Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09: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
Tooru Fujisawa d453deaf6e Bug 382721 - Part 7: Render only dirty area for dotted side and dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa 301e5ec420 Bug 382721 - Part 6: Flush path while building long dotted/dashed border. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa 73cafd1729 Bug 382721 - Part 5: Add testcases for dashed/dotted borders. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa 72499083d6 Bug 382721 - Part 4: Support dotted/dashed border-radiused corners. r=jrmuizel 2015-08-06 11:42:09 +09:00
Tooru Fujisawa 6e4ae65190 Bug 382721 - Part 3: Improve spacing and corner interaction of dashed/dotted border. r=jrmuizel 2015-08-06 11:42:09 +09:00
Ethan Lin 4df0a8d12e Bug 1275966 - Part 2. Add reftests for background-repeat: space. r=mstange 2016-05-28 06:27:00 +02:00
Ethan Lin 3b1413d449 Bug 1275966 - Part 1. Fix wrong rendering of background-repeat:space. r=mstange 2016-05-28 06:23:00 +02:00
Olli Pettay ffcb943b14 Bug 1276888 - Optimize out some refcounting in TreeMatchContext::TreeMatchContext, r=baku
--HG--
extra : rebase_source : 96f46729eb009a0b927986f9e9317c2925fa1448
2016-05-31 14:38:04 +03:00
cku 4c1e46c8ca Bug 1275450 - Part 2. Reftest for unresolvable mask-reference r=mstange
MozReview-Commit-ID: Je2mJvwBiF7

--HG--
extra : rebase_source : ab20eada13e14363138dc5b234d5bc68a7d4b10e
2016-05-30 15:57:43 +08:00
cku 1ad8c294dd Bug 1275450 - Part 1. Generate a transparent black mask layer when there is no resolvable mask source or image r=mstange
MozReview-Commit-ID: I2QlZnz07TL

--HG--
extra : rebase_source : accf30f8fe945d59d4fab84c2f9eb42df23c267c
2016-05-31 15:45:42 +08:00
Ethan Lin 29923a5e97 Bug 1275478 - Workaround for svg mask on windows. r=mstange
MozReview-Commit-ID: GilZz7AJTQX
2016-05-31 16:07:38 +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
Mantaroh Yoshinaga dc5df46a62 Bug 1178662 part 3 - Separate SetTimeline function in order to call from style. r=birtles
MozReview-Commit-ID: 9KbsbPuAMW7

--HG--
extra : rebase_source : 873b35cf4dccc4d7fd604894dd2b97ad40b8a1fa
2016-05-31 09:42:37 +09:00
Mantaroh Yoshinaga 9bd12e4b64 Bug 1178662 part 2 - Rename *NoUpdate function in Animation. r=birtles
MozReview-Commit-ID: 6P8pze62IYq

--HG--
extra : rebase_source : 16c1e3cf0fcbf93a46b05ea83ad7af40bdcf5741
2016-05-31 09:42:37 +09:00
Jonathan Watt b9b22bef6c Bug 1276810 follow-up - Fix typo. r=me 2016-05-23 20:12:56 +01:00
Jonathan Watt 24a809a5f3 Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas 2016-05-23 20:12:10 +01:00
Ethan Lin c4d46f86ce Bug 1276435 - Correct the match link in mask-type.html and rename the file to mask-mode-to-mask-type.html. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/masking/mask-type-ref.html => layout/reftests/w3c-css/submitted/masking/mask-mode-to-mask-type-ref.html
rename : layout/reftests/w3c-css/submitted/masking/mask-type.html => layout/reftests/w3c-css/submitted/masking/mask-mode-to-mask-type.html
2016-05-28 17:23:00 +02:00
Ethan Lin 1d82b135fb Bug 1276432 - Correct the match link in reftest. r=dbaron 2016-05-28 03:01:00 +02:00
Jamie Nicol 31350135f5 Bug 1274528 - Don't enforce layers.max-active when layerizing items with different AGRs. r=mstange
This reverts bug 1231818, as it caused problems with async scrolling on
pages with too many active layers.

MozReview-Commit-ID: 8eGjn4fzWFb
2016-05-27 16:29:19 +01:00
Bob Owen a66b7bea7f Bug 1270447 Part 3: Authorize silent printing via the parent. r=jimm
MozReview-Commit-ID: IefWVtWwaXc

--HG--
extra : rebase_source : eb62e33244fbe98a07344f7c5e370edb48ce15b5
2016-05-29 19:53:32 +01:00
Bob Owen 9cf07da276 Bug 1270447 Part 1: Use the RemotePrintJob's print settings in the parent when available. r=jimm
MozReview-Commit-ID: 4PnVf4pzHWr

--HG--
extra : rebase_source : 44f19893b27a2f2987cbd7f38d454f5d31aba5c3
2016-05-29 19:53:24 +01:00
Xidorn Quan 6d44085edf Bug 1229609 - Remove layout.css.text-emphasis.enabled pref. r=heycam
MozReview-Commit-ID: IEWZmZHKoXA

--HG--
extra : source : 382feec3df1b64ccaf07cbfe7de58d0e97a59e46
2016-05-30 14:52:01 +10: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 c7e8a8ebdf Bug 1039541 part 1 - Unprefix text-align-last. r=heycam
MozReview-Commit-ID: 4Lj04tY8CqR

--HG--
extra : source : 266fdd4c808ebc6f75408dab86f7781c9a084d7b
2016-05-30 14:52:01 +10:00
Ting-Yu Lin 0dd7719112 Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
MozReview-Commit-ID: 5TC8KBD5cO6

--HG--
extra : rebase_source : 5a1cc695279dc5c5f4d1799814613c3335a65196
2016-05-26 14:01:58 +08:00
Xidorn Quan 532bc4be2f Bug 1268342 part 4 - Add reftest for ruby with text-combine-upright. r=jfkthame
MozReview-Commit-ID: 85TxCXMv1X

--HG--
rename : layout/reftests/fonts/Ahem.ttf => layout/reftests/w3c-css/submitted/ruby/support/Ahem.ttf
rename : layout/reftests/w3c-css/submitted/flexbox/support/ahem.css => layout/reftests/w3c-css/submitted/ruby/support/ahem.css
extra : source : bf6ab1b1fe9a331bb990364d56a0ddc30790647c
2016-05-30 09:24:18 +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
Xidorn Quan e4d12795cc Bug 1276140 - Use memcpy rather than union to reinterpret in frame properties table. r=froydnj
MozReview-Commit-ID: Inrf22Ve9FQ

--HG--
extra : source : 525240afe663152f2b854e6d23417ef76dac9a8c
2016-05-30 09:19:25 +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
cku 3e45c9df89 Bug 1228280: (followup) Update w3c-css reftest link. r=me
MozReview-Commit-ID: 8kDaRR0kFaJ

--HG--
extra : rebase_source : 071c04231026eacf95df987d6e94e2beb8c2171a
2016-05-29 13:56:10 +08: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
Bobby Holley 70200c80e9 Bug 1275755 - Remove main-thread restrictions on atoms. r=froydnj 2016-05-28 17:08:10 +01:00
Daniel Holbert b30df2048b Bug 1271029: Re-enable test_bug465448.xul in e10s (and b2g) mochitest runs, now that it passes. (test-only)
MozReview-Commit-ID: BXMREKyts9T
2016-05-27 13:26:03 -07:00
Boris Zbarsky 0b4bf8c8ff Bug 1268957. Fire an error event on the <link> element when a stylesheet load is blocked via content policy. r=ckerschb 2016-05-27 13:31:20 -04:00
Bill McCloskey 291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
James Kitchener c3846c4394 Bug 1274796 - Support spaces in MathML namedspaces. r=fredw 2016-05-27 01:48:00 +02:00
Carsten "Tomcat" Book 67da675dcc Backed out changeset fb331e03981a (bug 1271691) for perma failures in scroll-rounding.html 2016-05-27 13:33:31 +02: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
JerryShih 6d1d98ee4f Bug 1271691 - Update painting suppression status in painting flow. r=mattwoodrow, r=tn
CLOSED TREE

--HG--
extra : amend_source : 9c8512a528f0fadbd4c5f51d3a7c588ff2b37d7c
2016-05-26 02:18:00 -04:00
Matt Woodrow f307a8febf Bug 881832 - Change resize-reflow-001 reftest to not have dotted borders to avoid fuzz failures. r=tnikkel 2016-05-23 09:44:51 +12:00
Matt Woodrow 92f63a948f Bug 881832 - Fix hover_helper to handle that multiple resizes due to :hover oscillation are now coalesced and don't fire resize events. r=dbaron 2016-05-12 12:08:31 +12:00
Mats Palmgren 4e63c1e0cf Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Matt Woodrow 0949e08117 Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron 2016-05-12 12:06:38 +12:00
Matt Woodrow 58b82b3f90 Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron 2016-05-12 12:06:11 +12:00
Matt Woodrow 4c51824c83 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical
--HG--
extra : rebase_source : 2369072fafc1754be09346cc2cd63fabee29d190
2016-05-26 18:40:07 +12:00
Tobias Schneider 2bf9b9a3e6 Bug 1174278 - Make filter tainting and canvas tainting. r=jrmuizel
--HG--
extra : rebase_source : 676ae4a6551246499d3a736ac9a35e6ac7f2c91c
2016-05-24 21:50:02 -07:00
CJKu 098094f4ff Bug 1275451: Part 2. SVG mask composition reftests r=mstange
MozReview-Commit-ID: Cm727rK5MZ0

--HG--
extra : rebase_source : 0b6ad25c9f53223bc5f227f14e720527438e0ca2
2016-05-26 16:07:50 +08:00
CJKu 7bbf7cb277 Bug 1275451: Part 1. Respect mask-composite while composing a SVG mask layer r=mstange
MozReview-Commit-ID: 8m2xR4P30hq

--HG--
extra : rebase_source : ea2becbc6c4eb06237eede0e99857c1d4a132fcb
2016-05-26 16:07:43 +08:00
Sebastian Hengst 0d90f54a8b Backed out changeset 4d417e2c21ff (bug 1265468) for asserting in LayerManagerComposite.cpp on OS X 10.10 debug with e10s. r=backout 2016-05-26 10:45:39 +02: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
cku@mozilla.com c19f2ac4d8 Bug 1245499 - Do not trigger a download request for CSS "mask-image" when it's set to a local-reference URI r=dholbert
MozReview-Commit-ID: DPtvKQ2UQof

--HG--
extra : rebase_source : aec873dc8ee96d79f9cda37da2eb324fa14601f1
2016-05-26 13:49:54 +08:00
Matt Woodrow de6a18cca7 Bug 1265468 - Invalidate all layers when dragging a tab to a new window. r=nical 2016-05-26 18:40:07 +12:00
Bobby Holley 2f28cfe4db Bug 1275766 - Implement Gecko_GetElementId and Gecko_GetClassOrClassList. r=heycam 2016-05-25 22:06:45 -07:00
Bobby Holley fd09da820a Bug 1275766 - Give nsStyleQuoteValues threadsafe refcounting. r=heycam
The contents are immutable after creation and safe to destroy on any thread.
2016-05-25 22:06:43 -07:00
Bobby Holley 1faeab3f5c Bug 1275766 - Fix counter style assertion. r=heycam
This is backwards.
2016-05-25 22:06:41 -07:00
Bobby Holley d578dbf50c Bug 1275766 - Invoke the proper URLValue constructor from Servo. r=heycam
Right now these are just coercing the values and invoking the main thread
constructor.
2016-05-25 22:06:40 -07:00
Bobby Holley 8f26af0110 Bug 1275766 - Stub out nsPresContext::HasAuthorSpecifiedRules. r=heycam 2016-05-25 22:06:38 -07:00
Geoff Brown dd65ba7f12 Bug 1274395 - Delete pending crash reports before running tests; r=jmaher 2016-05-25 14:48:42 -06:00
Mats Palmgren df2b4d3bdd Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 21:52:36 +02:00
Mats Palmgren 551e9fc180 Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin 2016-05-25 21:52:36 +02: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
Sebastian Hengst 131c04194a Backed out changeset e24bac891d7d (bug 1272012) for timing out in test_bug615833.html on OS X 10.10 debug. r=backout 2016-05-25 18:19:50 +02:00
Sebastian Hengst 1ebe7c3c5e Backed out changeset 5e25db36b720 (bug 1272012) 2016-05-25 18:19:43 +02:00
Bob Owen 20bfb2b8a0 Bug 1275194: Null check mPrt in nsPrintEngine::FirePrintingErrorEvent before notifying listeners. r=jimm
MozReview-Commit-ID: CSukeDyGAvD

--HG--
extra : rebase_source : 0a90b4e9f34065d8fa31938f917b304b7e370e74
2016-05-24 08:18:54 +01:00
Mike Shal 409fea0302 Bug 1275356 - Fix newlines in gen-css-properties.py on Windows; r=chmanchester
MozReview-Commit-ID: 9BDStGNIEqg

--HG--
extra : rebase_source : 67455fd95471094610a20300bf756bb4b78f9220
2016-05-24 10:49:51 -04:00
Mats Palmgren b8472acaf5 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Mats Palmgren 2b1544d87c Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin
Up/Down should open the dropdown menu on OSX, but not close it.
Spacebar should toggle the dropdown on OSX, but only if Alt, Ctrl or
Cmd isn't pressed.
Spacebar should open the dropdown on non-OSX platforms, but not close
it, with or without key modifiers.
2016-05-25 10:48:52 +02:00
Gijs Kruitbosch a41e908395 Bug 1270144 - use error() rather than warning() in order to ensure this shows up on the treeherder summary, rs=emorley-over-irc
MozReview-Commit-ID: COtfpoU14vg

--HG--
extra : rebase_source : 0bfd093b6dc762498a5a737cab3b6c85fe186ec0
2016-05-25 15:14:56 +01:00
Kartikaya Gupta 7ca348c9ab Bug 1273024 - Stop inflating the visible rect for fixed-position items unnecessarily. r=mattwoodrow
MozReview-Commit-ID: E11n1WhvVBO
2016-05-25 09:19:34 -04:00
Edgar Chen 39105e76a9 Bug 1274519 - Don't append result to the candidate list if got unexpected token at the end of size string; r=heycam
MozReview-Commit-ID: 9jwHNUPZ94k
2016-05-25 09:47:18 +08:00
Ethan Lin 7aeecfdaf5 Bug 548372 - Part4. Add space/round for shorthand property test. r=heycam 2016-05-22 18:54:00 +02:00
Ethan Lin e80a474067 Bug 548372 - Part3. background-repeat round/space test cases. r=heycam, mstange 2016-05-18 23:16:00 +02:00
Ethan Lin 6710f05dd7 Bug 548372 - Part2. background-repeat round/space rendering. r=mstange 2016-05-25 02:29:00 +02:00
Lazar Sumar a045541027 Bug 548372 - Implement round and space values of background-repeat CSS property. r=dbaron 2016-05-06 02:16:00 +02:00
Carsten "Tomcat" Book e7cf15b28d Backed out changeset 8c804afcc865 (bug 1272012) for test failures in test_select_change_event.html 2016-05-25 13:21:58 +02:00
Carsten "Tomcat" Book baa01dd21c Backed out changeset 467b0d255265 (bug 1272012) 2016-05-25 13:21:32 +02:00
Jonathan Kew 1233cee71f Bug 1273154 - Re-land followup to handle word-initial NNBSP shaping in Mongolian, with its reftest. r=jrmuizel 2016-05-25 10:51:13 +01:00
Jonathan Kew 16fe787f15 Backout 51b1f2343ad9 and f24ab7184139 (bug 1273154 followups) for reftest crash on linux 2016-05-25 10:36:46 +01:00
Mats Palmgren cdc61249b6 Bug 1272012 - Tweak or disable a few tests for <select size=1> Up/Down key behavior on OSX. 2016-05-25 10:48:52 +02:00
Mats Palmgren 74d23ef8ae Bug 1272012 - Support more keys to open and/or toggle a combobox dropdown menu. r=enndeakin
Up/Down should open the dropdown menu on OSX, but not close it.
Spacebar should toggle the dropdown on OSX, but only if Alt, Ctrl or
Cmd isn't pressed.
Spacebar should open the dropdown on non-OSX platforms, but not close
it, with or without key modifiers.
2016-05-25 10:48:52 +02:00
Mats Palmgren cd270495b8 Bug 1266268 - [css-grid] Tests <percentage> for grid gap properties. 2016-05-25 10:48:52 +02:00
Mats Palmgren 5e2c16366e Bug 1266268 - [css-grid] Implement <percentage> for grid gap properties. r=dholbert 2016-05-25 10:48:52 +02:00
Jonathan Kew a9b91aebd1 Bug 1273154 - Reftest for Mongolian shaping with word-initial NNBSP. r=jrmuizel 2016-05-25 09:23:13 +01:00
Cameron McCormack daeb3ff4dd Bug 1275452 - Part 4: Remove anonymous content styling hack in ServoStyleSet. r=bholley
--HG--
extra : rebase_source : ef6ace49a67f19d7a16815b85efe18faebf69b79
2016-05-25 16:55:50 +10:00
Cameron McCormack 9f068966f6 Bug 1275452 - Part 2: Eagerly restyle native anonymous content in stylo. r=bholley
--HG--
extra : rebase_source : d0e728b4edcd32482743e98f5aecd22c669354f1
2016-05-25 16:55:49 +10:00
Cameron McCormack 4e94a3cb48 Bug 1275452 - Part 1: Add Servo_RestyleSubtree for eagerly restyling a subtree of a document. r=bholley
--HG--
extra : rebase_source : add50774bc74cc2651b057e5a9518cf2b8b0bb12
2016-05-25 16:55:49 +10:00
Daniel Holbert fb4d5e0d63 Bug 1275067: Flip logic in nsStyleCoord::ToLength, for safer general-case behavior. r=heycam
MozReview-Commit-ID: 7KYn5hv2Kmd
2016-05-24 23:54:35 -07:00
Hiroyuki Ikezoe 73fde46943 Bug 1167519 - Part 2: A mochitest to check a new transform position replaced by old transform transition is close to the old one. r=birtles
MozReview-Commit-ID: 1s8ZH3KPf9a

--HG--
extra : rebase_source : bb117f14382ff88a9142d9d2ce7756fa3e251288
2016-05-25 12:41:23 +09:00
Hiroyuki Ikezoe 46a6c883c6 Bug 1167519 - Part 1: Calculate plausible starting value on compositor with TimeStamp::Now() when replacing an old transtion. r=birtles
Transitions on the compositor sometimes go further ahead while the
main-thread is busy.  When the transition on the compositor is replaced by a
new one, until now we calculate the current position of the old one with the
most recent refresh time.  But if the replace is done on a busy frame, the
calculated position will be far from the real position on the compositor.
As a result, we can see jumping transitions after busy frames.
To mitigate this issue, we should calculate a plausible current position of
the old one with the current time just before sending the new transition to
the compositor, i.e., after all JS callback works have done.
The plausible value is stored into KeyframeEffectReadOnly::mProperties, not
into mKeyframes.  If we store the value into keyframes,
KeyframeEffectReadOnly::GetKeyframes() will return a different values after
busy frames.
Note that with this patch getComputedStyle() does not return the plausible
value because this patch does not affect styling process. getComputedStyle
issue will be fixed in bug 1273834.

MozReview-Commit-ID: B85kIx6qeyy

--HG--
extra : rebase_source : d19fd18a78bc1ce7820301f2b98832f0ba3dcd8e
2016-05-25 05:51:57 +09:00
Bobby Holley 8cd5efe7f9 Bug 1274443 - Always cache reset structs for servo. r=heycam
The shared code always caches inherited structs, but not reset structs. Without
this change we will always do an FFI call to get the struct.
2016-05-24 18:50:31 -07:00
Bobby Holley 9c8af73cc2 Bug 1274443 - Avoid calling ApplyStyleFixups for ServoComputedValues. r=heycam 2016-05-24 18:50:28 -07:00
Bobby Holley e4b157691b Bug 1274443 - Properly cache and flag servo style structs in nsStyleContext::StyleData. r=heycam 2016-05-24 18:50:26 -07:00
Bobby Holley d15ee172fb Bug 1274443 - Replace mPresArenaAllocCount with a hashtable to make it easy to spot the cause of double-frees. r=heycam 2016-05-24 18:50:25 -07:00
Thomas Wisniewski ef181f575e Bug 955857 - Add tests for overflow-wrap. r=dbaron
MozReview-Commit-ID: 5HVMTNWDIaz

--HG--
rename : layout/reftests/text/wordwrap-04.html => layout/reftests/text/overflowwrap-04.html
rename : layout/reftests/text/wordwrap-05.html => layout/reftests/text/overflowwrap-05.html
rename : layout/reftests/text/wordwrap-06.html => layout/reftests/text/overflowwrap-06.html
rename : layout/reftests/text/wordwrap-07.html => layout/reftests/text/overflowwrap-07.html
rename : layout/reftests/text/wordwrap-09.html => layout/reftests/text/overflowwrap-09.html
rename : layout/reftests/text/wordwrap-10.html => layout/reftests/text/overflowwrap-10.html
extra : rebase_source : 3ea075f4837fc38fbc450189324180680a10e945
2016-05-23 21:41:03 -04:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
L. David Baron 0b99d303e1 Back out temporary debugging patch for bug 1265280 (changeset ff82389380c1).
MozReview-Commit-ID: L4Of7FIBFaZ

--HG--
extra : rebase_source : f77286ec75897809b442380c435baa2e735bb63f
2016-05-24 16:54:29 -07: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
Sebastian Hengst 2105dbce5a Backed out changeset 607941762a73 (bug 1274796) for failing test_lengths-3.html on Android. r=backout 2016-05-24 18:36:28 +02:00
cku 3cada11da2 Bug 1275026: Part 2. Crash test r=jfkthame
MozReview-Commit-ID: 5bp6XYNJB2L

--HG--
extra : rebase_source : 0ae68d23b7fb53fa35353c8a2afc69970e29f587
2016-05-24 17:38:32 +08:00
cku a41bad531c Bug 1275026: Part 1. Prevent infinit recursion in GenerateAndPushTextMask r=jfkthame
MozReview-Commit-ID: 4tcMuW5i13F

--HG--
extra : rebase_source : edee596f677e9819d90700d3df77c417eb5c9cf5
extra : source : eabf478ac1ce8e7718a123dd37b92878166fdf2a
2016-05-24 12:14:57 +08:00
James Kitchener fd01e0331b Bug 1274796 - Support spaces in MathML namedspaces. r=fredw
--HG--
extra : rebase_source : eff965484ca6b54d4846687fe0a89c36ced8fb43
2016-05-21 19:00:00 +02:00
Keith Yeung 28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Carsten "Tomcat" Book 013d342a7f Backed out changeset af8d93926a96 (bug 1263349) for causing crashes in nsDisplayListBuilder::UpdateCurrentScrollParent on a CLOSED TREE 2016-05-24 11:14:29 +02: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
Edgar Chen 7e21de3ed5 Bug 1274526 - Part 1: Implement support for 'q' absolute length units in CSS; r=heycam
MozReview-Commit-ID: vTDufVkAuv
2016-05-23 15:18:34 +08:00
Ethan Lin 57475eb494 Bug 1272004 - Add test case to check fallback logic between mask-mode and mask-type. r=heycam 2016-05-23 03:32:00 +02:00
Ben Tian 7b7d04ca34 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08: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
Seth Fowler 41d7cfb3d3 Bug 1263349 (Part 1) - Add some utility functions for dealing with scrolling-related tasks. r=botond 2016-05-24 01:12:47 -07:00
Andi-Bogdan Postelnicu 7ee9eb0799 Bug 1273128 - prevent null pointer dereference on |nativeKeyEvent|. r=janv
MozReview-Commit-ID: IOnUZfZHcnG

--HG--
extra : rebase_source : 3007958b2a0a5d3aa2b3e232cfebd9b7005ed7d5
2016-05-16 16:19:23 +03:00
David Anderson 60ca648e99 Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
Daniel Holbert 0c8b3b6bba Bug 1275093: Enable webkit prefix pref for webkit-text-stroke reftests. r=jfkthame
MozReview-Commit-ID: BlFRWTNbJtV
2016-05-23 21:42:37 -07:00
Daniel Holbert 9a78c49077 Bug 1274096 part 2: Add support for "-webkit-flex" & "-webkit-inline-flex" as spellings of modern flexbox "display" keywords, if webkit prefix support is enabled. r=mats
MozReview-Commit-ID: 3UKsC1qTz1B
2016-05-23 21:42:36 -07:00
Daniel Holbert 09d9eb8a88 Bug 1274096 part 1: Add support for webkit-prefixed aliases of modern flexbox CSS properties. r=mats
MozReview-Commit-ID: FcOqz82qCAI
2016-05-23 21:42:34 -07:00
Hiroyuki Ikezoe e5147036e7 Bug 1166500 - Part 5: Remove some AreAsyncAnimationsEnabled checks. r=dbaron
Now we can throttle some sort of animations which run on the main thread
as well as animations on the compositor. So, AreAsyncAnimationsEnabled checks
should be removed.

The check in PresShell::HandleEvent might be replaced with checking
nsIDocument::mNeedStyleFlush, but I am not sure.
2016-05-24 12:57:42 +09: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
Hiroyuki Ikezoe eec4931934 Bug 1166500 - Part 3: Add KeyframeEffectReadOnly::CanIgnoreIfNotVisible(). r=dbaron 2016-05-24 12:57:42 +09:00
Hiroyuki Ikezoe 617fa803bb Bug 1166500 - Part 0: Test that offscreen animation optimization does not throttle visible animations. r=dbaron
* partially-out-of-view-animation.html
This test is a normal test case (i.e. a trivial one). An animation on an
element which is partially out of the view. If ofscreen optimization
is totally broken, this test will fail.

* in-visibility-hidden-animation-pseudo-element.html
This test checks animation on visible pseudo element which is attached to
invisible element is not throttled.

* in-visibility-hidden-animation.html
This test checks animation on visible element which is inherited from
invisible parent element is not throttled.
2016-05-24 12:57:42 +09:00
Phil Ringnalda 6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Wes Kocher 2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Gijs Kruitbosch 29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01: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
Ting-Yu Lin d06693b2f0 Bug 1274835 - Refactor code to process basic shape from clip-path. r=heycam
This can be used in the implementation of shape-outside.

MozReview-Commit-ID: C7bd4D2Kwpm

--HG--
extra : rebase_source : fefdd869b1ede3c518e496d8b25ffa5953a7145d
2016-05-22 20:41:19 +08:00
David Anderson 25f45d71ec Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow) 2016-05-23 00:27:57 -07:00
Daisuke Akatsuka 9b0ebdae81 Bug 1209405 - Part 6: Add restyle test for SMIL animation. r=hiro
MozReview-Commit-ID: 2nOxiujnQgv

--HG--
extra : rebase_source : 002bbf2852f51c664797b62767a1ff76cad30bae
2016-05-23 10:53:23 +09:00
Daisuke Akatsuka d4d3ef1214 Bug 1209405 - Part 5: Add animation test that changes 'display' attribute. r=birtles
MozReview-Commit-ID: BYxlY83O83x

--HG--
extra : rebase_source : 58af9fa1f93bfc81607cc27359056a611deec053
2016-05-23 10:47:27 +09:00
Daisuke Akatsuka 761ea8c326 Bug 1209405 - Part 4: Add defs element tests. r=birtles
MozReview-Commit-ID: 2q7Zxq4marr

--HG--
extra : rebase_source : 6de4b17886ddf2f63df96714a4e8cd20faf72d89
2016-05-23 10:47:22 +09:00
Jeremy Chen 685cf4c3d8 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl

--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Jeremy Chen 0f24420a8f Bug 1273766 - part2: purge NS_SubtractHint inline. r=heycam
MozReview-Commit-ID: 1UX1wZJNnat

--HG--
extra : rebase_source : e74d1cf5ca0866897634339a0fe6df65e0d249ae
2016-05-23 11:26:03 +08:00
Jeremy Chen 1a607ceb9d Bug 1273766 - part1: purge NS_CombineHint inline. r=heycam
MozReview-Commit-ID: CWlyjREgoEk

--HG--
extra : rebase_source : 452a425fe4c722d7d5e15118ecb0e59c54908f37
2016-05-23 11:26:03 +08:00
Brian Birtles 8ebe6988d5 Bug 1263486 part 3 - Use nsCSSValue move constructor in CSSAnimationBuilder::GetComputedValue r=heycam
MozReview-Commit-ID: H79OAEkdq4L

--HG--
extra : rebase_source : 13563c4d4c8950bba168c1b85108359b29f0efda
2016-05-20 09:09:37 +09:00
Brian Birtles 0a4031e946 Bug 1263486 part 2 - Use nsCSSValue move assignment operator in nsCSSValue::Adopt(Pair)ListValue r=heycam
MozReview-Commit-ID: 2fTFNmtHxIP

--HG--
extra : rebase_source : b9ed5d5a19488a7d5a6b8b48a52e8619672c945b
2016-05-20 09:09:33 +09:00
Brian Birtles 7bf700da8b Bug 1263486 part 1 - Add a move constructor and assignment operator to nsCSSValue r=heycam
MozReview-Commit-ID: IgtvOuPqWge

--HG--
extra : rebase_source : 65db9f6e1cfce5b1ac711195c5cce7b43590170f
2016-05-20 09:09:28 +09:00
Matt Woodrow dc5be18932 Bug 881832 - Change resize-reflow-001 reftest to not have dotted borders to avoid fuzz failures. r=tnikkel 2016-05-23 09:44:51 +12:00
Matt Woodrow 26046e381f Bug 881832 - Fix hover_helper to handle that multiple resizes due to :hover oscillation are now coalesced and don't fire resize events. r=dbaron 2016-05-12 12:08:31 +12:00
Mats Palmgren fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Matt Woodrow dc8ef42355 Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron 2016-05-12 12:06:38 +12:00
Matt Woodrow 396c2df3ff Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron 2016-05-12 12:06:11 +12:00
Jonathan Kew 1d578125d7 Bug 1274368 - Reftest for resizers on elements with vertical writing modes. r=dholbert 2016-05-22 10:39:49 +01:00
Botond Ballo 57c1a0f283 Bug 1273250 - Simplify logic for determining whether a display item should be fixed to thew viewport. r=mstange
MozReview-Commit-ID: 3tXhaBnNa0K

--HG--
extra : rebase_source : 2e894c9dd444cf49606a4a4381e86a5b9f11669b
extra : amend_source : ba114ec32272b696c3b29d45d42c4a36ad3854fb
extra : histedit_source : 7f40ea44e8983191bc3a1b15ab2ddedbe5fc2cbe
2016-05-16 19:49:49 -04:00
Botond Ballo bdb7838ac2 Bug 1273250 - Set a layer clip rather than a scroll clip for fixed background layers if the clip moves with the layer. r=mstange
This patch also removes the earlier workaround added in bug 1272525.

MozReview-Commit-ID: HR2wF2BGsKl

--HG--
extra : rebase_source : b561f8721d91c930bced7664f11a331552b97a5e
extra : histedit_source : d57e430f76851ce252416aa77fdaad0897d03756
2016-05-16 17:20:23 -04:00
Botond Ballo 8320a4382b Bug 1273250 - Expand the visible rect of fixed background display items instead of special-casing them in FrameLayerBuilder. r=mstange
MozReview-Commit-ID: DT3Mh8ordzQ

--HG--
extra : rebase_source : 5da55ed6ec733ff10c2c855c95bf4109fdbbe4b5
extra : histedit_source : e002d39c9d4df54468d66fd13a9663db799d490f
2016-05-16 17:14:29 -04:00
Botond Ballo 4b2d2e68d3 Bug 1273250 - Factor out a helper function to calculate the viewport rect. r=mstange
MozReview-Commit-ID: ACJayEWplCY

--HG--
extra : rebase_source : 22ef189053bd80e3f8faaa10fb239031f8010587
extra : histedit_source : 510dbd0887b2cecc5366d0be1cb380ec7efb3d0d
2016-05-16 17:13:19 -04:00
Kartikaya Gupta d6c154f454 Bug 1274397 - Small optimization to use a RegionBuilder. r=tnikkel
MozReview-Commit-ID: 6Yro9uDIIEd
2016-05-21 00:06:44 -04:00
Jonathan Kew 187c53ae5c Bug 1273154 - Reftest for Mongolian shaping across NNBSP. r=jrmuizel 2016-05-21 12:29:29 +01: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
Cameron McCormack b42139ed5f Bug 1273838 - Part 4: Add FFI set/copy methods for -moz-binding. r=bholley
--HG--
extra : rebase_source : 2f635bf73bf93482a64b4e5d269ab034b20200a2
2016-05-21 10:02:54 +10:00
Cameron McCormack b2758c810d Bug 1273838 - Part 3: Pass sheet base/referrer/principal to Servo_StylesheetFromUTF8Bytes. r=bholley
--HG--
extra : rebase_source : 79e386f605f08e07f4737f044b6bbd3b413e388d
2016-05-21 10:02:54 +10:00
Cameron McCormack 2af45ab23d Bug 1273838 - Part 2: Add stylo bindings glue for refcounting nsIPrincipals and nsIURIs. r=bholley
--HG--
extra : rebase_source : 3feef1315c4c8716952f630a38a4802e118b44ed
2016-05-21 10:02:54 +10:00
Cameron McCormack d6732018a8 Bug 1273838 - Part 1: Make URLValue construction thread-safe. r=bholley
--HG--
extra : rebase_source : 2190da734a8a05089928114c8d80315406ad272f
2016-05-21 10:02:54 +10:00
Cameron McCormack 172aeab3d2 Bug 1272552 - Use more normal refcounting for css::ImageValue. r=bholley
--HG--
extra : rebase_source : 83aebd2b1350e0e5e26f6f00cf8d482e0c8bdd13
2016-05-21 10:02:53 +10:00
L. David Baron 76e8e7cc58 Backed out changeset 2bc3ee78d5d3 (bug 1274397) for failing to compile, probably due to failing to #include headers. 2016-05-20 21:24:17 -07:00
Kartikaya Gupta 9994166655 Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
Kartikaya Gupta 3255b2aed3 Bug 1274397 - Small optimization to use a RegionBuilder. r=tnikkel
MozReview-Commit-ID: 6Yro9uDIIEd
2016-05-21 00:06:44 -04:00
Boris Zbarsky ee97bc5aed Bug 1267989 part 3. Make suppressing event handling on a document also block script execution for that document. r=smaug
Note that we do this here instead of when we suspend timeouts, because it makes
it simpler to handle situations in which a window's document changes while
things are suspended/blocked.

The nsDocumentViewer.cpp is not strictly needed, but avoids some extraneous
calls to SuppressEventHandling with a 0 suppression count.
2016-05-20 23:13:18 -04:00
Markus Stange a779579806 Bug 1271714 - Test.
MozReview-Commit-ID: 7dKuI80NEjr
2016-05-19 15:06:04 -04: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
Alexandre Lissy b423621b8a Bug 1273998 - Proper export of printing IPDL with --disable-printing r=bobowen,glandium,?glandium
MozReview-Commit-ID: GNUrl6LKcMm

--HG--
extra : rebase_source : 9c1949b51b87c1d3bf6c8e59b36b6ebed263e22b
2016-05-19 12:25:22 +02:00
Daniel Holbert 421e7e6728 Bug 1272983 part 4: Remove the "NoPercentage" getters for margin/padding, and fold their impls into the main getters. r=dbaron
a=KWierso for inbound metering

MozReview-Commit-ID: K2ScimpByn2
2016-05-20 15:06:31 -07:00
Daniel Holbert b2d8d65181 Bug 1272983 part 3: Use more forgiving padding getter in nsTreeBodyFrame.cpp, for better behavior with percent padding. r=dbaron
MozReview-Commit-ID: 10wFgGQ2Dqt
2016-05-20 15:05:35 -07:00
Daniel Holbert 4c16d721f5 Bug 1272983 part 2: Use more forgiving margin/padding getters in nsButtonFrameRenderer, for better behavior when percent or auto values are encountered. r=dbaron
MozReview-Commit-ID: 4vIehNg2vND
2016-05-20 15:05:33 -07: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
L. David Baron 0ff0dbb850 Bug 1274450 - Disable PGO for nsTreeBodyFrame::PaintText. r=sfink a=KWierso
MozReview-Commit-ID: GL7gz3vuvAD
2016-05-20 14:46:02 -07:00
Nathan Froyd 21a2c67fd3 Bug 1272397 - use AppendElements in GetColorsForProperty; r=tromey
Creating an array of exactly the size that we need is faster than
possibly going through several rounds of reallocation and copying.
2016-05-19 21:48:59 -04: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
Kan-Ru Chen d5a5ebb1c5 Bug 1271931 - Make DisplayItem::IsUniform to return Maybe<nscolor>. r=tnikkel
Maybe<nscolor> ensures that correct value is returned and also makes the
error checking clearer than using a out param.

MozReview-Commit-ID: 39uHIFCZzqn

--HG--
extra : rebase_source : 1885906646ebc9739c86aecb2b8e4bd0ee02e97f
2016-05-19 16:07:52 +08:00
Sebastian Hengst 65ba36b925 Backed out changeset 97aef1a40d0f (bug 1273154) 2016-05-19 10:35:57 +02:00
CJKu fb8594dce2 Bug 1228280 - Part 8. Keep style consistent and stop doing null check for return value of operator new
MozReview-Commit-ID: GoK0xuCWTP
2016-05-19 15:44:42 +08:00
CJKu 5e2e2b7e08 Bug 1228280 - Part 7. reftest of SVG mask and image mask interleaving;
MozReview-Commit-ID: 6Cjn84ISQi3
2016-05-19 15:44:31 +08:00
CJKu 9da6045c99 Bug 1228280 - Part 6. Single SVG mask optimization;
MozReview-Commit-ID: 7k1XRTpGbtH
2016-05-19 15:44:19 +08:00
CJKu 27969c0e19 Bug 1228280 - Part 5. Paint multiple SVG and image masks;
MozReview-Commit-ID: FOgcnR9cYlH
2016-05-19 15:44:07 +08:00
CJKu 936ab8c243 Bug 1228280 - Part 4. Create nsSVGMaskProperty to carry multiple mask info;
MozReview-Commit-ID: LPTqls7wvqJ
2016-05-19 15:43:55 +08:00
CJKu 5cec98da52 Bug 1228280 - Part 3. Move mask painting out of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: Iwcqhy7qYR2
2016-05-19 15:43:43 +08:00
CJKu b4f5e64881 Bug 1228280 - Part 2. Change the parameters of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: CaOINlG7HD6
2016-05-19 15:43:32 +08:00
CJKu be0a6b927b Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Cameron McCormack c528f52278 Bug 1273771 - Followup: Use nsDependentCSubstrings for pointer/length pairs passed in from Servo. r=bholley 2016-05-19 16:54:58 +10:00
Jonathan Kew 643840276f Bug 1273154 - Reftest for Mongolian shaping across NNBSP. r=jrmuizel 2016-05-19 07:01:59 +01:00
Chris Peterson 89c0478b18 Bug 1273363 - Fix -Wshadow warnings in layout/svg/. r=dholbert
layout/svg/SVGTextFrame.cpp:4198:28 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGClipPathFrame.cpp:388:18 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:562:15 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:586:26 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:620:15 [-Wshadow] declaration shadows a local variable

--HG--
extra : rebase_source : d8652b0c6bc2532119f351d7b0dc860987b32677
2016-05-16 22:02:08 -07: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 55e4b39110 Bug 1141468 - Don't report that we need component alpha for svg filters, since text within it will never have subpixel-AA. r=mstange 2016-05-18 15:14:38 +12: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
Matt Woodrow 2e5a9db070 Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange 2016-05-18 15:12:14 +12:00
Bobby Holley 54e2b1cf7e Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 18:14:02 -07:00
Sebastian Hengst 542bd271b5 Backed out changeset 48d8323378ac (bug 1273771) for Windows build bustage. r=backout on a CLOSED TREE 2016-05-18 22:32:30 +02:00
Jonathan Kew 7060edb007 Bug 1272997 - Reftest for horizontal-only resizing of the document's root frame with vertical writing mode. r=dholbert 2016-05-18 21:07:54 +01:00
Jonathan Kew 4f379e76a3 Bug 1272997 - followup 4 - Set resize flags properly using logical accessors in PresShell. r=dholbert 2016-05-18 21:07:54 +01: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
Bobby Holley 495a804524 Bug 1273771 - Atom infrastructure for Servo. r=heycam
This is based on earlier work by Ms2ger.
2016-05-18 12:22:44 -07:00
Jonathan Kew e08d24f30d Bug 1260825 - Reftest for highlighting of text involving surrogate pairs with graphite shaping. r=jrmuizel 2016-05-18 15:22:59 +01:00
Keith Yeung 90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07: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 83b2cc47a0 Bug 1273129 - Fix typo from physical to logical conversion (in bug 1113206). r=jfkthame 2016-05-18 18:21:41 +02:00
Mats Palmgren 066a6bf28d Bug 1273433 part 2 - Some basic <legend align> reftests. 2016-05-18 13:49:33 +02:00
Mats Palmgren 959f2206d8 Bug 1273433 part 1 - Make <legend align=right> work again. r=jfkthame 2016-05-18 13:49:33 +02: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 ab4dcaeb46 Bug 1271392 part 5 - [css-grid] Reftest tweaks. 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 2a25239773 Backed out changeset 8825e67c19a7 (bug 1141468) for M(4) perma-failures in test_transformed_scrolling_repaints_3.html on OSX 10.10. r=backout 2016-05-18 10:38:10 +02:00
Sebastian Hengst 68055f003a Backed out changeset 0e40f51068b4 (bug 1141468) 2016-05-18 10:38:03 +02:00