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

48626 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 537c84d51c Merge mozilla-central to mozilla-inbound 2015-12-21 11:54:26 +01:00
Hiroyuki Ikezoe 29ee5a579b Bug 1219543 - Part 2: Avoid the period that mIsRunningOnCompositor is false between restyling and building display list. r=bbirtles
Without this fix, mIsRunningOnCompositor will be unpredictable in
MutationObserver callbacks.

For example:

 mIsRunningOnCompositor will be false if the micro task for
 the MutationObserver is processed before building display list.

 mIsRunningOnCompositor will be true if there is no room to process
 the micro task before building display list.
2015-12-20 14:17:00 +01:00
Hiroyuki Ikezoe 1ffc0c63ea Bug 1219543 - Part 1: isRunningOnCompositor flag is now a member of AnimationProperty. r=bbirtles 2015-12-20 14:16:00 +01:00
Kit Cambridge f9c7a31d28 Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally
--HG--
extra : commitid : JvHyMCNBrk9
extra : amend_source : 72c46fbd3ead7ed3f101dd98114cb435a691c706
2015-11-13 21:22:59 -08:00
Mats Palmgren 79555ba1f2 Bug 1226697 part 2 - [css-grid] Reftest fixes. 2015-12-17 04:12:09 +01:00
Mats Palmgren bf96241100 Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert 2015-12-17 04:12:09 +01:00
Avi Halachmi 9b56ccfb99 Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats 2015-12-16 20:06:40 +02:00
Mason Chang 4cd6379278 Bug 1230357. Enable subpixel text on skia content backends. r=lsalzman 2015-12-16 12:43:49 -08:00
Wes Kocher 0f6a2a587a Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)

--HG--
extra : commitid : Atv8AVyyd9h
2015-12-16 09:27:37 -08:00
Avi Halachmi 7762c6b58a Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats 2015-12-16 17:18:45 +02:00
Kartikaya Gupta edc45db293 Bug 1232048 - Fix breakage in scroll snapping when snapping twice in a row to the same thing with non-smooth-scrolls in between. r=botond
--HG--
extra : commitid : HOoM79IZd2u
2015-12-16 10:42:49 -05:00
Bogdan Postelnicu 26ec0ae66f Bug 1232271 - initialize local scalar mSolidColor with default value - NS_RGBA(0, 0, 0, 0). r=matt.woodrow 2015-12-14 04:06:00 +01:00
Carsten "Tomcat" Book b2138a4f83 Backed out changeset 2391e16acb15 (bug 1226697) for android r14 test failures in clipPath-html-06.xhtml 2015-12-16 12:03:13 +01:00
Carsten "Tomcat" Book 01aca80825 Backed out changeset 14f29b2683c7 (bug 1226697) 2015-12-16 12:02:44 +01:00
Carsten "Tomcat" Book 66e5f0c4ab Backed out changeset 04b102bec363 (bug 1147673) 2015-12-16 11:52:39 +01:00
Carsten "Tomcat" Book 27bbe6ec93 Backed out changeset 68b33692bed3 (bug 1147673) 2015-12-16 11:52:37 +01:00
Bogdan Postelnicu 0daf3a2e34 Bug 1232596 - initialize variable changed = false, flagged by Coverity. r=dbaron 2015-12-15 00:41:00 +01:00
Markus Stange bf668586d7 Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Markus Stange 9079fbe047 Bug 1147673 - Use ancestor clip for root scrollable framemetrics clips. r=tn
--HG--
extra : commitid : 8i9bmvj9S6Y
extra : rebase_source : 6316afb1c7967fd944281f0686b2c6ba7379606f
extra : histedit_source : 1289a445613a59b213b79396a60076ebc4e83beb
2015-11-05 17:54:44 +01:00
Mats Palmgren c2ead6a5d4 Bug 1226697 part 2 - [css-grid] Add more tests that tests searching for lines in reverse, from the end of the grid, or from an *-end line and/or padding edge in the abs.pos. case. 2015-12-16 04:27:12 +01:00
Mats Palmgren d91ea7b40a Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert 2015-12-16 04:27:12 +01:00
Joel Maher 4a128fcb91 Bug 1232316 - reftest failures with text-emphasis marks. r=xidorn 2015-12-15 17:18:24 -08:00
Mats Palmgren 2cdeaad3ed Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden.
Relanded with fuzzy-if(OSX,32,1000) to ignore anti-aliasing differences
on OSX 10.10.
2015-12-15 23:23:46 +01:00
Wes Kocher 33acfbd407 Backed out changeset 5fa1b85831b7 (bug 1230672) for reftest bustage CLOSED TREE
--HG--
extra : commitid : Ka7KxJ2PcTI
2015-12-15 15:07:29 -08:00
Mats Palmgren 0877b3ce2b Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden.
Relanded with fuzzy-if(OSX,32,1000) to ignore anti-aliasing differences
on OSX 10.10.
2015-12-15 23:23:46 +01:00
Phil Ringnalda ad1c25178b Back out 950b5292fc5c (bug 1230672) for OS X 10.10 reftest bustage in olumnfill-auto.html 2015-12-14 21:33:27 -08:00
Nicholas Nethercote 59dfcb9a66 Bug 1231256 (part 11) - Remove unused parameter from HidePopupsInList(). r=roc.
--HG--
extra : rebase_source : 805d5cadfdd1cd357a1296d1ec2e6dc192fc4597
2015-12-08 20:06:04 -08:00
Nicholas Nethercote a96e4ed3ee Bug 1231256 (part 10) - Remove unused parameters from StartAPZDrag(). r=roc.
--HG--
extra : rebase_source : 32d54af512560923390228365801f2823cdea351
2015-12-08 20:05:13 -08:00
Nicholas Nethercote 175f0903af Bug 1231256 (part 9) - Remove unused parameter from ShowPopup(). r=roc.
--HG--
extra : rebase_source : 0fd079c5bbbdb19c216bb712f319fbf24609468b
2015-12-08 20:04:37 -08:00
Nicholas Nethercote 26a1b45e38 Bug 1231256 (part 8) - Remove unused parameters from MouseClicked(). r=roc.
--HG--
extra : rebase_source : 0a4ec983943a80d62384974cab2612f852cad919
2015-12-07 15:30:05 -08:00
Nicholas Nethercote fd01b68fac Bug 1231256 (part 7) - Remove unused parameters from two layout functions. r=roc.
--HG--
extra : rebase_source : bd6a7d6e3478a1ee17a7ef4dc7f237d3ca3fe8a7
2015-12-07 15:27:01 -08:00
Nicholas Nethercote b05b423429 Bug 1231256 (part 6) - Remove unused parameter from Damage functions. r=roc.
--HG--
extra : rebase_source : 1c5bce4cde56ce7cd63aa719d9952bf72164e634
2015-12-07 15:23:34 -08:00
Nicholas Nethercote 43de6de5c5 Bug 1231256 (part 1) - Remove unused nsBoxLayoutState parameters from many functions. r=roc.
--HG--
extra : rebase_source : d9b86154d4cfc8f195e7cd86b6e8e60af52efaa9
2015-12-07 10:17:47 -08:00
Mats Palmgren cda27f9549 Bug 1230672 part 4 - Reftests for <fieldset> with multicol layout. 2015-12-15 02:51:03 +01:00
Mats Palmgren 6008c786f7 Bug 1230672 part 3 - Add support for multicol layout on <fieldset> elements. r=bz 2015-12-15 02:51:03 +01:00
Mats Palmgren dc19903279 Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden. 2015-12-15 02:51:03 +01:00
Mats Palmgren c6b1fdaba5 Bug 1230672 part 1 - Make '-moz-column-fill:auto' work also when 'overflow' isn't 'visible'. r=bz 2015-12-15 02:51:03 +01:00
Mats Palmgren 3e5d9f0959 Bug 1230207 - A couple of simple reftests for grid/flexbox layout on a <fieldset>. 2015-12-15 02:51:03 +01:00
Mats Palmgren 028ecc5615 Bug 1230207 - Add support for display:grid/flex layout on <fieldset> elements. r=bz,dholbert 2015-12-15 02:51:02 +01:00
Kartikaya Gupta 0dcf99f8a4 Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Xidorn Quan e46f5d8adf Bug 1232157 - Fix reference mismatch errors in text-emphasis reftests caught by check-for-references. r=dbaron DONTBUILD
--HG--
extra : source : 2e7efc576be70018b456f5f2038cfa28e62cebc5
2015-12-15 10:45:42 +11:00
Kartikaya Gupta 6b0c32286a Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout 2015-12-14 15:52:31 -05:00
Kartikaya Gupta fcb193563c Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Xidorn Quan b7d17c8e5b Bug 1230508 - Always compute position to fixed for top layer elements for now. r=dbaron
Although the spec says absolute is allowed for top layer elements, and actually
other values should be computed to absolute, but this is mostly fine because
the only way we currently support for web content to use the top layer is via
the Fullscreen API, however, fullscreen elements are forced to be fixed by the
UA sheet.

