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

50871 Коммитов

Автор SHA1 Сообщение Дата
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
Sebastian Hengst 6b1dac9542 Backed out changeset 93586651e956 (bug 1141468) 2016-05-18 10:37:55 +02:00
CJKu ffcae1dc76 Bug 1272970 - fix test_transitions_per_property failure; r=mstange
MozReview-Commit-ID: 9y9gT0dagDv

--HG--
extra : rebase_source : a01d99716b26e072b2ae74e3602772764810991c
2016-05-15 22:39:31 +08:00
CJKu e9520b431c Bug 1273068 - Part 1. nsDisplayBackgroundColor::GetOpaqueRegion should respect bg-clip value r=jfkthame
MozReview-Commit-ID: BJWYoA8UQvJ

--HG--
extra : rebase_source : 58ce148d5fd84717e5721303f629c2e17516f6e8
2016-05-16 22:31:02 +08:00
Matt Woodrow 7727334a3e Bug 1141468 - Don't report that we need component alpha for svg filters, since text within it will never have subpixel-AA. r=mstange
--HG--
extra : rebase_source : 18572157a0ef1ebb20dba9b7d903d788c31fbd09
2016-05-18 15:14:38 +12:00
Matt Woodrow 654125d823 Bug 1141468 - Clean up prerendering code in nsDisplayTransform to be easier to follow. r=mstange
--HG--
extra : rebase_source : ae9ded54e633e2ebffaeb8fef0b47a2d041dab1f
2016-05-18 15:12:44 +12:00
Matt Woodrow 4258a918f0 Bug 1141468 - Don't attempt to modify prerender state (for will-change) in nsDisplayTransform since it's already too late. r=BenWa,mstange
--HG--
extra : rebase_source : 62e38ec1e4fbfa4f92a008e16a85a7db5691b7ed
2016-05-18 15:12:14 +12:00
Moritz Brunner f9f6b3c538 Bug 732733 - Resize drag image relative to the available screensize. r=jimm
--HG--
extra : rebase_source : 121170788742da505aada578a663b40ed05d838e
2016-05-13 06:48:00 -04:00
Xidorn Quan 6972973d70 Bug 1266645 - Move around a warning to avoid triggering it for valid cases. r=jfkthame
MozReview-Commit-ID: 3qRkNIUeCom

--HG--
extra : source : df5b541e7189cd1bee7dd073f8f8543bd9bb5197
2016-05-18 09:09:25 +10:00
Jessica Jong eb72222ba6 Bug 1265968 - fire change event after selected item is changed in dropdown. r=smaug 2016-05-17 12:50:50 -07:00
firefox@hindlemail.co.uk 94f266f4ff Bug 1263288 - Make GetFrameForNodeOffset return a sibling frame for frameless content. r=mats
This fixes missing caret problems.

Also changed GetFrameForNodeOffset to be non recursive to prevent possibly of
large stack frame.
2016-05-11 15:28:45 -06:00
Kartikaya Gupta b9e4a263e3 Bug 1270019 - Add a SetRestoreResolution API for fennec's SessionRestore to use. r=rbarker
MozReview-Commit-ID: 7WqmgAkFItQ
2016-05-17 14:50:08 -04:00
Andi-Bogdan Postelnicu bac65649ef Bug 1273123 - removed unused variable |mRestoringHistoryScrollPosition|. r=dbaron
MozReview-Commit-ID: 6JDCk7tFKo6

--HG--
extra : rebase_source : f71628d64fe4f8260da3582e21c58f99dcaade31
2016-05-17 09:51:05 +03:00
Kartikaya Gupta 6637b49101 Bug 1271432 - Optimization to avoid recomputing the same Matrix over and over. r=tnikkel
MozReview-Commit-ID: 28lV5ZRswxu
2016-05-17 11:05:46 -04:00
Kartikaya Gupta 9fe9512858 Bug 1271432 - When combining event regions across layers, don't expand the regions that shouldn't be expanded. r=tnikkel
MozReview-Commit-ID: 6GlYiJAm7rO
2016-05-17 11:05:46 -04:00
Timothy Nikkel de51310fb9 Bug 1267489. nsImageBoxFrame should unlock old image when changing to a new image. r=dholbert 2016-05-17 03:13:28 -05:00
stefanh@inbox.com d76d8b9c90 Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
Botond Ballo 11fbf22687 Bug 1272525 - Add a reftest for clipping of fixed background layers inside a BasicLayerManager. r=mstange
MozReview-Commit-ID: 1MYEvtc0mu8

--HG--
extra : source : 2fc2a95fcf7fada19dace3ad31f336ce8f14c165
extra : histedit_source : 7e3ea3585917a0445b1f6b800e81e88459b574f8
2016-05-16 16:16:24 -04:00
Botond Ballo 364c95341e Bug 1272525 - Set a layer clip rather than a scroll clip for fixed background layers if not using a widget layer manager. r=mstange
MozReview-Commit-ID: 2fJyQXSLzsU

--HG--
extra : source : 8a282bae4fa3451efb3187d695ce0d523262acfd
extra : amend_source : 2e3d55a4cee03f6c3c58fe85e98f87a034f2bd39
extra : histedit_source : f6d5b5bfa98795824c0968065011b9ff4a4a6f5d
2016-05-16 14:15:48 -04:00
Kartikaya Gupta 11bfa10a5a Bug 1264297 - Don't do paint-skipping for elements with perspective, until we can properly populate the displayport. r=mstange
MozReview-Commit-ID: D3wKzWU72yi

--HG--
extra : rebase_source : f4487d2b37fe9799b32b40d0207b44dd50fca42f
2016-05-16 12:07:01 -04:00
Masayuki Nakano 8a70a17c6a Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.

MozReview-Commit-ID: JMT614copjG

--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano 3359bad586 Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Bob Owen 2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Bob Owen 80ef8208d0 Bug 1189846 Part 8: Make RemotePrintJob a print progress listener forwarder. r=jimm
MozReview-Commit-ID: 4ADQ6Hx46fZ
2016-05-16 10:40:54 +01:00
Bob Owen 757e385a15 Bug 1189846 Part 3: Remove CreatePrintSettings nsIPrintOptions and use GetNewPrintSettings instead. r=jimm
MozReview-Commit-ID: Esv5zYxpKVo
2016-05-16 10:40:54 +01:00
Hiroyuki Ikezoe 00e2f46aeb Bug 1268385 - Clear isRunningOnCompositor for script animations if associated nsIFrame is destroyed. r=birtles
MozReview-Commit-ID: 3tTkDtxkHcT

--HG--
extra : rebase_source : 388f548cb30f5384cceb620a595dd10b5fd22e4e
2016-05-16 16:25:46 +09:00
Kan-Ru Chen c5d6a959b2 Bug 1261612 - Allow <iframe mozbrowser> in chrome doc to use transparent attribute. r=smaug
MozReview-Commit-ID: JjiPKnw95pS
2016-05-16 10:56:09 +08:00
Kan-Ru Chen d5e601ce6f Bug 1261612 - Remove TabChild::IsRootContentDocument and related methods. r=smaug
MozReview-Commit-ID: 2ms1lBfimfv
2016-05-16 10:56:07 +08:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jonathan Watt eef9767c21 No bug - Mark some SVG classes as final. r=sparky 2016-05-06 17:25:55 +01:00
Ting-Yu Lin d9623c94f4 Bug 1272840 - Resurrect the URL to block-and-line.html r=dbaron
DONTBUILD (NPOTB)

MozReview-Commit-ID: Hqk3kSUftRM

