Commit Graph

50740 Commits

Author SHA1 Message Date
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
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