Given only fixed is safe for top layer element currently, rather than doing
what the spec says, we should prefer always force it, until we really add
support for the other value.

--HG--
extra : source : 778b17ff659c0a392ead29afe7c0506acede5e6f
2015-12-14 12:31:23 +11:00
Nicholas Nethercote 16efa2c6ff Bug 1231303 - Moz2Dify nsFilterInstance. r=roc.
--HG--
extra : rebase_source : d8d1cef32ac83dd9319fd812366e77c24a316aae
2015-12-13 14:02:34 -08:00
Phil Ringnalda 0d8048b1ff Bug 1167155 etc. - skip abspos writing-mode reftests on Windows 7 for frequent waiting for onload scripts to complete timeouts, a=testonly 2015-12-12 13:55:05 -08:00
Botond Ballo 6de5b811f0 Bug 1176395 - Reftest. r=roc
--HG--
extra : rebase_source : c91d55dd38b30db785bd6064a380afeaffd57641
extra : amend_source : c45240b18db52bed554a9ef3f307f9512e8f1b15
extra : source : 7f98ea4b81c739abfe09e123838e9417e1415b0c
2015-12-10 17:07:36 -05:00
Botond Ballo afe315b114 Bug 1176395 - When an element is both position:sticky and transformed, apply the position:sticky outside the transform. r=roc
Conceptually, the transformed content is position:sticky. position:fixed
behaves similarly.

--HG--
extra : rebase_source : 59a7ad3f86deb8249ed2d54bf56bdee7dbe375f9
extra : source : 0009daf6b443c80c4423fca7e3275277ca2f012a
2015-12-09 15:24:39 -05:00
Carsten "Tomcat" Book 8c8e1c0526 Merge mozilla-central to mozilla-inbound 2015-12-11 11:42:10 +01:00
Carsten "Tomcat" Book b25476080d merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Mark Capella 967e3dc2bd Bug 1230613 - Long-press to trigger text selection should vibrate, r=snorp 2015-12-10 18:57:02 -05:00
Geoffrey Sneddon f753e1d3e3 Bug 1231261 - Append plugins to extra profile files instead of overwriting. r=dbaron 2015-12-10 13:34:00 +01:00
Botond Ballo 17da85114e Bug 1228597 - Disable a test that uses context menus on b2g. r=tn
Getting the test to pass would involve changing code that deals with
context menus to be aware of pres shell resolutions.

--HG--
extra : source : 1162028cf78db4749fb3672dd6555bbb1a6cfe4b
2015-12-08 16:49:46 -05:00
Mats Palmgren 44222f0fc0 Bug 1230695 - [css-grid] More abs.pos. grid alignment reftests. 2015-12-09 23:46:58 +01:00
Mats Palmgren d7d5269f4c Bug 1230695 - [css-grid] abs.pos. child spanning from an 'auto' start position to an end line should end on the start side of the gutter. r=dholbert 2015-12-09 23:46:58 +01:00
Mats Palmgren 6a61c6f7a4 Bug 1229999 - [css-grid] Reftest. 2015-12-09 23:46:58 +01:00
Mats Palmgren 0b4f94271c Bug 1229999 - [css-grid] Clamp auto-placed lines to where kMaxLine is in the translated grid. r=dholbert 2015-12-09 23:46:58 +01:00
Kartikaya Gupta e0c2c8e4f0 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.