--HG--
extra : rebase_source : c193442d7018355914f731d94dba587e480443bf
2016-05-14 11:44:38 +08:00
L. David Baron 55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Gijs Kruitbosch 40ea68f72f Bug 1270144 - fix message from timed out tests to indicate the following crash is caused by us terminating the browser process, r=ahal,RyanVM
MozReview-Commit-ID: Hyr7xkZdbqc

--HG--
extra : rebase_source : 013339bec54f1ecb0123fa1388dbb350258790df
extra : amend_source : 26e6c904d7031e700560ca32057edba65ad1632d
2016-05-10 22:53:17 +01:00
Carsten "Tomcat" Book 50dfc69f35 merge mozilla-inbound to mozilla-central a=merge 2016-05-13 11:59:20 +02:00
L. David Baron d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Masayuki Nakano 3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano 1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano 2d6e9e3d48 Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
MozReview-Commit-ID: GDAAHiyRrhY

--HG--
extra : rebase_source : fe7e3a658192f13f6458f664b35d5937925eca13
2016-05-12 11:39:05 +09:00
Masayuki Nakano 0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Phil Ringnalda c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Seth Fowler 0b1e158092 Bug 1259281 - Mark frames NONVISIBLE if their pres shell is inactive or frozen. r=mstange 2016-05-11 19:27:29 -07:00
Seth Fowler 55f8a34cb9 Bug 1269937 - Manage updating visible frames and regions using RAII. r=mstange 2016-05-11 19:27:28 -07:00
Seth Fowler 298a9f9d69 Bug 1269935 - Replace PresShell::DecVisibleCount() with a general map function. r=mstange 2016-05-11 19:27:28 -07:00
Seth Fowler 1678f1d3bb Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange 2016-05-11 19:27:27 -07:00
Seth Fowler 40f1aa269b Bug 1269931 - Send visible region updates for pres shells associated with nested views. r=botond 2016-05-11 19:27:27 -07:00
Seth Fowler 180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
Xidorn Quan 7af86ba4a3 Bug 1270009 - Ensure CSSPROPS_FOR_SHORTHAND_SUBPROPERTIES is type-safe. r=heycam
MozReview-Commit-ID: 3QntFmOGTFR

--HG--
extra : source : d2e238129cb2e0c042cf10e1db55ea8be5ab9b4f
2016-05-12 10:28:56 +10:00
Matt Woodrow 62f3ec6605 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
--HG--
extra : rebase_source : 806449975140c30fca612d647605b953b3511e00
2016-05-12 12:08:31 +12:00
Mats Palmgren e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Matt Woodrow a93f3b746c Bug 881832 - When flushing changes made by :hover style, make sure we also flush any pending changes on child documents. r=dbaron
--HG--
extra : rebase_source : 70d8e5f6805809fc8770f37932873b1ade7b0946
2016-05-12 12:06:38 +12:00
Matt Woodrow 175d6d32b1 Bug 881832 - Specify whether the height has changed when calling PresShell::ResizeReflow, since the PresContext size might have already been updated. r=dbaron
--HG--
extra : rebase_source : 05e6b4100b881848c78a5323d5ada4b65cf9963e
2016-05-12 12:06:11 +12:00
Botond Ballo 0c3f8a3e7d Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo 11c0c8ea42 Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: 9STe7ypglpP

--HG--
extra : rebase_source : c8ed350bc1eb9a0aecb47b9e81730162deeaaf87
extra : source : 4aa07089ce57c4e66e6f4f4cacc915118ea39429
extra : histedit_source : cdc3f82d57dc231ff148e35ab40c2dd197947ad4
2016-05-06 19:02:26 -04:00
Botond Ballo de687339fd Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 703ff74d56cecf0546457ff8940265f97a3331cc
extra : source : 1c8e4840f8b40b7e02b9274e446e278e8c907053
extra : histedit_source : 6efd4834b4ec52a6d57a05bdd9529cf39a7669a4
2016-05-06 19:34:16 -04:00
Botond Ballo 0702a1f217 Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
MozReview-Commit-ID: 6W0GZYkioov

--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Neil Deakin 405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Cameron McCormack 4ca33888b2 Bug 1271869 - Rename NS_STYLE_TEXT_ALIGN_DEFAULT to NS_STYLE_TEXT_ALIGN_START. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack f9bc9c5fd4 Bug 1271510 - Part 2: Improve nsStyleOutline::CalcDifference to make better use of mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10:00
Cameron McCormack 8e8681cc48 Bug 1271510 - Part 1: Rename nsStyleOutline::mCachedOutlineWidth to mActualOutlineWidth. r=dholbert 2016-05-11 14:03:34 +10:00
Ben Tian 1d3df2ccde Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey 2016-05-06 16:09:03 +08:00
Timothy Nikkel bf94e2fc4e Bug 1261752. Part 3. r=mats 2016-05-10 22:58:47 -05:00
Ryan VanderMeulen e6b875b2de Bug 1252405 - Add fuzz to bg-fixed-child-mask.html for Windows e10s D2D. r=sotaro 2016-05-10 22:23:29 -04:00
Boris Zbarsky 08254285a1 Bug 1190641 part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Boris Zbarsky b84ac31e14 Bug 1271521. Add a sane way of temporarily disabling dialogs on a window. r=smaug
What we have right now is not very usable, because you can only enable/disable
on the scriptable top of the window, but it's not at all obvious that this is
the case when using the API.
2016-05-10 20:57:29 -04:00
Mason Chang 376575c614 Bug 1267260 - Change CanvasImageCache to lookup cache images based on imgIContainer instead of imgIRequest. r=seth
--HG--
extra : rebase_source : 872ee783a05d0319ed69ce3c494dbf2a3206e26d
2016-05-10 08:00:06 -07:00
Mason Chang a708ef285b Bug 1270640 - Part 2: Reftest fuzzing for skia on OS X due to hinting changes. r=lsalzman
--HG--
extra : rebase_source : f9f041a45eb9833009ab650962cf712b3e8c238a
2016-05-09 12:38:00 -04:00
Peter Van der Beken 5c9bb43e9d Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 073ec0857b63df3e2ecef43ef3b982f2e1be2d24
2016-05-09 17:08:31 +02:00
Cameron McCormack 74881f45fe Bug 1271168 - Part 1: Remove nsPresContext arg from nsStyleOutline::RecalcData. r=bholley 2016-05-08 20:22:00 +02:00
Matt Woodrow daea81cf90 Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth 2016-04-07 18:51:45 +12:00
Sotaro Ikeda 9eab898cc6 Bug 1252405 - Reduce MaskLayer's memory usage r=mattwoodrow 2016-05-10 03:18:11 -07:00
Hiroyuki Ikezoe 64599f507d Bug 1223658 - Part 1: Drop ExtractComputedValueForTransition. r=birtles,dholbert
MozReview-Commit-ID: I4SMwcv30YL
2016-05-10 18:39:37 +09:00
Robert Longson 4236a89dfc Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer) 2016-05-10 10:02:20 +01:00
Xidorn Quan f355ff0241 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : rebase_source : b4a671f8d97b1d11696c375d9af790ea27ccf0ca
extra : source : d458585bd00bbe6a503bfb0f1072c632b8f0e26f
2016-05-10 18:44:05 +10:00
Xidorn Quan 9a12bfd9db Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
MozReview-Commit-ID: HWMuRrakCia

--HG--
extra : rebase_source : 7867601d650dd6dee92e7f7f922a47f0d357d6bd
extra : source : 8b27cbd442385900df9935c82c726167e489cdc8
2016-05-10 18:44:05 +10:00
Xidorn Quan 6a72181520 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : rebase_source : 7d1a2b5259f8c041c08536293f49b73071b428d7
extra : source : 4d400db27c134019063306fe5b5ef7d02c275af0
2016-05-10 18:44:05 +10:00
Xidorn Quan ab52eeed12 Bug 1269975 part 3 - Make some static arrays in nsCSSPseudoClasses.cpp static members of the class. r=heycam
MozReview-Commit-ID: 4CRtDgiYKnO

