48384 Commits

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