--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo 1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Tobias Schneider df13650f35 Bug 978212 - [css-grid] Resolved value of grid-template-{columns,rows} in px units. r=mats 2015-11-24 17:27:54 -08:00
Andrea Marchesini c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Brian Birtles 885593747b Bug 1230056 part 2 - Remove nsLayoutUtils::HasAnimationsForCompositor and call EffectCompositor::HasAnimationsForCompositor directly; r=dholbert 2015-12-09 16:28:10 -05:00
Brian Birtles c70be15294 Bug 1230056 part 1 - Add EffectCompositor::HasAnimationsForCompositor; r=dholbert 2015-12-09 16:28:10 -05:00
Jonathan Kew dacfaeae8e Bug 1231175 - Missed change from Unicode 6.3 bidi algorithm update (ported from ICU's ubidi): include new ENL and ENR bidi pseudo-types in MASK_LTR. r=smontagu 2015-12-09 11:58:17 -05:00
Jonathan Kew 233f162796 Bug 1231175 - Reftest for failure to recognize mixed directionality in RTL para beginning with number within embed/isolate controls. r=smontagu 2015-12-09 11:57:44 -05:00
Kartikaya Gupta 6c7c3b6adf Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
--HG--
extra : commitid : 6YhRu80eZzC
2015-12-09 10:13:34 -05:00
Daniel Holbert 7330a6d04c (no bug) Fix typo (repeated word) in comment. comment-only, no review, DONTBUILD 2015-12-09 09:52:12 -05:00
Andrea Marchesini f503703375 Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking
--HG--
rename : dom/base/nsDOMFileReader.cpp => dom/base/FileReader.cpp
rename : dom/base/nsDOMFileReader.h => dom/base/FileReader.h
2015-12-09 06:22:40 -05:00
Kartikaya Gupta 9491a614c4 Back out three patches from bug 1228407 on a CLOSED TREE for causing various mochitest failures. r=backout
--HG--
extra : commitid : 7gaWjh5Noye
2015-12-08 21:00:30 -05:00
Boris Zbarsky dd3649596b Bug 930218 part 2. Account for the parent's box-sizing whe figuring out the percentage height of a kid with an intrinsic ratio for purposes of determining the parent's shrink-wrap width. r=dbaron 2015-12-08 14:56:20 -05:00
Boris Zbarsky 4f0644472a Bug 930218 part 1. Factor out the computation of block-size taken up by box-sizing into a separate function so we can reuse it. r=dbaron 2015-12-08 14:56:04 -05:00
Boris Zbarsky 253dee13c4 Bug 1230466. Make sure to update our scrollbar styles when a <body> is removed from the DOM, since we might now need to propagate from some other element. r=roc 2015-12-08 14:55:50 -05:00
Kartikaya Gupta 56e9023bca Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
--HG--
extra : commitid : LdMBKbQQw7V
2015-12-08 14:56:26 -05:00
Xidorn Quan 4cc83dede7 Bug 1229278 - Fix dynamic changes to text-emphasis-style. r=dbaron
--HG--
extra : source : 07a894d90fe2fc1bc5d44ffe07cc6ce58a13c706
2015-12-08 12:55:01 -05:00
Xidorn Quan 8fcbcb9a04 Bug 1225018 part 5 - Add reftests for line height handling of text-emphasis. r=dholbert
--HG--
extra : source : 545889535e5f537c41feb7cca67ada5f411f1bc4
2015-12-08 12:55:01 -05:00
Xidorn Quan 21a2c4c2b3 Bug 1225018 part 4 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
--HG--
extra : source : 778a1de3e41583e1c8f0a885ca34efc12375396a
2015-12-08 12:55:01 -05:00
Xidorn Quan 272514670b Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame
--HG--
extra : source : 47345d7b24f414e278a3f8cc688d2f77132d73ef
2015-12-08 12:55:01 -05:00
Xidorn Quan 5e810b6b20 Bug 1225018 part 2 - Move GetFontMetricsOfEmphasisMarks to nsLayoutUtils. r=jfkthame
--HG--
extra : source : e075456775a4c65a021e084a8fdc1d331343db88
2015-12-08 12:55:01 -05:00
Xidorn Quan d22519d81d Bug 1225018 part 1 - Trigger reflow on some text emphasis changes for line height calculation. r=dbaron
--HG--
extra : source : 8c4032e171969a65f93ced233c66b3b3b6b55e12
2015-12-08 12:55:01 -05:00
Nigel Babu f0c9c1d883 Backed out changeset c798c2576ad4 (bug 978212) for mochitest bustage 2015-12-08 15:55:13 +05:30
Mike Taylor d643549fd6 Bug 1230426 - Remove support for -webkit-border-image longhand CSS property aliases. r=dholbert
It turns out Edge had added them at one point, but ended up removing them because they
were never shipped in WebKit/Blink browsers (oops).
2015-12-04 08:43:00 +01:00
Tobias Schneider cbe699d03c Bug 978212 - Resolved value of grid-template-{columns,rows} in px units. r=mats 2015-12-03 14:23:00 +01:00
L. David Baron 62a0eac326 Bug 1230701 - Add test that position does not create a fixed-position containing block. r=dholbert
I confirmed that the new test fails without the previous patch (since
the abspos element is 50px from the left edge of the viewport instead of
150px, and at the top edge instead of 100px from the top).  The test
passes with the patch.

--HG--
rename : layout/reftests/w3c-css/submitted/will-change/will-change-fixpos-cb-height-1.html => layout/reftests/w3c-css/submitted/will-change/will-change-fixpos-cb-position-1.html
extra : commitid : 3xNLl9oUDJV
2015-12-07 18:39:41 -05:00
L. David Baron d588bfd40b Bug 1230701 - Make will-change:position create a containing block for absolutely-positioned elements. r=dholbert
--HG--
extra : commitid : 99HuPIkGhg5
2015-12-07 18:39:41 -05:00
Nicholas Nethercote 16cd9db041 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Simon Montagu c2726731e4 Bug 1162813: filter paragraph separators before passing text to SetPara, r=jfkthame 2015-12-07 21:18:35 +02:00
Simon Montagu 6c2badf68d Test for bug 1162813, r=jfkthame 2015-12-07 21:18:29 +02:00
Nicholas Nethercote ef7209c641 Bug 1230413 (part 5) - Pass a DrawTarget to Draw{Dashed,SolidBorder}Segment(). r=mattwoodrow.
Instead of an nsRenderingContext.

--HG--
extra : rebase_source : 1c6d8bba8af88f457d8310454daa4b40e09fc244
2015-12-06 14:13:58 -08:00
Nicholas Nethercote ac18a09064 Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow.
--HG--
extra : rebase_source : 750496661635e7db65b26c625834f2d14a1b3e59
2015-12-06 14:13:57 -08:00
Nicholas Nethercote 937ca16d12 Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow.
Instead of an nsRenderingContext.

--HG--
extra : rebase_source : 8b36c4babd8324c775fcc459f9ed29e89f2030cd
2015-12-03 19:16:59 -08:00
Jonas Sicking 6cc5074df0 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-06 18:33:14 -05:00
Sebastian Hengst 774236075d Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking df33e62850 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-05 01:46:20 -08:00
Lee Salzman 54897f1c6a Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel 2015-12-18 13:53:26 -05:00
Mason Chang 4300e45d71 Bug 1227216. Part 2: Fallback to blur destination rect if a large shadow offset occurs. r=mstange 2015-12-04 11:05:47 -08:00
Mason Chang 380d965bc0 Bug 1227216. Part 1: Only draw surface on inset box shadows if dest and src are equal sizes. r=mstange 2015-12-04 11:05:45 -08:00
Thinker K.F. Li 07d865de46 Bug 1230075 - Allow perspective items in hittest() for preserve-3d cases. r=mattwoodrow 2015-12-03 00:59:00 +01:00
Boris Zbarsky 1f6bbd4987 Bug 1230092. Make nsIDOMCustomEvent no longer inherit from nsIDOMEvent, so that CustomEvent doesn't end up with multiple inheritance from nsIDOMEvent. r=smaug 2015-12-04 09:51:04 -05:00
Xidorn Quan ba1aea5e03 Bug 1229739 - Use the color of shadow if available for drawing emphasis marks in shadow. r=jfkthame
--HG--
extra : source : 2e07c6f0480005fea6ea2c0343726baef39d1bc6
2015-12-04 16:28:34 +11:00
Xidorn Quan f723e98d21 Bug 1224013 part 3 - Add reftests for text-emphasis with ruby. r=jfkthame
--HG--
extra : source : 97428cf7cacc7177f7fc9efe297ea7d5f96f1886
2015-12-04 15:16:54 +11:00
Xidorn Quan 8e300673ba Bug 1224013 part 2 - Render text-emphasis outside ruby. r=jfkthame
--HG--
extra : source : e725814ae1bb0ccdaf8852eccd3442a9103f7e3a
2015-12-04 15:16:54 +11:00
Xidorn Quan aa54c2e7ff Bug 1224013 part 1 - Enable text-emphasis in UA sheets. r=dbaron
The only usage of text-emphasis in UA sheets is to clear it on ruby text. Making
it enabled in UA sheets allows that rule to take effect without additional code
to reload html.css when the pref changes.

--HG--
extra : source : ed43e0efd1f4f8b4605732ff8740f88f1282eedc
2015-12-04 15:16:54 +11:00
Chris Peterson 46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Xidorn Quan 1ed71b2fe7 Backed out 8 changesets (bug 1225018, bug 1229278, bug 1224013) for reftest failures on CLOSED TREE
--HG--
extra : amend_source : ee1d38ab6715e193cb1462614b3395c96ca06a0c
extra : histedit_source : 65b6dcb58b89c3cbcfe9a47834baf3181a2990c8%2Cc19e313c6800de1a1906c0db2f2bd4680fe67b78
2015-12-04 13:08:17 +11:00
Xidorn Quan aba451034e Bug 1224013 part 4 - Add reftests for text-emphasis with ruby. r=jfkthame
--HG--
extra : source : c472f74ba917a52d80125d7727ec1512dca1071a
2015-12-04 12:02:41 +11:00
Xidorn Quan abc8fa2f7d Bug 1224013 part 3 - Render text-emphasis outside ruby. r=jfkthame
--HG--
extra : source : 48dcb7fee1a27fe8d925fe59534261635a67928d
2015-12-04 12:02:41 +11:00
Xidorn Quan 45ebb9aa0e Bug 1224013 part 2 - Move leading fix to ruby base container. r=dholbert
Per spec, the additional leading is added on side of ruby base container, not
ruby container. This could lead to some trivial behavior changes on edge cases.

--HG--
extra : source : 495e466ebdb628fecd9a546b539001ac316fc133
2015-12-04 12:02:41 +11:00
Xidorn Quan 86beb4e3aa Bug 1224013 part 1 - Enable text-emphasis in UA sheets. r=dbaron
The only usage of text-emphasis in UA sheets is to clear it on ruby text. Making
it enabled in UA sheets allows that rule to take effect without additional code
to reload html.css when the pref changes.

--HG--
extra : source : 08e14a9afe4d6ad018c461fd58a48a74aa421759
2015-12-04 12:02:41 +11:00
Xidorn Quan e0395eb608 Bug 1229278 - Fix dynamic changes to text-emphasis-style. r=dbaron
--HG--
extra : source : 88d4a7528fcf6835674c6556efc1aea740bec56e
2015-12-04 11:58:59 +11:00
Xidorn Quan d507060be6 Bug 1225018 part 3 - Add reftests for line height handling of text-emphasis. r=dholbert
--HG--
extra : source : 256fbda58c8caccf32e8bfea4ffd3d852247c45c
2015-12-04 11:58:59 +11:00
Xidorn Quan c66c20fcbf Bug 1225018 part 2 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
--HG--
extra : source : ec7d4f32bc6ba7c8ea0e0f0441fabbf6f4e15672
2015-12-04 11:58:59 +11:00
Xidorn Quan e0157f6d78 Bug 1225018 part 1 - Trigger reflow on some text emphasis changes for line height calculation. r=dbaron
--HG--
extra : source : 96f505fe488a4345906f362beab47db5af94e894
2015-12-04 11:58:59 +11:00
Wes Kocher caf5976449 Merge m-c to inbound, a=merge
--HG--
extra : commitid : EpefkAb2K9L
2015-12-03 16:11:01 -08:00
Wes Kocher c40454e094 Merge fx-team to central, a=merge
--HG--
extra : commitid : 4Zjf9SresVg
2015-12-03 16:07:50 -08:00
Brian Birtles c663fcf129 Bug 1226118 part 14 - Rewrite GetAnimationCollection(nsIFrame*) in terms of the existing GetAnimationCollection; r=dholbert
This simply allows us to share the code that maps from pseudo-types to atoms.
2015-12-04 08:34:18 +09:00
Brian Birtles 7351fd75e6 Bug 1226118 part 13 - Move the GetAnimationCollection definitions side-by-side; r=dholbert
This is to match the order in the header file and because in the next patch I'd
like to somewhat re-implement one method in terms of the other and having them
side-by-side will make it easier to read the code.

This patch makes no code changes whatsoever besides shifting the placement of
the function definitions within the .cpp file.
2015-12-04 08:34:17 +09:00
Brian Birtles f82ce867cf Bug 1226118 part 12b - Rename CommonAnimationManager::GetAnimations to GetAnimationCollection; r=dholbert
This is to align with the existing GetAnimationCollection method that takes
a frame. Also, by making this name more specific hopefully it will be used less
since we are trying to move as much code as possible over to using EffectSet
instead of AnimationCollection.
2015-12-04 08:34:17 +09:00
Brian Birtles e0492c55ba Bug 1226118 part 12a - Make RestyleManager::GetMaxAnimationGenerationForFrame used frame-based GetAnimationCollection; r=dholbert 2015-12-04 08:34:17 +09:00
Brian Birtles 7cccaf3f92 Bug 1226118 part 11 - Remove CommonAnimationManager::GetAnimationsForCompositor; r=dholbert 2015-12-04 08:34:17 +09:00
Brian Birtles 13bc863699 Bug 1226118 part 10 - Use EffectCompositor::GetAnimationsForCompositor in nsLayoutUtils; r=dholbert 2015-12-04 08:34:17 +09:00
Brian Birtles e56195af79 Bug 1226118 part 9 - Use EffectCompositor::GetAnimationsForCompositor in nsDisplayList; r=dholbert
The existing code contains a comment about needing to add transitions before
animations. However, this is unnecessary since the interaction between
transitions and animations is handled by the mWinsInCascade member that is
checked in AddAnimationsForProperty.
2015-12-04 08:34:17 +09:00
Brian Birtles 40c6c207b0 Bug 1226118 part 7 - Rename and rework KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor to ShouldBlockCompositorAnimations; r=hiro
KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor has a comment that says
it, "Returns true |aProperty| can be run on compositor for |aFrame|" but it
does nothing of the sort.

What it *does* do is check answer the question, "If there happened to be an
animation of |aProperty| on |aFrame|, should we still run animations on the
compositor for this element?".

This patch renames the method accordingly and moves the step where we iterate
over a given effect's animated properties from
AnimationCollection::CanPerformOnCompositor to inside this method, making this
method a class method rather than a static method at the same time.

As noted in the expanded comment, the approach of blocking opacity animations
in these situations seems unnecessary but for now this patch just preserves the
existing behavior.
2015-12-04 08:32:53 +09:00
Brian Birtles a9efb98276 Bug 1226118 part 6 - Remove no longer used LayerAnimationRecord/Info code from AnimationCommon; r=dholbert
This code has now been moved to LayerAnimationInfo.{h,cpp} and is not used in
AnimationCommon.
2015-12-04 08:32:53 +09:00
Brian Birtles fd98de719c Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles 7f1672cff8 Bug 1226118 part 4 - Use EffectSet in ActiveLayerManager's animated-scale checks; r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles a92b5ec6ab Bug 1226118 part 3 - Use EffectSet in CommonAnimationManager::ClearIsRunningOnCompositor; r=hiro, r=dholbert 2015-12-04 08:32:53 +09:00
Brian Birtles f409225f4c Bug 1226118 part 2 - Use EffectSet in nsLayoutUtils animation functions; r=dholbert 2015-12-04 08:32:52 +09:00
Nicholas Nethercote 5a37352d4a Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Robert O'Callahan 0a93154cb8 Bug 927228 - Allow ImageLayerization for images using 'contain' and 'cover'. r=mstange
--HG--
extra : commitid : 7UUYvEXd4bI
extra : rebase_source : 861443bafb02c8b7ba9b890a6685846a242f651d
2015-12-03 17:36:40 +01:00
Markus Stange 21ce2dd228 Bug 1200611 - Size ImageLayers correctly for <img>s using object-fit. r=dholbert
This changes nsDisplayImage::GetDestRect and nsImageFrame::PredictedDestRect to return
the true dest rect of the image, without intersecting it with the image content box.
The only caller of these functions that actually requires a rectangle that's within
the image's content bounds is nsDisplayImage::GetOpaqueRegion, so I'm changing that
to intersect with the display item's bounds.
I'm pretty sure nsImageFrame::MaybeDecodeForPredictedSize() also prefers the unclipped
dest rect, because it cares about the scale at which the image is painted, and not
about which parts of the image are painted.

--HG--
extra : commitid : CDJJnfN7vF3
extra : rebase_source : 5b59f81ab60290f508b83db7e942559da621cb70
2015-12-03 15:20:10 +01:00
Jan Beich 814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Tom Tromey 98339c1437 Bug 1224121 - change getRelativeRuleLine to return 0 for line-less rules; r=heycam 2015-12-03 08:55:13 -07:00
Botond Ballo ae1bdc7602 Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.

--HG--
extra : rebase_source : a2a4b36514cc54533757c075fcf2c53ab3020939
extra : source : 826da3dc12baeb84b32be50f4b2c0591ca73ab37
2015-11-30 20:06:45 -05:00
Botond Ballo 70b749edea Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.

--HG--
extra : rebase_source : 6f1cf33a5550987097fcd386c77765d046f5ec34
extra : source : 8f66bdc8e6e86f482a06b9c7a160740026cf24b4
2015-11-30 20:14:31 -05:00
Botond Ballo e67de552b9 Bug 1069471 - Add a ViewAs() overload for matrices. r=kats
--HG--
extra : rebase_source : ff3f0ee017b03fff77928f051a84c4c36f16f3ea
extra : source : 5af1814680b23cd05f4ab69f221d43b30bace786
2015-11-30 19:50:26 -05:00
Botond Ballo 62ee05c5f0 Bug 1069417 - Add typedefs for commonly used typed matrices. r=kats
--HG--
extra : rebase_source : 03dbc8c1ef79d105768bd083992ff14b21e5087f
extra : source : 7006935e03533321513fe5aa64dc00040117f4d1
2015-11-30 19:52:33 -05:00
Botond Ballo 0858698ac3 Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.

No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).