--HG--
extra : rebase_source : 8a2f2c0c9e5f89845cb782fb29d9d31837e9b281
extra : source : dda3412d88716504c8a5205fcced7cadbb140c74
2016-05-10 18:44:05 +10:00
Xidorn Quan 7b7ddfc469 Bug 1269975 part 2 - Rename nsCSSParser::PropertyEnabledState() to EnabledState(). r=heycam
MozReview-Commit-ID: 4JESxsOYN4w

--HG--
extra : rebase_source : 14ba06f00d51f51309367b99039d7c5a4c5d8f9a
extra : source : b52bff89c494a5411557e8a2ab7332862736c0b5
2016-05-10 18:44:05 +10:00
Xidorn Quan fa7ba2cb82 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : rebase_source : 3c8355f7807982152a16a913b31cbcdd6ef78030
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 18:44:05 +10:00
Botond Ballo 810a495c93 Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
MozReview-Commit-ID: LlibhRhbyVO

--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Carsten "Tomcat" Book 8b1468cc35 Backed out changeset 51922d1ebfa1 (bug 1251644) for android reftest failures on a CLOSED TREE 2016-05-10 08:51:31 +02:00
Ryan VanderMeulen f514ed495c Backed out 4 changesets (bug 1269975) for bustage.
Backed out changeset a55ecedea260 (bug 1269975)
Backed out changeset 5321545b938c (bug 1269975)
Backed out changeset 7e4a2ee61ef3 (bug 1269975)
Backed out changeset d181f8e7e4c3 (bug 1269975)
2016-05-10 00:08:54 -04:00
Ryan VanderMeulen 3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Ryan VanderMeulen 937594f842 Backed out changesets 4e949692600a and 6f7ecae8e663 (bug 1269976) for bustage. 2016-05-09 23:58:49 -04:00
Xidorn Quan 05db7e1bc8 Bug 1269976 part 2 - Add nsCSSPseudoElements::IsEnabled() and make GetPseudoType take CSSEnabledState. r=heycam
MozReview-Commit-ID: K3uFwojy6FZ

--HG--
extra : source : 9828f687af13af0d4e220ea440692b29cf14dcd0
2016-05-10 13:36:25 +10:00
Xidorn Quan 85ca906802 Bug 1269976 part 1 - Move CSSPseudoElements_flags to a static array in nsCSSPseudoElements. r=heycam
MozReview-Commit-ID: HWMuRrakCia

--HG--
extra : source : fca40d54c5270d09642f329267809fb3f7447c60
2016-05-10 13:36:25 +10:00
Xidorn Quan 438b9dea89 Bug 1269975 part 4 - Make nsCSSPseudoClasses::GetPseudoType() take CSSEnabledState rather than two bool params. r=heycam
MozReview-Commit-ID: Xh50g9hsH9

--HG--
extra : source : 5455ce61582ef7c98a24f587a9212113487db984
2016-05-10 13:36:25 +10:00
Xidorn Quan 9869ec38a9 Bug 1269975 part 3 - Make some static arrays in nsCSSPseudoClasses.cpp static members of the class. r=heycam
MozReview-Commit-ID: 4CRtDgiYKnO

--HG--
extra : source : 3e9cd355be9c476c52984ed789695c3c794d4e49
2016-05-10 13:36:25 +10:00
Xidorn Quan 9e9f009050 Bug 1269975 part 2 - Rename nsCSSParser::PropertyEnabledState() to EnabledState(). r=heycam
MozReview-Commit-ID: 4JESxsOYN4w

--HG--
extra : source : b52bff89c494a5411557e8a2ab7332862736c0b5
2016-05-10 13:36:25 +10:00
Xidorn Quan 30a6d76b26 Bug 1269975 part 1 - Move nsCSSProps::EnabledState to a top level enum class mozilla::CSSEnabledState. r=heycam
MozReview-Commit-ID: 3KH5cqDFzUI

--HG--
extra : source : 73e89d25a34ca5587f306b848b0b801342f9432f
2016-05-10 13:36:25 +10:00
Boris Zbarsky 59de5a530f Bug 1270349 part 5. Use LegacyUnenumerableNamedProperties instead of passing flags to GetSupportedNames to determine whether named props on DOM proxies should be reflected in ownPropertyKeys. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky 76180fb5a7 Bug 1270349 part 4. Use LegacyUnenumerableNamedProperties instead of NameIsEnumerable() calls to determine whether named props on DOM proxies should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Matt Woodrow f74cbd822c Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth
--HG--
extra : rebase_source : 1ee6fbfbed92c16f4fb21535455af3737c02d9f8
2016-05-10 13:25:20 +12:00
Matt Woodrow fec269f78c Bug 1270797 - Differentiate between nsDisplayBlendContainers created for mix-blend-mode and background-blend-mode. r=mstange 2016-05-10 12:48:59 +12:00
Matt Woodrow 6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +12:00
Botond Ballo 89c6c3b097 Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Botond Ballo c0f4837a5f Bug 1267438 - For fixed backgrounds, use the scrolled clip rather than the isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: 9STe7ypglpP

--HG--
extra : rebase_source : 9324a8487cc52ab66b0ab9bc510e8261288381c9
extra : histedit_source : f945314ddfbe35ba5615ec5a417b967ade448a93
2016-05-06 19:02:26 -04:00
Botond Ballo a5f375a42f Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 07cfbb871a15404d7d4766aea0b8f8387e42f67b
extra : histedit_source : 66dc2ae14acf2ae399e810785ccd7ee51550445d
2016-05-06 19:34:16 -04:00
Botond Ballo 8699c362f8 Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
MozReview-Commit-ID: 6W0GZYkioov

--HG--
extra : rebase_source : c46d0d27145df9b268e70ab5aed67c8c64df9433
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
L. David Baron d7641eeef2 Bug 1271015 patch 2 - Add tests for things not happening (optimizations) in response to media query changes. r=heycam
This adds a few basic tests for expectations of when we do and don't
restyle, construct frames, and reflow in response to changes of media
queries.  They don't give us a lot of coverage, but often the tiny bits
of coverage at the beginning are the most useful.

In general, I'd like us to have more tests for specific optimizations,
i.e., for specific things that we expect not to happen in certain cases.
The elementsRestyled, framesConstructed, and framesReflowed getters on
DOMWindowUtils are a good way to make such measurements for a number of
things in layout; that's why I added them.

(Inspired a bit by bug 1259641.)

MozReview-Commit-ID: JFtlPO1eyoD
2016-05-09 11:26:35 -07:00
L. David Baron 91233fe6f4 Bug 1271015 patch 1 - Add mechanism for testing the number of elements restyled. r=heycam
This is useful for writing tests that test particular optimizations,
such as that a particular operation doesn't cause restyles.  It sits
next to similar counters for frames constructed and frames reflowed.

I also snuck in a preference for the less-expensive mPresContext over
the more expensive mFrame->PresContext() (which dereferences multiple
pointers).

(Originally written for work I planned to be part of bug 1189598.)

MozReview-Commit-ID: 8PN7nwLJG9r
2016-05-09 11:26:35 -07:00
CJKu b11e2e12ee Bug 1270795 - Crash test; r=jfkthame
MozReview-Commit-ID: CPnOAyuc6hp