--HG--
extra : rebase_source : ecd9470b9defcc55cfb9e7dbd26e928a6219c3e5
extra : source : 0fc99b5490830953f37a4d8769e42dad2d10bc6e
2015-12-02 18:52:00 -05:00
Nicholas Nethercote 81c4b5301c Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond.
--HG--
extra : rebase_source : 08d12c48bd6fb086a1d27a8169b1a423534e03f7
2015-11-25 21:42:59 -08:00
Nicholas Nethercote 400204beea Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 3483ed8e2ff2e61ce8a74dcb59a7b43b46bf502d
2015-11-22 20:32:29 -08:00
Nicholas Nethercote 1fb25d8609 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Nicholas Nethercote 722653b441 Bug 1229202 (part 4) - Remove an unused gfxContextAutoSaveRestore. r=mattwoodrow.
--HG--
extra : rebase_source : 2d999029ecf278bf94333f9ac1bebf8613f9bc6b
2015-12-02 15:32:16 -08:00
Nicholas Nethercote 757eb4ec8c Bug 1229202 (part 3) - Make gfxContextAutoDisableSubpixelAntialiasing take a DrawTarget instead of a gfxContext. r=mattwoodrow.
--HG--
extra : rebase_source : 63851ac1725451c7607c00b345ce3334ff749246
2015-12-02 15:32:16 -08:00
Nicholas Nethercote 3993af028e Bug 1229202 (part 1) - Remove some unused arguments in nsPrintEngine's functions. r=mattwoodrow.
The first four arguments of GetPageRangeForSelection() are not used usefully,
nor are the first two arguments of FindSelectionBounds() and
FindSelectionBoundsWithList(). (Mutual recursion between the latter two
obscured this fact.)

--HG--
extra : rebase_source : c36198d3a91ddb6aa5089c23c7dd5eb33c74a2c8
2015-12-02 15:32:16 -08:00
Markus Stange 96c1739213 Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
--HG--
extra : commitid : BFuXYwxFvPI
extra : rebase_source : 2b034d8cfac20df565bea456f202573cca99d24d
2015-12-02 22:54:03 +01:00
Robert Longson e5adaf828f Bug 1145195 part 1 - Create a helper function for PrependLocalTransformsTo in SVGContentUtils r=dholbert 2015-12-02 22:36:23 +00:00
Kartikaya Gupta 01ade73317 Bug 1229853 - Don't apply the displayport multiplier if we don't have a frame for the element the displayport is set on. r=tn 2015-12-02 16:44:21 -05:00
David Anderson ca5122668a Implement the DidComposite NPAPI callback. (bug 1217665 part 8, r=mattwoodrow)
--HG--
extra : rebase_source : 4df420dcfb01db1d5fc9136bbb4c428a7ea59266
2015-12-02 11:31:17 -08:00
Carsten "Tomcat" Book 4d753d4bde Merge mozilla-central to mozilla-inbound 2015-12-02 15:22:37 +01:00
Carsten "Tomcat" Book 5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Robert O'Callahan 3568d59638 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Robert O'Callahan ef0cbe97ce Bug 1224976. Recover from singular-matrix cairo errors. r=mattwoodrow
--HG--
extra : commitid : GIbNC6bzIJp
extra : rebase_source : 15643f58ae0f360a5b91c146c686b0a9a0c19a8a
2015-11-16 17:35:23 +13:00
Nicholas Nethercote ddc78c3b0c Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.