--HG--
extra : rebase_source : 2586233eb9d8e931260510efbff94ae351247308
2016-05-07 00:47:13 +08:00
CJKu a4e3f835fa bug 1270795 - do not generate any background items in glyph path generating process; r=jfkthame
MozReview-Commit-ID: GbhxyY93Vur

--HG--
extra : rebase_source : 2eb309017fe2dcc33424de81eecdf4405cd38334
2016-05-07 00:47:01 +08:00
Andreas Tolfsen 90edca9757 Bug 1123506 - Update references to __webDriverArguments; r=automatedtester
__marionetteParams was renamed to __webDriverArguments.

MozReview-Commit-ID: 9t1skl5MESf
2016-05-09 16:08:27 +01:00
Carsten "Tomcat" Book 98f0a3271a Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures 2016-05-09 13:40:01 +02:00
Peter Van der Beken b6c1e074c2 Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 324cf124544c0ffe2ad2ceccbed397d5069d1435
2016-03-09 15:48:12 +01:00
L. David Baron 5aafe1d979 Bug 567283 patch 4 - Support #rgba and #rrggbbaa colors in CSS. r=xidorn
This adds support for #rgba and #rrggbbaa colors to CSS.  This feature
is specified in https://drafts.csswg.org/css-color-4/#hex-notation .

This adds new types to nsCSSValue so that we can serialize the syntax
that was specified, as we do for other distinctions in how colors are
specified.

It does not change the behavior of the hashless color quirk, which
continues to support only 3 and 6 digit colors as specified in
https://quirks.spec.whatwg.org/#the-hashless-hex-color-quirk (step 4).

This changes property_database.js to remove various uses of 4 and 8
digit colors as invalid values.  It then adds them in slightly fewer
places as valid values, but more thoroughly testing both initial and
non-initial values on 'color'.

It marks two canvas tests explicitly testing this feature as no longer
known to fail by removing their .ini files.

Finally, it adjusts the web platform test testing the hashless color
quirk to no longer treat 4 and 8 digit colors with hashes as invalid
values.  Removing the relevant test items seems like the right thing
since they're in a section where 3 and 6 digit colors were skipped but
other lengths were tested.  Modifying this imported test is OK since:
  <jgraham> dbaron: Commit the change you want to m-c, it is
    (semi-)automatically upstreamed every so often (typically
    about once a week)

MozReview-Commit-ID: IFq4HxaRkil
2016-05-08 22:16:42 -07:00
L. David Baron 9ee89fe42f Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior.  Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
Hiroyuki Ikezoe 4030f03992 Bug 1258904 - Part 4: Set performance warning for small content. r=birtles
MozReview-Commit-ID: 7GyGkPog1Bo

--HG--
extra : rebase_source : c296a35c433af547fe4dd800ec8c8abd3bdba339
2016-05-07 17:37:58 +09:00
Hiroyuki Ikezoe 95f4a2736f Bug 1258904 - Part 2: nsDisplay(Opacity|Transform)::GetLayerState should return LAYER_ACTIVE_FORCE if they have async animations to avoid flattening the layers. r=mattwoodrow
MozReview-Commit-ID: 16QtFJBX97W

--HG--
extra : rebase_source : 3d53df451a5695dcb5967dc3e9723efef36af556
2016-05-07 17:37:57 +09:00
Hiroyuki Ikezoe bce5aea131 Bug 1258904 - Part 1: Don't create layers for compositor animations if the layer size is less than 16x16. r=mattwoodrow
MozReview-Commit-ID: Kb26GeYYr9D

--HG--
extra : rebase_source : ea38aedf3eeb329d86fb1387e8b19ed32ae69ba7
2016-05-07 17:37:57 +09:00
Gregory Szorc e13542b72f Bug 1271035 - Disable Places during reftests, preventing 50 GB of I/O; r=dholbert
It was a cold Friday night in San Francisco. Earlier in the day, I
informed Chris AtLee that I was going to start focusing on improving
the efficiency of Firefox automation and asked him where the biggest
capacity issues were. He said "we're hurting most on Windows tests."