--HG--
extra : rebase_source : b1e91f1c19bcbe0521b0ce461d6c90512ca938ef
2015-12-01 15:36:26 -08:00
Kartikaya Gupta 0f7fe3417c Bug 1156392 - Remove an ifdef condition that we don't need any more. r=tn 2015-12-01 22:21:42 -05:00
Mats Palmgren 1402113a05 Bug 1228984 - [css-grid] Add more auto-placement tests.
The added tests are based on the original testcases contributed
by Manuel Rego Casasnovas <rego@igalia.com> in bug 1228984
and bug 1229009.
2015-12-02 14:12:24 +01:00
Mats Palmgren a9ed4267a5 Bug 1228984 - [css-grid] Auto-placement into columns missed some unoccupied span-1 column slots. r=dholbert 2015-12-02 14:12:24 +01:00
Mats Palmgren 88e98c9f0b Bug 1229165 - [css-grid] Reftests for min/max-width/height properties on the grid container. 2015-12-02 14:12:24 +01:00
Mats Palmgren 23eba646ad Bug 1229165 - [css-grid] Apply min/max-width/height properties to clamp block-size of auto-height grid containers. r=dholbert 2015-12-02 14:12:24 +01:00
Mats Palmgren 5df97956d3 Bug 1227285 part 3 - [css-grid] Reftests for testing minmax(min-content,max-content) track sizing with grid item with %-sized descendants. 2015-12-02 14:12:23 +01:00
Mats Palmgren 2874c6e6fc Bug 1227285 part 2 - [css-grid] Request shrink-wrap behavior when doing a measuring reflow to figure out a grid item's block-size. r=dholbert 2015-12-02 14:12:23 +01:00
Mats Palmgren 7579d57491 Bug 1227285 part 1 - Add a nsHTMLReflowState ctor flag to request shrink-wrap behavior. r=dholbert 2015-12-02 14:12:23 +01:00
Mats Palmgren 23d87b84cc Bug 1229145 - [css-grid] Adjust align-self/justify-self:center reference rendering to reflect the corrected margin calculations. 2015-12-01 23:20:18 +01:00
Mats Palmgren 1998e3c898 Bug 1229145 - [css-grid] Account for start margin when calculating border box offset for align-self/justify-self:center. r=dholbert 2015-12-01 23:20:18 +01:00
Mats Palmgren d9b22006aa Bug 1176793 part 2 - [css-grid] Reftests for margin:auto on grid items. 2015-12-01 23:20:18 +01:00
Mats Palmgren b65f5f8f9c Bug 1176793 part 1 - [css-grid] Implement margin:auto for grid items. r=dholbert 2015-12-01 23:20:18 +01:00
Jesse Ruderman 42b8b555ef Bug 1228670 - Crashtest. 2015-12-01 23:20:18 +01:00
Mats Palmgren 469b44b323 Bug 1228670 - Null-check GetContentInsertionFrame() before using it. r=bz 2015-12-01 23:20:18 +01:00
David Anderson 83e664a4cd Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00
Anup Kumar 27d40f6dee Bug 1197307 - remove PR_snprintf calls in layout/ r=froydnj r=dholbert 2015-12-01 12:50:47 -08:00
Andrew Halberstadt 12895ab349 Bug 1226017 - Drop support for b2g desktop in reftests, r=jgriffin
--HG--
rename : layout/tools/reftest/b2g_desktop.py => layout/tools/reftest/runreftestmulet.py
extra : commitid : wGGadWUFZp
extra : rebase_source : 13d48365298276de9b235c72c930173627d033bd
2015-11-27 13:56:43 -05:00
Gabor Krizsanits a0ff959566 Bug 1228542 - Resetting AuthorStyleSheets. r=bz 2015-12-01 13:54:34 +01:00
Anup Kumar db13033a33 Bug 1228051 - Remove PR_snprintf calls in nsCSSParser.cpp's CSSParserImpl::ParseColor. r=dholbert
--HG--
extra : rebase_source : feeb90e0a5a0306ef16e33256024ec3a35565abb
2015-11-26 03:19:00 +01:00
Carsten "Tomcat" Book 717f6dbf0b typo bustage fix for bug 1219236 a=me 2015-12-01 10:30:25 +01:00
Carsten "Tomcat" Book 7af3d35998 Backed out changeset 427dc5894094 (bug 1197307) for bustage 2015-12-01 10:04:50 +01:00
Hiroyuki Ikezoe 63de4ed1e1 Bug 1219236 - Part 1: Flush throttle styles for all descendant sub documents and *root* document itself. r=roc 2015-11-17 03:05:00 +01:00
Anup Kumar e8ff34c8eb Bug 1197307 - remove PR_snprintf calls in layout. r=froydnj r=dholbert 2015-11-27 21:44:00 +01:00
L. David Baron 7dc263f595 Bug 1228921 patch 2 - Fix nsRestyleHint constants to match the same style. r=xidorn
--HG--
extra : commitid : EwDr20MLKlQ
2015-11-30 21:37:08 -08:00
L. David Baron 3ad29c50ac Bug 1228921 - Write nsChangeHint constants using left shifts. r=xidorn
This means I don't have to carefully count (or copy and paste) 0s when
adding new constants.

--HG--
extra : commitid : CpIATm1bRj9
2015-11-30 21:37:08 -08:00
L. David Baron 911415d73e Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
--HG--
extra : commitid : EbDZ3fKuldK
2015-11-30 21:25:55 -08:00
L. David Baron f847691699 Bug 1224251 patch 3 - Return nsChangeHint_UpdateUsesOpacity when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : BP6PdQF7hQo
2015-11-30 21:25:54 -08:00
L. David Baron ea2560fb45 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 54U9yWksA8Q
2015-11-30 21:25:54 -08:00
L. David Baron a3f4d86240 Bug 1224251 patch 1 - Add reftests. r=mattwoodrow
Locally, these tests fail reliably for me without the patch.  I'm not,
however, confident that they would continue to do so, across future
mutations in the code, were the bug to be reintroduced, given the amount
of fiddling I had to go through to get them to fail without the patch.

That is, without the patch:

  table-row-opacity-dynamic-1.html shows the area of the row that's not
  behind the text as a much more opaque blue than it should be (while
  the area of the row that is behind the text is correct)

  table-row-opacity-dynamic-2.html shows the area of the row that's not
  behind the text as the white background showing through (while the
  area of the row that is behind the text is correct)

--HG--
extra : commitid : 5PbkGAFgpuc
2015-11-30 21:25:54 -08:00
Daniel Holbert 5457e9b5a5 Bug 1229212: Manually make the text frame inside of <input type="number"> satisfy the requirement that all flex items are block-level. r=mats 2015-11-30 21:22:44 -08:00
Boris Zbarsky 73208ce2f3 Bug 1228707. Add a away to call Web IDL callbacks while ignoring any errors from them, and use it in a few places. r=smaug 2015-11-30 22:04:09 -05:00
Nicholas Nethercote d6e3e8a5a8 Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
--HG--
extra : rebase_source : 46118bfc0152322cfdf8a82913c8b056a3f53bdc
2015-11-25 20:55:34 -08:00
Nicholas Nethercote e60696c015 Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.

--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
L. David Baron e729cb0a30 Bug 1228934 - Remove style, weight, and stretch parameters from nsFont constructor. r=jdaggett
--HG--
extra : commitid : AjhXsILlXJt
2015-11-30 16:23:09 -08:00
L. David Baron c9db8494ee Bug 1228877 - Make nsStyleContext::HasChildThatUsesGrandancestorStyle by setting bit on grandchild's parent instead of grandchild. r=xidorn
--HG--
extra : commitid : I1vYFLqDi7K
2015-11-30 16:16:46 -08:00
Mason Chang d03fd95186 Bug 1221341. Snap box shadow clip rect to device pixels. r=mstange 2015-11-30 15:47:26 -08:00
L. David Baron 6e50578d13 Bug 1227766 patch 4 - Tests for will-change establishing a fixed-pos and abs-pos containing block. r=dholbert
Without the previous patches, the tests:
  will-change-fixpos-cb-contain-1.html
  will-change-fixpos-cb-filter-1.html
  will-change-fixpos-cb-perspective-1.html
  will-change-fixpos-cb-transform-style-1.html
fail, but they pass with the patches.  The new tests:
  will-change-fixpos-cb-height-1.html
  will-change-fixpos-cb-transform-1.html
pass both ways:  the first because it tests that nothing happens, and
the second because we were separately testing the will-change bit for
transform via HasTransform.

--HG--
extra : commitid : LicDONiEXOX
2015-11-30 15:46:45 -08:00
L. David Baron af419fa7ec Bug 1227766 patch 3 - Make will-change cause creation of a containing block for fixed and absolutely positioned elements when needed. r=dholbert
--HG--
extra : commitid : 8VbTSvfxslI
2015-11-30 15:46:44 -08:00
L. David Baron b218a5c03d Bug 1227766 patch 2 - Add will-change bit for establishing a containing block for fixed positioned elements. r=dholbert
--HG--
extra : commitid : JoBB7VKAPye
2015-11-30 15:46:44 -08:00
L. David Baron 9ae470dda0 Bug 1227766 patch 1 - Add flag for CSS properties that establish a containing block for fixed positioned elements. r=dholbert
--HG--
extra : commitid : HBDy7CHmdvg
2015-11-30 15:46:44 -08:00
L. David Baron e7a0ea3790 Bug 196292 - Make table inside align=left reset alignment just like for align=center and align=right. r=bz
Without the patch, cell-align-stopped-at-table-1-standards.html fails
because the th in the align=left cell is left-aligned rather than
centered.

--HG--
extra : commitid : HPydYjQL5pC
2015-11-30 15:31:30 -08:00
Mike Hommey 08417dc44f Bug 1228467 - Don't preprocess layout/tools/reftest/reftest-cmdline.manifest. r=gps 2015-12-01 08:25:22 +09:00
Mike Hommey 3a7b31cfb5 Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Xidorn Quan 7b1f42e5c6 Bug 1202940 part 2 - Remove layout.css.ruby.enabled pref. r=dbaron
--HG--
extra : source : bb1c73598b74195f9877b189f2e2e19fb1eb0fc0
2015-12-01 09:39:37 +11:00
Xidorn Quan 4b5a4691e5 Bug 1202940 part 1 - Move html.css and ua.css back to be loaded in constructor of nsLayoutStylesheetCache. r=dbaron
DependentPrefChanged and InvalidateSheet are no longer used anywhere, but it is
probably better to keep them as-is, since we may need them again in the future.

--HG--
extra : source : 5e976ebbbba3b4ce8d83d40e4d071184ab52aaaa
2015-12-01 09:39:37 +11:00
L. David Baron 80cb1a0f3b Bug 1228501 patch 5 - Remove NS_FONT_DECORATION_* constants. r=jdaggett
Decorations in Gecko are associated with the CSS 'text-decoration'
property, so the constants should live in nsStyleConsts.h, as they
largely already do (since the names defined there are the vast majority
of the uses).

--HG--
extra : commitid : FxTJpx164Cv
2015-11-30 14:02:26 -08:00
L. David Baron 150c18deae Bug 1228501 patch 4 - Remove nsStyleFont::CalcFontDifference, which now duplicates the list of tests in nsFont::Equals. r=jdaggett
--HG--
extra : commitid : DKp1CfndZTd
2015-11-30 14:02:25 -08:00
L. David Baron f194309cac Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : JVYtDCoxqyH
2015-11-30 14:02:25 -08:00
L. David Baron 5664cf9014 Bug 1228501 patch 2 - Remove nsFont::decorations member variable. r=jdaggett
The member variable was always set to 0 or to NS_FONT_DECORATION_NONE,
which is 0.

Although this does leave a gap in the structure, I don't see any
opportunities for reordering members to actually shrink nsFont.

--HG--
extra : commitid : 34LA3wCkbdR
2015-11-30 14:02:25 -08:00
L. David Baron bf50ef11b4 Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
The removed parameter is always 0.

--HG--
extra : commitid : 2YNm9lizlzt
2015-11-30 14:02:25 -08:00
Carsten "Tomcat" Book 6d9dbf2bc2 Backed out changeset 52f9c007281d (bug 1224251) for Android Reftest failures on a CLOSED TREE 2015-11-30 12:17:47 +01:00
Carsten "Tomcat" Book b26ab66204 Backed out changeset 5c4a581885e4 (bug 1224251) 2015-11-30 12:10:44 +01:00
Carsten "Tomcat" Book 87c80c6a24 Backed out changeset 91898a35b414 (bug 1224251) 2015-11-30 12:10:43 +01:00
Carsten "Tomcat" Book a1a34b4afa Backed out changeset 0a2d8e926a66 (bug 1224251) 2015-11-30 12:10:42 +01:00
Carsten "Tomcat" Book 681c0ef404 Backed out changeset e1fd92eeb5ba (bug 1228501) 2015-11-30 12:10:40 +01:00
Carsten "Tomcat" Book 7cbe00e2e7 Backed out changeset 3a3cd254f508 (bug 1228501) 2015-11-30 12:10:38 +01:00
Carsten "Tomcat" Book d76b6dfebd Backed out changeset 6c478d7a9467 (bug 1228501) 2015-11-30 12:10:37 +01:00
Carsten "Tomcat" Book f016eefac0 Backed out changeset ec79945130ff (bug 1228501) 2015-11-30 12:10:35 +01:00
Carsten "Tomcat" Book e571b4aa87 Backed out changeset cce90c9b7d1d (bug 1228501) 2015-11-30 12:10:34 +01:00
Carsten "Tomcat" Book c8d6d54b26 Backed out changeset 4a3c509bcb25 (bug 1228877) 2015-11-30 12:10:32 +01:00
Carsten "Tomcat" Book 1d7dc20dd1 Backed out changeset 36a37b7451a5 (bug 1224251) 2015-11-30 12:10:31 +01:00
L. David Baron f37bf8fe6e Bug 1224251 followup - Annotate one of the new reftests as fuzzy on Windows and Mac.
--HG--
extra : commitid : 1BCD8In3iqa
2015-11-30 01:17:24 -08:00
L. David Baron ed7a9954b6 Bug 1228877 - Make nsStyleContext::HasChildThatUsesGrandancestorStyle by setting bit on grandchild's parent instead of grandchild. r=xidorn
--HG--
extra : commitid : 2tUmogO3bzN
2015-11-29 23:15:37 -08:00
L. David Baron 9d5f02c429 Bug 1228501 patch 5 - Remove NS_FONT_DECORATION_* constants. r=jdaggett
Decorations in Gecko are associated with the CSS 'text-decoration'
property, so the constants should live in nsStyleConsts.h, as they
largely already do (since the names defined there are the vast majority
of the uses).

--HG--
extra : commitid : 634GcFUlmHo
2015-11-29 23:15:37 -08:00
L. David Baron 441af2aae0 Bug 1228501 patch 4 - Remove nsStyleFont::CalcFontDifference, which now duplicates the list of tests in nsFont::Equals. r=jdaggett
--HG--
extra : commitid : E44ej4l9NgT
2015-11-29 23:15:26 -08:00
L. David Baron 6f20c9e01e Bug 1228501 patch 3 - Remove nsFont::BaseEquals. r=jdaggett
BaseEquals and Equals were made the same by patch 2, so BaseEquals can
be removed.

(operator== is also defined as an inlined call to Equals.)

--HG--
extra : commitid : ALr3bEC0aNJ
2015-11-29 23:15:02 -08:00
L. David Baron 07d1584bd9 Bug 1228501 patch 2 - Remove nsFont::decorations member variable. r=jdaggett
The member variable was always set to 0 or to NS_FONT_DECORATION_NONE,
which is 0.

Although this does leave a gap in the structure, I don't see any
opportunities for reordering members to actually shrink nsFont.

--HG--
extra : commitid : 9INFKtizQnt
2015-11-29 23:15:01 -08:00
L. David Baron c3ea47d074 Bug 1228501 patch 1 - Remove decorations parameter to nsFont constructors. r=jdaggett
The removed parameter is always 0.