As I was casually drinking a barleywine (note to reader: barleywines
are serious beers - there's nothing casual about them), I found myself
tediously clicking through Treeherder looking at logs for Windows jobs,
looking for patterns and other oddities. As I was clicking through,
something stood out to me: the sheer number of reftest jobs. I
recalled a random project I started a few years ago. Its aim was to
analyze buildbot job metadata so we could better understand where time
was spent in automation. I had mostly written off the side project as
a failure and a near complete waste of my time. Not even a stray
random thought of this project had entered my mind in the past year.
But clicking through Treeherder after a few glasses of barleywine
somehow reminded me of one of the few useful findings of that project:
reftest jobs consumed a seemingly disproportiate amount of machine time,
something like 35 or 40% IIRC of the time spent on all jobs.

Now, this finding was several years ago and almost certainly no longer
relevant. But, again, I had a few glasses of barleywine in me and was
bothered by the amount of reftest jobs and their duration, so I thought
"hey, why don't I run reftests and see why they take so long." So I
built Firefox on Windows - the platform Chris AtLee said we're "hurting
most on."

I decided to start my very casual profiling session by recording a
`mach reftest` run using Sysinternals Process Monitor. To my surprise,
it yielded a very obvious and unexpected result: the Places SQLite
database was incurring a lot of I/O. On my i7-6700K Windows 10 desktop
with a high performance SSD, `mach reftest` yielded the following:

File Time  #Events  #Reads   #Writes  RBytes        WBytes          Path
198s       980,872  243,270  669,231  7,971,471,360 20,667,084,080  places.sqlite-wal
165s       645,853  222,407  367,775  7,287,701,820 14.071,529,472  places.sqlite
  2s       377,121        1        0         32,768              0  places.sqlite-shm

The Places SQLite database accounts for 2,003,846 of the total of
3,547,527 system calls (56.49%) recorded by procmon during `mach
reftest` execution. This represents a staggering 49,997,786,732 of the
50,307,660,589 (99.38%) bytes of I/O recorded! Yes, that's 50 GB.

I reckon the reason the Places database accumulates so much I/O load
during reftests is because the reftest suite essentially loads thousands
of pages as quickly as possible. This effectively performs a stress
test against the Places history recording service.

As effective as reftests are at stress-testing Places, it adds no value
to reftests because reftests are testing the layout features, not the
performance of history recording. So these 2M system calls and 50 GB
of I/O are overhead.

This commit disables Places when executing reftests and prevents
the overhead.

After this commit, `mach reftest` has significantly reduced interaction
with the Places SQLite database:

File Time  #Events  #Reads   #Writes  RBytes        WBytes         Path
0.09s          502     138       302     4,521,984      8,961,528  places.sqlite-wal
0.07s          254      20       140       524,604      8,126,464  places.sqlite
0.01s        3,289       1         0        32,768              0  places.sqlite-shm

Of the 948,033 system calls recorded with this change (26.7% of
original), 691,322 were related to I/O. The Places SQLite database
only consumed ~22MB of I/O, <0.01% of original. It's worth noting that
~half of the remaining I/O system calls are related to reftest.log,
which now accounts for the largest percentage of write I/O (only
~53 MB, however). It's worth noting that reftest.log appears to be
using unbuffered writes and is requiring an excessive amount of
system calls for writing. But that's for another bug and commit.

In terms of wall time, the drastic I/O reduction during `mach reftest`
appears to have minimal impact on my machine: maybe 30s shaved from a
~900s execution, or ~3%. But my machine with its modern SSD doesn't
struggle with I/O.

In automation, it is a different story.

I pushed this change to Try along with the base revision and triggered
4 runs of most reftest jobs. The runtime improvements in automation
are impressive. Here are the fastest reported times for various jobs:

Job                     Before      After     Delta
Linux Opt R1               31m        34m       +3m
Linux Opt R2               43m        35m       -8m
Linux Opt Ru1              40m        34m       -6m
Linux Opt Ru2              43m        37m       -6m
Linux Opt R E10s           89m        72m      -17m
Linux Debug R1             52m        40m      -12m
Linux Debug R2             49m        42m       -7m
Linux Debug R3             60m        51m       -9m
Linux Debug R4             42m        37m       -5m
Linux Debug R1 E10s        84m        72m      -12m
Linux Debug R2 E10s        97m        85m      -12m
Linux64 Opt R1             35m        24m      -11m
Linux64 Opt R2             37m        26m      -11m
Linux64 Opt Ru1            32m        29m       -3m
Linux64 Opt Ru2            37m        26m      -12m
Linux64 Opt TC R1          12m        10m       -2m
Linux64 Opt TC R2          10m         7m       -3m
Linux64 Opt TC R3          11m         9m       -2m
Linux64 Opt TC R4          11m         9m       -2m
Linux64 Opt TC R5          13m        11m       -2m
Linux64 Opt TC R6          11m         9m       -2m
Linux64 Opt TC R7           9m         8m       -1m
Linux64 Opt TC R8          11m        10m       -1m
Linux64 Opt TC Ru1         30m        25m       -5m
Linux64 Opt TC Ru2         36m        27m      -11m
OS X 10.10 Opt             31m        27m       -4m
OS X 10.10 Opt E10s        26m        25m       -1m
OS X 10.10 Debug           68m        55m      -13m
Win7 Opt R                 30m        28m       -2m
Win7 Opt Ru                28m        26m       -2m
Win7 Opt R E10S            29m        27m       -2m
Win7 Debug R               85m        76m       -9m
Win7 Debug R E10S          75m        65m      -10m
Win8 x64 Opt R             29m        26m       -3m
Win8 x64 Opt Ru            27m        25m       -2m
Win8 x64 Debug R           90m        71m      -19m
Android 4.3 API15 Opt R1   89m        71m      -18m
Android 4.3 API15 Opt R2   78m        64m      -14m
Android 4.3 API15 Opt R3   75m        64m      -11m
Android 4.3 API15 Opt R4   74m        68m       -6m
Android 4.3 API15 Opt R5   75m        69m       -6m
Android 4.3 API15 Opt R6   91m        86m       -5m
Android 4.3 API15 Opt R7   87m        66m      -21m
Android 4.3 API15 Opt R8   87m        82m       -5m
Android 4.3 API15 Opt R9   80m        66m      -14m
Android 4.3 API15 Opt R10  80m        67m      -13m
Android 4.3 API15 Opt R11  73m        66m       -7m
Android 4.3 API15 Opt R12 105m        91m      -14m
Android 4.3 API15 Opt R13  72m        59m      -13m
Android 4.3 API15 Opt R14  82m        61m      -21m
Android 4.3 API15 Opt R15  73m        62m      -11m
Android 4.3 API15 Opt R16  79m        78m       -1m

The savings total 6+ *hours* or ~15% when running all reftests. I'd
say this isn't bad for a one-line code change!

MozReview-Commit-ID: H1LkACgSpVn

--HG--
extra : rebase_source : 891a5ce8e1f6c3d70fc646f116c2f49f897ad735
2016-05-07 02:53:14 -07:00
Bobby Holley 21a222e332 Bug 1270515 - Bonus fix: Factor out unnecessary Reset calls during nsStyleCoord initialization. r=dbaron
The previous patches prevent us from generating temporaries at the affected callsites,
but this could still have benefits in other places.
2016-05-06 16:11:10 -07:00
Bobby Holley 23b53c3cad Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Bobby Holley e7fab38387 Bug 1270515 - Avoid synthesizing temporary nsStyleCoords in nsStyleSides::ConvertsToLength. r=dbaron 2016-05-06 16:11:10 -07:00
Cameron McCormack 53c4d9df37 Bug 1270956 - Stub out some ServoRestyleManager methods. r=bholley 2016-05-06 14:19:57 -07:00
Bobby Holley bedd733071 Bug 1270956 - Convert CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE assertion into a warning. r=me 2016-05-06 14:19:57 -07:00
Cameron McCormack 1bc38c297a Bug 1268759 - Make ServoStyleSet handle anonymous content incorrectly but without crashing. r=bholley 2016-05-06 14:19:57 -07:00
Wes Kocher 462fc252b3 Backed out 3 changesets (bug 1190641) for failures in test_dialogArguments.html and test_iframe_sandbox_modal.html
Backed out changeset ef1d1a433415 (bug 1190641)
Backed out changeset b037f2642082 (bug 1190641)
Backed out changeset 733eacd2ed13 (bug 1190641)

--HG--
extra : rebase_source : 218cf6d49e6f71742da7c69cf42b0a6a355e1863
2016-05-06 12:54:16 -07:00
Markus Stange e475933648 Bug 1266161 - Make DrawForcedBackgroundColor fill the entire draw region, not just the layer's visible region. r=mattwoodrow
We need to do this because the entire draw region will be added to the layer's
valid region after drawing. If there are parts in the valid region that are not
in the visible region, we still need those parts to have valid content, because
in a later frame the visible region may grow to include those parts.

MozReview-Commit-ID: 6zESYbPAmrx

--HG--
extra : rebase_source : 24078d1ff802e53a2eb8895d2c5ffd1fe9507f04
2016-05-06 13:53:56 -04:00
Boris Zbarsky f3092cff84 Bug 1190641 part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Kartikaya Gupta ec6390b365 Bug 1264592 - When doing thumbnails for fennec, don't mark frames as painted because it can interfere with tests. r=mstange
MozReview-Commit-ID: KOhZZV3aSLv

--HG--
extra : rebase_source : 80e39ca63cf3b3c54b6adcc8bac23bcd148467f9
2016-05-06 10:31:11 -04:00
Sebastian Hengst faffe478f6 Backed out changeset f9d3ea58c195 (bug 1267186) for static bustage in WebIDLGlobalNameHash.cpp. r=backout 2016-05-06 18:11:03 +02:00
Peter Van der Beken 827ee394ba Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 5578057666186f58e434767af84fbfeac0cbdc3c
2016-03-09 15:48:12 +01:00
Nathan Froyd efbd9a9b65 Bug 1263197 - part 2 - remove temporary variable in nsPresContext's constructor; r=dholbert
In the upcoming patch to disable logging, we're going to conditionally
turn MOZ_LOG_TEST into a constant false.  But for this instance of
MOZ_LOG_TEST in nsPresContext, turning it into a constant means that
|log| becomes unused.  Since |log| isn't used after this point, let's
move the |gfxPlatform::GetLog| call into the MOZ_LOG_TEST call, removing
the temporary variable, and making the compiler happy.
2016-05-06 09:11:17 -04:00
Cameron McCormack 0e7490d676 Bug 1270741 - Correctly resolve styles for non-elements. r=bholley 2016-05-06 00:32:00 +02:00
Astley Chen cfc3509d01 Bug 859301 : Part 4 - add w3c-css test cases. r=dbaron
MozReview-Commit-ID: ETP2Welagwc

--HG--
extra : rebase_source : 899250d3f3904fd5f3c0cc76ecc06ed41d860e0e
2016-05-06 12:01:46 +08:00
Astley Chen 844639b0ad Bug 859301 : Part 3 - unprefix test cases. r=dbaron
MozReview-Commit-ID: 6KvILd31r9Y

--HG--
extra : rebase_source : 68c820453ca2d27fda63b645cdab65dddfa90c31
2016-05-04 13:31:24 +08:00
Astley Chen d626fe0c49 bug 859301 : Part 2 - unprefix internal css files. r=dbaron
MozReview-Commit-ID: CRyp3zQxayh

--HG--
extra : rebase_source : 6b4a5d3e5292a1bdeceab37c5067c78fac69834a
2016-05-04 13:31:24 +08:00
Astley Chen b21f79d943 Bug 859301 - Part 1 - unprefix :dir. r=dbaron
MozReview-Commit-ID: EyKKRrhARI0

--HG--
extra : rebase_source : 11566e76b725d1d8ad22aed407f841c0f7a096ba
2016-05-05 18:10:57 +08:00
Bobby Holley b852e0988e Bug 1269933 - Add hooks for Servo to manipulate list-style-type. r=xidorn 2016-05-06 00:09:18 -07:00
Bobby Holley 2dfd23a1ac Bug 1269933 - Teach CounterStyles their name and remove the string member from the style structs. r=xidorn 2016-05-06 00:09:18 -07:00
Bobby Holley 7c027eb69c Bug 1269933 - Pass the builtin counter manager corresponding to the appropriate default when initializing style structs for servo. r=xidorn 2016-05-06 00:09:18 -07:00
Makoto Kato 833bf3893a Bug 1261012 - Check whether nsIObserverService is nullptr. r=smaug
During shutdown, mozilla::services::GetObserverServie will return nullptr.  So we should check it.  Add another nullptr check

MozReview-Commit-ID: 9xBbltRatJF

--HG--
extra : rebase_source : a859de09f30eeba344c317aec4cf4ed2cce8da2b
extra : histedit_source : 325aba902eff367d046807e9be3a73ad3100ee67
2016-04-27 19:10:11 +09:00
L. David Baron 608d04db2f Bug 1270626 - Don't leave an unhandled ErrorResult and assert when media query listeners throw exceptions. r=bzbarsky
I'm acting under the assumption that this is what's closest to what the
code does now, except without asserting in ~ErrorResult.  It also seems
closest to what event listeners will do, both based on examining code
(EventListenerManager::HandleEventSubType, which I'm hoping is the right
code to look at, calls StealNSResult, and then stores it in a member
that's ignored by most callers) and based on testing (for both click
events, and for media query listeners with this patch, the exception
gets reported to the console as an unhandled exception).  That said, I'm
not particularly well versed in the current error handling rules so I
may well be off here.

This code should presumably go away when we change this code to use
EventListeners in bug 1265622, so I don't think there's any spec that
covers this.

Without the patch, the mochitest hits the fatal assertion (after
reporting hitting the expected uncaught exception).  With the
patch the test passes.  (Tested locally.)

MozReview-Commit-ID: 5kxp6jzGzX8

--HG--
extra : transplant_source : n%B4%AE%99D%FB%B9NM%C0%A2%F0%D4%B7%8C%E7%DE4E%60
2016-05-05 21:33:47 -07:00
Cameron McCormack e0e0348a4f Bug 1270374 - Create style context with correct pseudo tag in ServoStyleSet::ResolveAnonymousBoxStyle. r=bholley 2016-05-04 22:33:00 -04:00
Ben Tian 88d03021fb Bug 1263116 - Stop throwing for DOMTokenList's.contains() when using empty string or ASCII whitespace, r=baku 2016-05-05 18:07:22 +08:00
Matt Woodrow 23ad434a74 Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange 2016-05-06 10:53:24 +12:00
Mike Shal 16febf4398 Bug 1269787 - Use _pretty_path instead of full path for inputs; r=glandium
We use _pretty_path when specifying the targets of generated files, so
we need to use _pretty_path for the inputs as well. Otherwise make won't
know that they refer to the same file, and result in "No rule to make
target" errors.


MozReview-Commit-ID: JTdLFbkX1J0
2016-04-29 13:43:25 -04:00
Emilio Cobos Álvarez b479a2256d Bug 1270305: stylo: Replace nsTArray to aid rust binding generation, r=bholley 2016-05-05 19:32:29 +02:00
Ryan VanderMeulen 44fcbd8a7d Bug 1266943 - Add a bit more Windows fuzz. 2016-05-05 09:33:02 -04:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Bobby Holley 60bd9ae61b Bug 1269901 - Remove mCachedMargin. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley f2c9cdf0d8 Bug 1269901 - Remove mCachedPadding. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley 6e6e20ba47 Bug 1269901 - Refactor Helpers. r=dbaron 2016-05-04 16:56:17 -07:00
Bobby Holley a8015a6b72 Bug 1269936 - Introduce and call a runtime-wide servo initialization hook. r=heycam 2016-05-04 15:34:21 -07:00
Timothy Nikkel bab76c33fa Bug 1265577. r=mats 2016-05-04 16:12:48 -05:00
Markus Stange ebfab32e37 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : c33a071f4117c3e2e4b244ba9bec0c281413a70c
2016-05-04 14:11:05 -04:00
Markus Stange aaac8ed991 Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : 3576ab2662eef6ddca3e430c305c3eda18200c71
2016-04-27 17:45:21 -04:00
Markus Stange dcc87ebff1 Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.

MozReview-Commit-ID: 2zmlxVRLIqe
***

--HG--
extra : rebase_source : 0735ea7651803769721d109d52ca83cddad65aa7
2016-04-28 14:09:06 -04:00
Markus Stange cd46c2a7e9 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : 71ae376f482d14e55820879f28b37056e1b857bf
2016-05-04 14:12:23 -04:00
Markus Stange 7a09990486 Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
MozReview-Commit-ID: 5X6FJYRCnWt

--HG--
extra : rebase_source : 990d5724e70858525ebd5732e184b96e1c75d7f3
2016-05-04 14:14:23 -04:00
Markus Stange 0aa0fa1e2b Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO

--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Ryan VanderMeulen 722094b7a5 Bug 1266943 - Add a bit more Linux and Windows fuzz to the 456219-1* testcases. rs=me
--HG--
extra : rebase_source : 92d07cf220eafeb44e445bf2f1b91c645858ce4c
2016-05-04 13:37:00 -04:00
Daniel Holbert fd53b731b2 Bug 1269992: In mochitest test_clip_path_equals (for CSS transitions), don't try to pop a reference box off of the expected value when it doesn't have one. r=jwatt
MozReview-Commit-ID: K0o1y40o6Pe
2016-05-04 08:57:04 -07:00
Neil Deakin 190dbc551b Bug 1251634, release mouse capture when a context menu is opened, r=tn 2016-05-04 10:08:01 -04:00
Neil Deakin 5d2aea87d5 Bug 1266963, stop propagation before other steps, r=masayuki 2016-05-04 10:07:45 -04:00
Andi-Bogdan Postelnicu 1302887134 Bug 1267187 - added assert before doing modulo with the second argument being |num|. r=birtles
MozReview-Commit-ID: eUZeAbudib

--HG--
extra : rebase_source : 870a599119bcc7ecfef7ca89683ec61f41d6016c
2016-04-25 13:47:21 +03:00
Xidorn Quan 67093c6823 Bug 1268347 - Forbid break opportunities inside horizontal-in-vertical. r=jfkthame
MozReview-Commit-ID: K8ao3D0IE93

--HG--
extra : rebase_source : dbdd0ec230181468cacd6aec83dcf12275bd2815
2016-05-03 14:39:24 +10:00
Cameron McCormack (:heycam) e78be5f934 Bug 1270001 - Rename NS_STYLE_TEXT_TRANSFORM_FULLWIDTH to use underscores consistently. r=xidorn
This renaming helps with auto-generated code in stylo.

--HG--
extra : rebase_source : d11cf8190f7aa4a73bf63c55afc97043d7c9c159
2016-05-03 23:32:00 +02:00
Ting-Yu Lin c68250d06d Bug 1267524 followup - Revert list-initialization for array in Part 19. r=me
This revert the new C++11 syntax used in Part 19. which should fix build
errors for msvc 2013.
https://msdn.microsoft.com/en-us/library/9f53ks1w.aspx

--HG--
extra : amend_source : 95d5565f549358d26ffa7136fb4f8a1be1c66050
2016-05-04 13:35:21 +08:00
Xidorn Quan 25d88bda72 Bug 1268749 part 3 - Hide :fullscreen pseudo-class from content when unprefixed API is disabled. r=heycam
MozReview-Commit-ID: 78hlOGCDKn0

--HG--
extra : rebase_source : 3fbdf8fcde0064316b821d1ffde98e9e3f8185a1
2016-05-02 14:24:38 +10:00
Xidorn Quan 89008c7833 Bug 1268749 part 2 - Make pseudo-classes able to present conditionally like properties. r=heycam
MozReview-Commit-ID: 6D3UPQGrS71

--HG--
extra : rebase_source : e059616e5ec853c17614d119d58d3aeb5cb6c7af
2016-05-04 15:09:36 +10:00
Phil Ringnalda f74761a568 Back out 6 changesets (bug 1227327) for Android reftest failures in 942672-1.html, background-position-2b.html and background-position-2c.html
CLOSED TREE

Backed out changeset c9b0ba301426 (bug 1227327)
Backed out changeset c857ad1fa01c (bug 1227327)
Backed out changeset 4ba58cd94310 (bug 1227327)
Backed out changeset 30e394faeb23 (bug 1227327)
Backed out changeset ce7fd04cc749 (bug 1227327)
Backed out changeset e0fe45294034 (bug 1227327)
2016-05-03 21:49:07 -07:00
Phil Ringnalda 6d562f3981 Back out 23bf1e82cc34 (bug 1265237) for reftest failures
CLOSED TREE
2016-05-03 19:24:33 -07:00
Matt Woodrow 071273aa13 Bug 1265237 - Clear clipping for out-of-flow frames that we are descending into but haven't stored explicit clip data for. r=mstange
--HG--
extra : rebase_source : e9f88b3e469a8afdec5c9636751a278a70ae7102
2016-05-04 12:58:01 +12:00
Matt Woodrow 76c8d4c781 Bug 1269184 - Make sure we create an nsDisplayWrapList around nsDisplayPerspective items so that the z-index of the perspective frame gets taken into account. r=mstange
--HG--
extra : rebase_source : 735c30ec166eeab19e26a78864e7626c9f00790a
2016-05-04 12:56:50 +12:00
Matt Woodrow 47cde44daf Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron 2016-05-04 12:27:43 +12:00
Matt Woodrow 7980b88d54 Bug 1243614 - Implement UpdateOverflow for nsMathMLContainerFrame. r=roc 2016-05-04 12:26:42 +12:00
Kartikaya Gupta 65f5105de7 Bug 1269539 - Ensure that the scroll position is restored properly on reloading a page which loads incrementally. r=tnikkel
MozReview-Commit-ID: 1qVA5yU7a7g

--HG--
extra : rebase_source : 032336d7552ece6dbeafa4eb07eceb7ed2a096ba
2016-05-03 10:40:20 -04:00
CJKu 184c33c9c4 Bug 1265715 - followup - Correct dirty region; r=me
MozReview-Commit-ID: 5iI8Cg5wry6
2016-05-04 03:55:26 +08:00
Markus Stange 286449b632 Bug 1227327 - Add tests. r=mattwoodrow
MozReview-Commit-ID: 6BIJJiCUedo

--HG--
extra : rebase_source : e2edbfd148b6a8cff33dd2067a9e3a246a66991f
2016-04-28 14:41:25 -04:00
Markus Stange a1808bf5af Bug 1227327 - Use regular background drawing for XUL groupbox frames. r=mattwoodrow
MozReview-Commit-ID: 7S1gdZJgBCS

--HG--
extra : rebase_source : dfebe31debd02bee286e1db851fca231dfcfc14c
2016-04-27 17:45:21 -04:00
Markus Stange 4fdd26bfa9 Bug 1227327 - Make fieldset frames build nsDisplayBackgroundImage items. r=mattwoodrow
Fieldsets break up their border so we need to disable the willPaintBorder optimization for them.

MozReview-Commit-ID: 2zmlxVRLIqe
***

--HG--
extra : rebase_source : 5ae32cc1b9b7eadf4b28f6b64f0cf26f50f761f7
2016-04-28 14:09:06 -04:00
Markus Stange bb440eec66 Bug 1227327 - Use regular background image display items for painting button backgrounds. r=mattwoodrow
This has multiple benefits:
 - It makes DLBI detection of background-position changes work for buttons.
 - It makes background-attachment: fixed work for button backgrounds.
 - It allows the willPaintBorder optimization to be used for button background
   drawing, which reduces the background clip to not overlap with opaque borders.

The willPaintBorder optimization requires a change to the reftest 611574-2.html.
This reftest compares backgrounds to inset box shadows. Box shadows those don't
have a willPaintBorder optimization, so we'd get different results due to the
borders - inset box shadows will bleed through the rounded corner anti-aliasing
of the border, backgrounds won't any more. So we just turn off button borders
and cover the outer edges of the borders with an outline in that reftest.

MozReview-Commit-ID: Lvx2p5szjw7
***
Cover the antialiasing in 611574-2.html with a black outline.

MozReview-Commit-ID: IHC3B7Eq72j

--HG--
extra : rebase_source : fbd7d3152b819232adfc97dd9df1481a582925c5
2016-04-29 13:16:23 -04:00
Markus Stange 6231d39a7c Bug 1227327 - Allow specifying a background rect for background dislay items. r=mattwoodrow
MozReview-Commit-ID: 5X6FJYRCnWt

--HG--
extra : rebase_source : da85ec302345a64424e08693f3909c185364d913
2016-05-03 15:16:11 -04:00
Markus Stange ea8e203822 Bug 1227327 - Invalidate table parts and MathML frames when background-position changes on them. r=dbaron
Theoretically we should do the same for nsTreeBodyFrame, but that frame type is
harder to detect and I'm not sure it's worth adding code to support updating
background-position on XUL trees.

MozReview-Commit-ID: 8HPT53MX6bO

--HG--
extra : rebase_source : 1e84e83616832debe8f6da394630a5a2e014e7df
2016-04-28 13:01:22 -04:00
Brian Birtles 16e027ce5c Bug 1268858 part 3 - Make CSS Animations store computed values; r=heycam
This allows us to represent values specified using CSS variable references in
a predictable fashion.

MozReview-Commit-ID: D9KUUhCxPW4
2016-05-13 11:56:10 +09:00
Markus Stange 8ece268559 Bug 1263192 - Clip scrolled contents to the display port. r=mattwoodrow
MozReview-Commit-ID: 4Uut8OAmCAd

--HG--
extra : rebase_source : 6b32f018f671ce0028dc558fdecc43c41756e1fa
2016-05-12 18:56:24 -04:00
Brian Birtles 90fb66a530 Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE

--HG--
rename : dom/animation/test/css-animations/file_keyframeeffect-getframes.html => dom/animation/test/css-animations/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-animations/test_keyframeeffect-getframes.html => dom/animation/test/css-animations/test_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/file_keyframeeffect-getframes.html => dom/animation/test/css-transitions/file_keyframeeffect-getkeyframes.html
rename : dom/animation/test/css-transitions/test_keyframeeffect-getframes.html => dom/animation/test/css-transitions/test_keyframeeffect-getkeyframes.html
rename : testing/web-platform/meta/web-animations/keyframe-effect/setFrames.html.ini => testing/web-platform/meta/web-animations/keyframe-effect/setKeyframes.html.ini
rename : testing/web-platform/tests/web-animations/keyframe-effect/setFrames.html => testing/web-platform/tests/web-animations/keyframe-effect/setKeyframes.html
2016-05-13 09:40:52 +09:00
Markus Stange 68f8a0a260 Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel
The gradient on this website had, the float values of xdim and ydim were
about 7500, which is definitely representable by 16.16 fixed point values.
But the matrix had a large (> 32000) translation on it.

MozReview-Commit-ID: 1WVhZQLF99g

--HG--
extra : rebase_source : b60c5e37f7dcb94943dadfc4ac73a58e9e18f1d9
2016-05-12 17:45:38 -04:00
CJKu 3e44bcb79b Bug 1269971 - Part 7. Clean out unused things created in bug 759568; r=jfkthame
MozReview-Commit-ID: 4spLj1fgthI

--HG--
extra : rebase_source : 02261090faab2c37cf5e9c35b223832ec3af59cf
2016-05-13 00:09:39 +08:00
CJKu 2c14cf0ee3 Bug 1269971 - Part 6. Modify reftest according to the way we generate bg-clip:text; r=jfkthame
MozReview-Commit-ID: LhvH5SS0SJY

--HG--
extra : rebase_source : f1b4f885d574e478b59d3155b34491d8a5fdf277
2016-05-13 00:09:28 +08:00
CJKu ffc22638a9 Bug 1269971 - Part 5. Correct draw region in nsDisplayBackgroundColor::Paint; r=jfkthame
MozReview-Commit-ID: LV8lP6NuV85

--HG--
extra : rebase_source : 43a33cf310b644daf55676962c4f5e9ce510e0af
2016-05-13 00:09:16 +08:00
CJKu 39f4a65281 Bug 1269971 - Part 4. Add text stroke into text mask; r=jfkthame
MozReview-Commit-ID: IkaLMEX5q0T

--HG--
extra : rebase_source : 14ef2f4e033121873cbb51e437c3e7690c963fdb
2016-05-13 00:09:05 +08:00
CJKu 31d52bc0c4 Bug 1269971 - Part 3. Handle selection text color and selection backgrond painting; r=jfkthame
MozReview-Commit-ID: CQmqiCmvygr

--HG--
extra : rebase_source : 271b8d2aae82c02678637bcbbb3a77bc7c5b43f8
2016-05-13 00:08:53 +08:00
CJKu b901424670 Bug 1269971 - Part 2. From ClipBackgroundByText to GenerateAndPushTextMask; r=jfkthame,mtseng
MozReview-Commit-ID: 1PK2Huytq3i

--HG--
extra : rebase_source : 71f3e70694d874d5d575b12f882980544b1931e2
2016-05-13 00:08:41 +08:00
CJKu ea85bf6191 Bug 1269971 - Part 1. Rename IsForGenerateGlyphPath to IsForGenerateGlyphMask; r=jfkthame
MozReview-Commit-ID: 80DZsEAvXxB

--HG--
extra : rebase_source : 2b6205ad119265679b28d06056c3b433aab445c8
2016-05-13 00:08:30 +08:00
Andrew Halberstadt aea682d7a3 Bug 1271448 - Stop saving reftest.log for |mach reftest| perf improvements, r=jgraham
In bug 1271035 gps identified disk I/O as a major cause for reftest slowness.
He was able to fix most of it, but the new highest source of I/O in reftest is
reftest.log.

To note, we were only saving reftest.log when running via mach, so this won't
impact automation in any way:
https://hg.mozilla.org/mozilla-central/file/043082cb7bd8/layout/tools/reftest/mach_commands.py#l204

I don't know why we are doing this given that the same output goes to stdout.
And as dholbert pointed out, since bug 1034290 landed, that log contains raw
structured logs, which are not at all useful for debugging. Given that it is
no longer useful and causes slowness, we should stop saving it.

If anyone wishes to keep saving to a log, they can use:
./mach reftest --log-tbpl reftest.log

If they wish this to be the default behaviour they can make a machrc (or
.machrc) in either topsrcdir, ~/.mozbuild or $MACHRC. Then add:
[alias]
reftest = reftest --log-tbpl reftest.log

MozReview-Commit-ID: A3e2X7qF90H

--HG--
extra : rebase_source : 9286e3061c068c6fef55b503017b3f4a9588be46
2016-05-09 17:53:04 -04:00
Jean-Yves Avenard e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Daniel Holbert 0892fa8f5a Bug 1269174: Fix nsSVGViewBox::HasRect() to return false instead of using stale mBaseVal. r=longsonr
MozReview-Commit-ID: esNxaomT3D
2016-05-03 07:40:26 -07:00
Ting-Yu Lin 1c724eaebc Bug 1267524 Part 19 - Move nsStyleCoord members to initializer list. r=heycam
MozReview-Commit-ID: BOjeQGlCbV9

--HG--
extra : rebase_source : f5372e3b70812ad1777a76d8346dbdfe9913584b
2016-05-03 17:26:30 +08:00
Ting-Yu Lin fd1ce11cba Bug 1267524 Part 18 - Remove "void" from zero argument functions. r=heycam
MozReview-Commit-ID: GW6RsdgcC1j

--HG--
extra : rebase_source : bb272974662b8543bbcb177cf5bacb7bd024bee3
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 2abba94f05 Bug 1267524 Part 17 - Use member initializer list for nsStyleVariables. r=heycam
MozReview-Commit-ID: Ag7VZKgrNf3

--HG--
extra : rebase_source : 4c9c01289a350579c750ed3318593ad7eaca827d
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 8c8ebcd032 Bug 1267524 Part 16 - Use member initializer list for nsStyleUIReset. r=heycam
MozReview-Commit-ID: 58XpFZLLskk

--HG--
extra : rebase_source : 3bc4f084a0dc993544a4f3a248215a46bf35da51
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 6107e10221 Bug 1267524 Part 15 - Use member initializer list for nsStyleUserInterface. r=heycam
MozReview-Commit-ID: KqSikZnyKd0

--HG--
extra : rebase_source : 1ce862d039331b90da0150ba025e50a6b74809ef
2016-05-03 17:26:30 +08:00
Ting-Yu Lin 49fbebcf6b Bug 1267524 Part 14 - Use member initializer list for nsStyleText. r=heycam
MozReview-Commit-ID: 2akpRSE1Kkv

--HG--
extra : rebase_source : 2c36eff15c368fbad0337463ef87de44ab6f00b0
2016-05-03 17:26:29 +08:00
Ting-Yu Lin d46088a7f8 Bug 1267524 Part 13 - Use member initializer list for nsStyleTextReset. r=heycam
MozReview-Commit-ID: GqlFSXXCSZ9

--HG--
extra : rebase_source : a85616e60ee88e913242bbfa126e8f10179e46ab
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 786a0b39e8 Bug 1267524 Part 12 - Use member initializer list for nsStyleContent. r=heycam
MozReview-Commit-ID: L7kQDKfAOVb

--HG--
extra : rebase_source : d239d272c8cd1f67d860490c815cc5f793121876
2016-05-03 17:26:29 +08:00
Ting-Yu Lin 1575e0225d Bug 1267524 Part 11 - Use member initializer list for nsStyleVisibility. r=heycam
MozReview-Commit-ID: I8YHela8U4Z

--HG--
extra : rebase_source : 24572d4dd3745b1b8eef76f777043519007f4be3
2016-05-03 17:26:29 +08:00