--HG--
extra : commitid : 2nTtt0E9Syb
2015-11-29 23:15:01 -08:00
L. David Baron 17e9e51fbf Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
--HG--
extra : commitid : A4ASfp124vt
2015-11-29 23:15:01 -08:00
L. David Baron 2dd629b899 Bug 1224251 patch 3 - Return nsChangeHint_UpdateUsesOpacity when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 9ILji8aGpnB
2015-11-29 23:15:01 -08:00
L. David Baron 7dcb2bf7c7 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 4W2ejOSubfo
2015-11-29 23:15:00 -08:00
L. David Baron 258ddecaa0 Bug 1224251 patch 1 - Add reftests. r=mattwoodrow
Locally, these tests fail reliably for me without the patch.  I'm not,
however, confident that they would continue to do so, across future
mutations in the code, were the bug to be reintroduced, given the amount
of fiddling I had to go through to get them to fail without the patch.

That is, without the patch:

  table-row-opacity-dynamic-1.html shows the area of the row that's not
  behind the text as a much more opaque blue than it should be (while
  the area of the row that is behind the text is correct)

  table-row-opacity-dynamic-2.html shows the area of the row that's not
  behind the text as the white background showing through (while the
  area of the row that is behind the text is correct)

--HG--
extra : commitid : 76YvteUZXpE
2015-11-29 23:15:00 -08:00
Sunny Sidhu cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Mats Palmgren 06f39bb949 Bug 1225368 - [css-grid] More Track Sizing reftests. 2015-11-28 21:37:44 +01:00
Mats Palmgren 5df657f9e0 Bug 1225368 - [css-grid] Make CollectGrowable() deal with frozen tracks; i.e. subtract their base size but don't collect them since they aren't growable. r=dholbert 2015-11-28 21:37:44 +01:00
Mats Palmgren d51e17c2d0 Bug 1227162 - [css-grid] Reftests for grid container with overflow:hidden. 2015-11-28 21:37:44 +01:00
Mats Palmgren 14b6070460 Bug 1227162 - [css-grid][css-align] Make the scrolled pseudo frame inherit more CSS Align / Grid properties. r=dholbert 2015-11-28 21:37:44 +01:00
Mats Palmgren 61520ea833 Bug 1227099 - [css-grid] Additional reftests for 'grid-row-gap'. 2015-11-28 21:37:44 +01:00
Mats Palmgren 07bd900b59 Bug 1227099 - [css-grid] Grid container block-size should include a grid-row-gap between each row. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman 08c8793dcd Bug 1225592 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren c49a23f7ce Bug 1225592 - [css-grid] Apply a max limit to the number of explicit tracks we will store (kMaxLine - 1). Also make the layout code more robust so it doesn't depend on that. r=dholbert 2015-11-28 21:37:44 +01:00
Jesse Ruderman b1bb110798 Bug 1225376 part 3 - [css-grid] Crashtest. 2015-11-28 21:37:44 +01:00
Mats Palmgren 3ce65688e6 Bug 1225376 part 2 - [css-align] Add mochitests for align/justify-items/self/content computed values.
--HG--
rename : layout/style/test/test_flexbox_align_self_auto.html => layout/style/test/test_align_justify_computed_values.html
2015-11-28 21:37:44 +01:00
Mats Palmgren 0a9fc78a26 Bug 1225376 part 1 - [css-align] Don't compute left/right to start in the style system anymore (due to pending spec change). Map the used value instead (in layout). r=dholbert
For background, see this www-style thread:
https://lists.w3.org/Archives/Public/www-style/2015Nov/0280.html
2015-11-28 21:37:44 +01:00
Xidorn Quan ddf58626b6 Bug 1040668 followup 2 - Disable failing reftests of text-emphasis on Windows XP.
--HG--
extra : source : fc26c406a2ac89b2231a73090fe3a4c5143678ee
2015-11-28 17:52:28 +11:00
Xidorn Quan c1cf44ece1 Bug 1040668 followup - Use monospace for text-emphasis reftests. rs=dbaron on a CLOSED TREE
--HG--
extra : source : 895936df08042b4ac5ceb6092212991fb4534e14
extra : amend_source : 3818efb3ae1da6c12415618e08b9691af80d93c7
2015-11-28 15:24:45 +11:00
Xidorn Quan 82da677403 Bug 1040668 part 16 - Add reftests for text-emphasis. r=dbaron
--HG--
extra : source : 1e80db82eba47cbdd8c433535b6a72c4f86b6ee2
2015-11-28 11:56:33 +11:00
Xidorn Quan 2917ce080e Bug 1040668 part 15 - Make the default value of text-emphasis-position aware of the language. r=dbaron
--HG--
extra : source : a4618d9f75ddcb7912ee5088d05842c3a4881f35
2015-11-28 11:56:33 +11:00
Xidorn Quan b96f561251 Bug 1040668 part 14 - Add helper function nsStyleUtil::MatchesLanguagePrefix for doing simple language matching. r=dbaron
--HG--
extra : source : b9249b9e2e95cca73c7b3637a58cb1ba3a39596a
2015-11-28 11:56:33 +11:00
Xidorn Quan ee559c1cab Bug 1040668 part 13 - Move first part of nsStyleFont::GetLanguage to nsPresContext::GetContentLanguage. r=dbaron
--HG--
extra : source : 2878e5e63e111995b4a67cd72b0df5a5a2b6531f
2015-11-28 11:56:33 +11:00
Xidorn Quan 95b800f4ce Bug 1040668 part 12 - Add line leadings for emphasis marks if necessary. r=dholbert
--HG--
extra : source : cb34c48bff0ccf4024385d392dc58bc1f672ea23
2015-11-28 11:56:33 +11:00
Xidorn Quan 20e40d505a Bug 1040668 part 11 - Move line leadings adjusting code into a separate function in nsLineLayout. r=dholbert
--HG--
extra : source : f4d53f54b2e925eef8da6c6749497888527057bb
2015-11-28 11:56:33 +11:00
Xidorn Quan 6fdb9fbeaa Bug 1040668 part 10 - Implement emphasis mark rendering. r=jfkthame
--HG--
extra : source : 1c53ccbaece3931ffe1da5610977e92fcce5f3f6
2015-11-28 11:56:33 +11:00
Xidorn Quan 72495f58ae Bug 1040668 part 9 - Compute overflow from text-shadow after text decorations. r=dbaron
--HG--
extra : source : 6827c7ef262e47cd42fea6b1a90e09883a7d24dc
2015-11-28 11:56:33 +11:00
Xidorn Quan 376cdf821b Bug 1040668 part 8 - Setup text emphasis for text run. r=jfkthame
--HG--
extra : source : 4f5398b5953c0cf4d57ed0fce5788f1430a5b05d
2015-11-28 11:56:33 +11:00
Xidorn Quan e33deb9306 Bug 1040668 part 2 - Parse and compute text emphasis properties. r=dbaron
--HG--
extra : source : 354f4bd8c87646dfbe0a307e0fa140c630dbdb89
2015-11-28 11:56:33 +11:00
Xidorn Quan 89afbd222b Bug 1040668 part 1 - Avoid queuing transition event for disabled properties. r=dbaron
--HG--
extra : source : ea873adbcd363563dd21b22825f950d29ba49cbf
2015-11-28 11:56:33 +11:00
Daniel Holbert b815ec9014 Bug 1227377: Change ImageRequest::mRequests hashtable to use more specific type in its key (s/nsISupports/nsIDocument/). r=khuey 2015-11-27 14:54:47 -08:00